CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

playwright

Playwright E2E testing patterns. Trigger: When writing E2E tests - Page Objects, selectors, MCP workflow.

58

Quality

73%

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 ./curated/playwright/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

71%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.

The body is highly actionable — complete executable TypeScript patterns, exact naming rules, selector priorities, and concrete commands — and the MCP-first workflow is clearly sequenced. Weaknesses are verbosity from a few padded sections and a monolithic single-file layout that inlines reference-grade material (documentation template, refactoring guidelines) that belongs in separate files. Moving detail into references/ and adding a post-creation run-and-fix verification step would raise the two middle dimensions.

Suggestions

Move the {page-name}.md documentation template, refactoring guidelines, and command reference into references/ files (e.g., references/test-docs-template.md, references/refactoring.md), keeping SKILL.md as a concise overview with clearly signaled one-level-deep links.

Add a verification step to the workflow: after creating tests, run 'npx playwright test tests/{page-name}/' and fix failures before declaring done — this adds the missing feedback loop.

Trim the 'Why This Matters' bullet list and the duplicated Before/After waitForNotification code to cut padding without losing the rationale.

DimensionReasoningScore

Conciseness

The body is mostly lean pattern-and-code guidance with no explaining of concepts Claude already knows, but the 'Why This Matters' bullet list, the duplicated waitForNotification code in the Before/After refactoring demo, and the trailing 'Keywords' line are padding that could be tightened. This sits between anchor 3 ('could be tightened') and anchor 4, noticeably below the midpoint.

3 / 5

Actionability

The guidance is fully executable: complete TypeScript BasePage/LoginPage implementations, a runnable tagged test, exact file-naming rules with right/wrong examples, a scope-detection table, and copy-paste-ready 'npx playwright test' commands. This matches the 'Fully executable; copy-paste ready' anchor.

5 / 5

Workflow Clarity

The MCP workflow gives a clear 7-step explore-before-code sequence with snapshot-based selector verification and an explicit fallback when MCP is unavailable. It falls short of a 5 because there is no run-the-tests/verify feedback loop after test creation to catch and fix failures.

4 / 5

Progressive Disclosure

Sections are clearly headed and well ordered, but the ~310-line body inlines everything (full Page Object template, refactoring guidelines, test-documentation template, command reference) in a single SKILL.md with no one-level-deep reference files, matching 'content that should be separate is inline'. It is not a 2 because structure and navigation within the file are good.

3 / 5

Total

15

/

20

Passed

Description

61%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.

The description has an explicit trigger clause and a distinct Playwright E2E niche, but the capability statement is a bare domain label with no concrete actions, weakening specificity. Rewriting it to enumerate what the skill provides (e.g., structuring Page Object Models, choosing selectors, writing tagged spec files) would lift both specificity and completeness.

Suggestions

Replace 'Playwright E2E testing patterns' with a list of concrete capabilities, e.g., 'Structure Playwright E2E tests using Page Object Models, choose resilient selectors, and tag and document test suites.'

Expand trigger terms with common synonyms such as 'end-to-end tests', 'browser tests', 'spec files', or '.spec.ts' so the skill surfaces for the phrasings users actually type.

State the MCP-first exploration workflow as a capability ('Explore pages via Playwright MCP before writing tests') so the 'what' matches the skill's core value.

DimensionReasoningScore

Specificity

The description names the domain ("Playwright E2E testing patterns") and related topics ("Page Objects, selectors, MCP workflow") but lists no concrete actions or capabilities, matching the anchor 'Names the domain but actions are minimal or generic'. It is not a 3 because it never states what the skill actually does (e.g., 'create', 'structure', 'generate' tests).

2 / 5

Completeness

Both clauses are present: a what ("Playwright E2E testing patterns") and an explicit when ("Trigger: When writing E2E tests"), so the missing-trigger cap of 3 does not apply. It is not a 5 because the 'what' is a terse domain label rather than a concrete list of capabilities.

4 / 5

Trigger Term Quality

"E2E tests", "Playwright", "Page Objects", and "selectors" are terms users would naturally say, but common variations like "end-to-end testing", "browser testing", or "spec files" are missing, matching the 'Some relevant keywords but missing common variations or synonyms' anchor.

3 / 5

Distinctiveness Conflict Risk

"Playwright E2E testing" is a clear niche with distinct triggers (E2E test authoring, page objects, selectors) and minimal overlap risk with unrelated skills, matching the top anchor.

5 / 5

Total

14

/

20

Passed

Validation

100%

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

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

Gentleman-Programming/Gentleman-Skills

Path

curated/playwright/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.