/pw:coveragefrom pw
Maps app routes, components, API endpoints, and user flows against existing Playwright specs to surface untested areas and prioritized coverage gaps.
Ships in pw. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Map all testable surfaces in the application and identify what's tested vs. what's missing.
Use the Explore subagent to catalog:
Routes/Pages:
app/, React Router config, Vue Router, etc.)Components:
API Endpoints:
User Flows:
Scan all *.spec.ts / *.spec.js files:
page.goto() calls)## Coverage Matrix
| Area | Route | Tests | Status |
|---|---|---|---|
| Auth | /login | 5 | ✅ Covered |
| Auth | /register | 0 | ❌ Missing |
| Auth | /forgot-password | 0 | ❌ Missing |
| Dashboard | /dashboard | 3 | ⚠️ Partial (no error states) |
| Settings | /settings | 0 | ❌ Missing |
| Checkout | /checkout | 8 | ✅ Covered |
Rank uncovered areas by business impact:
For each gap, recommend:
templates/ to use## Recommended Test Plan
### Priority 1: Critical
1. /register (4 tests) — use auth/registration template — quick
2. /forgot-password (3 tests) — use auth/password-reset template — quick
### Priority 2: High
3. /settings (4 tests) — use settings/ templates — medium
4. Dashboard error states (2 tests) — use dashboard/data-loading template — quick
Ask user: "Generate tests for the top N gaps? [Yes/No/Pick specific]"
If yes, invoke /pw:generate for each gap with the recommended template.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub alirezarezvani/claude-skills --plugin pw10 skills in this plugin
/browserstackUse when running Playwright tests on BrowserStack or across a browser matrix ('browserstack', 'cross-browser', 'test on safari or firefox', 'browser compatibility')./fixDiagnose and fix a failing or flaky Playwright test. Use whenever a test fails, passes only sometimes, breaks intermittently or needs fixing./generateUse when asked to write Playwright or e2e tests for a page, component or feature ('write tests', 'add tests for', 'e2e test')./migrateUse when moving tests from Cypress or Selenium to Playwright ('migrate tests', 'convert tests', 'replace selenium')./pwUse for any Playwright or end-to-end browser testing work: writing tests, fixing flaky ones, migrating from Cypress or Selenium, CI setup, TestRail or BrowserStack. Routes to the matching /pw sub-skill and its 55 templates./pw-initUse when setting up Playwright in a project ('set up playwright', 'add e2e tests', 'configure playwright', 'init playwright').Other plugins' skills for the same job