Agent skill · data analytics · alirezarezvani
coverage
Find what is not tested: map untested pages and flows and coverage gaps. Use whenever the user asks what needs tests, about missing tests or test coverage.
Why this skill is useful
Adds a detailed process for identifying and prioritizing test coverage gaps, which the AI wouldn't reliably generate on its own.
What it needs
About 2k tokens when loaded. Last updated 2026-08-05. 23,939 stars on the source repository.
What this skill does
Analyze Test Coverage Gaps Map all testable surfaces in the application and identify what's tested vs. what's missing. Steps 1. Map Application Surface Use the Explore subagent to catalog: Routes/Pages: Scan route definitions (Next.js app/, React Router config, Vue Router, etc.) List all user-facing pages with their paths Components: Identify interactive components (forms, modals, dropdowns, tables) Note components with complex state logic API Endpoints: Scan API route files or backend controllers List all endpoints with their methods User Flows: Identify critical paths: auth, checkout, onboarding, core features Map multi-step workflows 2. Map Existing Tests Scan all .spec.ts / .spec.js files: Extract which pages/routes are covered (by page.goto() calls) Extract which components are tested (by locator usage) Extract which API endpoints are mocked or hit Count tests per area 3. Generate Coverage Matrix 4. Prioritize Gaps Rank uncovered areas by business impact: 1. Critical — auth, payment, core features → test first 2. High — user-facing CRUD, search, navigation 3. Medium — settings, preferences, edge cases 4. Low — static pages, about, terms 5. Suggest Test Plan For each gap, recommend: Number of tests needed Which template from templates/ to use Estimated effort (quick/medium/complex) 6. Auto-Generate (Optional) 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. Output Coverage matrix (table format) Coverage percentage estimate Prioritized gap list with effort estimates Option to auto-generate missing tests
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills alirezarezvani/coverage--44f3db