coverage
What it does
This skill makes the agent list the parts of your app and compare them with the tests you already have. It is for developers and QA people who want to know where testing is missing.
When to use it
- βWhen you want to know which pages or features have no tests.
- βWhen you are planning what to test next and want the gaps ranked.
- βWhen someone asks you for a test coverage report.
Skill link
https://github.com/alirezarezvani/claude-skills/blob/main/engineering-team/playwright-pro/skills/coverage/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βShow me which parts of my app have no tests yet, starting with the most important ones.β
5 new skills a week. 1 minute to read.
How it works
The agent maps your routes, components and API endpoints, then reads your existing test files to see what they cover. It builds a table of covered and missing areas and ranks the gaps by business impact.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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
## 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 |
4. Prioritize Gaps
Rank uncovered areas by business impact:
- Critical β auth, payment, core features β test first
- High β user-facing CRUD, search, navigation
- Medium β settings, preferences, edge cases
- 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)
## 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
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
FAQ
Does it write the missing tests too?
No. It finds and ranks the gaps. Writing the tests is a separate step.
Which kinds of apps does it understand?
It looks at common routing setups such as Next.js, React Router and Vue Router, along with Playwright test files.
What does the coverage table show?
Each area gets a status, such as covered, partial or missing, along with the number of tests it has.
Details
Original description by the author
Use when asked what's not tested or for test coverage gaps ('test coverage', 'coverage gaps', 'missing tests', 'what needs testing'). Maps untested pages and flows.
Popularity
- GitHub stars
- 29k
- Ranking position
- #9473
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
agent-launcher-orchestrator
29kHelps your agent plan, build, test and schedule a Claude managed agent in your own account, step by step, starting from one clear goal.
grade-iterate
29kLets your agent grade a managed AI agent's work against a rubric and improve it in a fixed number of rounds, so it never loops forever.
interview
29kLets your agent interview you about an AI agent idea and turn your answers into a simple build plan before anything is launched.
run-without-you
29kHelps your agent set up a managed AI agent to run on a schedule or when an event happens, with the cron timing checked before launch.
Similar skills
test-driven-development
311kTeaches your agent to write a failing test first, watch it fail, then write the smallest code that passes, before building any feature or fix.
verification-before-completion
311kTeaches your agent to run real checks and read their output before claiming that a task, fix, or build is complete or passing.
migrate-to-shoehorn
310kReplaces risky type casts in your test files with the shoehorn library, so tests can use partial data and still pass type checks.