From pw
Analyzes test coverage gaps by mapping application surfaces (routes, components, APIs) and existing tests, then generates a prioritized gap list and optional test generation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/pw:coverageThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Map all testable surfaces in the application and identify what's tested vs. what's missing.
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.
npx claudepluginhub tapanshah/claude-skills --plugin playwright-pro5plugins reuse this skill
First indexed Mar 9, 2026
Analyzes test coverage gaps by mapping application surfaces (routes, components, APIs) and existing tests, then generates a prioritized gap list and optional test generation.
Assesses three-layer test coverage (unit/integration/E2E) by mapping source code to tests, identifying gaps, and recommending new tests.
Analyzes test coverage reports (lcov, cobertura, istanbul) to identify gaps in lines/branches/functions, map to requirements, recommend tests, and track trends.