CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

pw-init

Set up Playwright in a project. Use when user says "set up playwright", "add e2e tests", "configure playwright", "testing setup", "init playwright", or "add test infrastructure".

70

Quality

88%

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

The canonical home for this skill is pw-init in alirezarezvani/claude-skills

SKILL.md
Quality
Evals
Security

Quality

Content

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

An exemplary instructional skill body: fully executable artifacts, a clearly gated nine-step sequence with a verify-and-fix loop, and near-zero wasted tokens. The only structural refinement would be offloading the largest boilerplate (CI workflow, example spec) into reference files.

DimensionReasoningScore

Conciseness

The body is lean and almost entirely actionable artifacts — commands, a config template, an example spec, and CI yaml — with no padding and no explanation of concepts Claude already knows (it never explains what Playwright or e2e testing is). Framework adaptations are compressed to two-line deltas rather than repeated full configs, which is exactly the token-efficient move.

5 / 5

Actionability

Everything is copy-paste ready: install commands (both scaffolded and manual paths), a complete playwright.config.ts, a full runnable example spec, a complete GitHub Actions workflow, .gitignore entries, and npm scripts. Framework variations cover the common cases (Next.js, React/Vite, Vue/Nuxt, Angular, no-framework) with concrete values.

5 / 5

Workflow Clarity

Nine numbered steps in a coherent sequence, starting with detection (step 1 gates whether install runs in step 2) and ending with an explicit validation checkpoint plus error-recovery feedback loop: 'Run the example test... If it fails, diagnose and fix before completing.' This is non-destructive setup, so the destructive-operation cap does not apply.

5 / 5

Progressive Disclosure

Well-organized single-file skill with clear step sections and no bundle files, so navigation within the file is easy. Not 5: at ~190 lines, full deliverable artifacts like the complete CI workflow yaml and example test are borderline candidates for a references/ file, which would keep the main body as a tighter overview.

4 / 5

Total

19

/

20

Passed

Description

73%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 well-structured description with an exemplary explicit 'Use when...' trigger clause. Its main weakness is an underspecified 'what' — a single generic 'set up' verb that hides the skill's actual scope (config, structure, example tests, CI).

Suggestions

Expand the 'what' with the skill's concrete outputs, e.g. 'Set up Playwright in a project: detect the framework, generate playwright.config, folder structure, example test, and CI workflow.'

Add trigger synonyms users naturally say, such as 'end-to-end testing', 'browser tests', or 'playwright tests', to round out trigger coverage.

Consider qualifying the generic triggers ('add e2e tests', 'testing setup') with 'playwright' or 'e2e' context to reduce overlap with unit-test infrastructure skills.

DimensionReasoningScore

Specificity

The description names the domain ('Set up Playwright in a project') but the 'what' is a single generic action — it never mentions the concrete deliverables the skill actually produces (config generation, folder structure, example test, CI workflow). It sits between anchor 2 ('Names the domain but actions are minimal or generic') and anchor 3 (1-2 concrete actions); the one action stated is too generic to reach 3.

2 / 5

Completeness

Explicitly answers both questions: 'Set up Playwright in a project' states the what, and 'Use when user says [six quoted trigger phrases]' gives a fully explicit when with concrete trigger phrases — the exact pattern of the anchor-5 example. Not 4 because anchor 4 requires that 'when' could be more explicit, and here it cannot.

5 / 5

Trigger Term Quality

Six natural quoted phrases ('set up playwright', 'add e2e tests', 'configure playwright', 'testing setup', 'init playwright', 'add test infrastructure') that users would genuinely say, with good variation across setup/config/init verbs. Not 5 because common synonyms like 'end-to-end testing', 'browser testing', or 'playwright tests' are missing.

4 / 5

Distinctiveness Conflict Risk

Three of six triggers name Playwright explicitly, anchoring it to a clear niche. Not 5 because the other three triggers ('add e2e tests', 'testing setup', 'add test infrastructure') are generic and could overlap with other test-infrastructure skills (Jest, Vitest, Cypress setup). Not 3 because the explicit Playwright mentions keep the overlap minor and closely related.

4 / 5

Total

15

/

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

alirezarezvani/claude-skills

Path

.gemini/skills/pw-init/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.