CtrlK
BlogDocsLog inGet started
Tessl Logo

testland/print-stylesheet-tests

Test CSS print-media output via Playwright `page.emulateMedia({ media: 'print' })` + `page.pdf()` - `@page` rule (size, margin, orphans, widows), `@page :first / :left / :right` pseudo-classes, `break-before/after/inside`, `@media print` selector activation, page-break suppression on headings. Use when an app exposes a Print button or a print stylesheet exists but is untested, and users report the printed or PDF copy breaking in the wrong places while the on-screen page looks fine.

74

Quality

93%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

Overview
Quality
Evals
Security
Files

Quality

Content

85%

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A well-structured, lean testing skill with clear sequencing and good progressive disclosure via a real reference file. Its main weakness is actionability: the PDF-inspection helper functions used in assertions are undefined, leaving examples short of copy-paste ready.

Suggestions

Define or provide the PDF-inspection helpers (getPdfPageCount, extractTextPerPage, renderPdfPage, getPdfMargins, hasBrandColorAtTop) — or point to a concrete library/sister skill implementing them — so the assertion code is fully executable rather than placeholder pseudocode.

Add a short note naming the PDF inspection library used (e.g. pdf-parse / pdf-lib) next to the first helper call so readers can reproduce the verification steps.

Consider a one-line 'verify your helper exists' checkpoint in the worked example to make the fix→re-run loop fully self-contained.

DimensionReasoningScore

Conciseness

The body is lean and assumes Claude's competence — it never explains basic concepts (CSS, Playwright, PDFs) and its prose covers non-obvious defaults and precedence rules rather than fluff. It is not the level below because there is no padded 'good library' style opinion text.

3 / 3

Actionability

The Playwright calls (emulateMedia, page.pdf, locator assertions) are executable, but the verification helpers used in assertions (getPdfPageCount, extractTextPerPage, renderPdfPage, getPdfMargins) are undefined placeholders, so examples are not fully copy-paste ready. It is not a 1 because real, specific Playwright code is present; it is not a 3 because the core PDF-inspection logic is missing.

2 / 3

Workflow Clarity

A clear 7-step 'How to use' sequence is given, each step being an assertion that acts as validation, and the worked example demonstrates an explicit diagnose→fix→re-run feedback loop. It is not a 2 because checkpoints are explicit via the assertions and the worked-example loop.

3 / 3

Progressive Disclosure

The verified references/page-geometry.md is referenced one level deep and clearly signaled from multiple sections, with advanced @page geometry appropriately split out of the main body. It is not a 2 because navigation is explicit and content is well split, not inline-bloated.

3 / 3

Total

11

/

12

Passed

Description

100%

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong, third-person description that names concrete capabilities, provides natural trigger terms, and includes an explicit 'Use when' clause. It is distinctive and unlikely to conflict with sibling skills.

DimensionReasoningScore

Specificity

Lists multiple concrete actions such as `page.emulateMedia({ media: 'print' })` + `page.pdf()`, `@page` rule (size, margin, orphans, widows), and `break-before/after/inside` — matching the 'lists multiple specific concrete actions' anchor.

3 / 3

Completeness

Explicitly states what it does ('Test CSS print-media output via Playwright...') and gives an explicit 'Use when...' trigger clause answering both what and when.

3 / 3

Trigger Term Quality

Includes natural user phrases like 'Print button', 'print stylesheet', and 'printed or PDF copy breaking in the wrong places while the on-screen page looks fine' that a user would actually say, beyond just technical jargon.

3 / 3

Distinctiveness Conflict Risk

Occupies a clear niche (Playwright CSS print-media testing) with distinct triggers and explicit differentiation from sister skills, making wrong-skill activation unlikely.

3 / 3

Total

12

/

12

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_version

'metadata.version' is missing

Warning

Total

15

/

16

Passed

Reviewed

Table of Contents