CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

playwright-testing-skill

Set up Playwright 1.49+ with TypeScript for E2E testing using page object model, fixtures, test.describe/test blocks, assertions, selectors, network mocking, CI configuration, and trace viewer.

Quality

78%

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

Fix and improve this skill with Tessl

tessl review fix ./testing/playwright-testing-skill/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

72%Weight 40%Scale 1-5

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

A highly actionable, code-first skill body with complete executable examples for the full Playwright E2E stack. The weaknesses are the implicit rather than explicit setup workflow (no validation checkpoint after scaffolding) and the monolithic single-file structure where reference material is inlined instead of split out.

Suggestions

Add an explicit ordered setup workflow ending with a validation step, e.g. '1. Run npm init playwright@latest 2. Replace playwright.config.ts 3. Add auth setup, pages, fixtures 4. Run npx playwright test to verify the scaffold works before writing custom specs'.

Move the page object class examples, Integration Notes, and Test Database Setup into reference files (e.g. references/pages.md, references/ci.md, references/test-db.md) and link them from a concise overview section.

Trim Key Conventions entries that restate Playwright defaults Claude already knows (test.describe grouping, auto-waiting assertions), keeping only project-specific decisions like the data-testid-first selector policy and storageState auth strategy.

DimensionReasoningScore

Conciseness

The body is lean and code-dominant with almost no concept-explanation padding — scaffold commands, complete config, and pattern templates earn their tokens. Minor trimmable content remains: the Key Conventions section restates Playwright basics Claude already knows ('Use test.describe for grouping related tests', 'Use expect(locator) auto-waiting assertions'), and the header blockquote/prerequisites duplicate the frontmatter, so it sits at level 4 rather than 5.

4 / 5

Actionability

Everything is executable and copy-paste ready: 'npm init playwright@latest', a complete defineConfig, full page object classes, fixture extension, working spec files, route-mocking snippets, and a catalog of real CLI commands ('npx playwright test --project=chromium', 'npx playwright show-trace trace.zip'), matching the fully-executable level-5 anchor.

5 / 5

Workflow Clarity

A sequence is implied by section order (scaffold → config → auth setup → page objects → fixtures → specs → run), but no explicit step ordering exists and validation checkpoints are missing — there is no 'run the tests to verify the setup' step after scaffolding. This matches the level-3 anchor of sequence present but checkpoints missing or implicit; it is not level 4 because no explicit verification steps are stated anywhere.

3 / 5

Progressive Disclosure

Sections are well-organized with clear headers making the file navigable, but all 400+ lines are inlined in a single SKILL.md with no bundle files or references — page object examples, integration notes, and the test-database setup are content that could be split into separate reference files. This matches the level-3 anchor of some structure but content that should be separate is inline; it is not level 2 because the structure is clear and easy to navigate.

3 / 5

Total

15

/

20

Passed

Description

75%Weight 40%Scale 1-5

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 specific, distinctive description with strong trigger keywords and comprehensive action coverage. Its main weakness is the missing 'Use when...' clause, which leaves the activation context implicit and caps completeness.

Suggestions

Add an explicit 'when' clause, e.g. 'Use when setting up or writing Playwright or end-to-end tests, or when the user mentions E2E testing, browser tests, or test automation.'

Include common user phrasings like 'end-to-end tests', 'browser testing', and 'test automation' to broaden natural trigger coverage.

DimensionReasoningScore

Specificity

The description lists multiple specific concrete actions — 'Set up Playwright 1.49+ with TypeScript for E2E testing using page object model, fixtures, test.describe/test blocks, assertions, selectors, network mocking, CI configuration, and trace viewer' — giving comprehensive coverage of the skill's capabilities, matching the level-5 anchor of multiple specific concrete actions.

5 / 5

Completeness

The 'what' is clear and detailed, but there is no 'Use when...' clause or equivalent explicit trigger guidance, only a weak implication that it applies when setting up Playwright. Per the judging guidelines, a missing 'Use when...' clause caps completeness at 3.

3 / 5

Trigger Term Quality

Good keyword coverage with natural terms users would say ('Playwright', 'E2E testing', 'TypeScript', 'network mocking', 'CI configuration'), but common variations like 'end-to-end testing', 'browser automation', or 'test automation' are missing, placing it at the good-but-not-comprehensive level-4 anchor rather than level 5.

4 / 5

Distinctiveness Conflict Risk

'Playwright 1.49+ with TypeScript for E2E testing' carves out a clear niche with distinct triggers; the specific framework name makes it unlikely to fire for the wrong skill, matching the level-5 anchor of minimal conflict risk.

5 / 5

Total

17

/

20

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.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

15

/

16

Passed

Repository

achreftlili/deep-dev-skills

Path

testing/playwright-testing-skill/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.