Generates code coverage reports for your Playwright tests, showing you exactly which parts of your application are being exercised during test runs. You'd reach for this when you need to identify untested code paths or justify your testing investment to stakeholders who love metrics. The skill handles both v8 coverage collection and Istanbul-style instrumentation, depending on what you're testing. It's genuinely useful for catching blind spots in your test suite, though don't fall into the trap of chasing 100% coverage at the expense of meaningful test scenarios. Works best as a periodic checkup rather than a gate on every commit.

skills.sh installs
1.7K
GitHub stars
29.5K
last updated
Aug 21, 2026

Install

$ npx -y skills add alirezarezvani/claude-skills --skill coverage --agent claude-code

Installs into .claude/skills of the current project.

Files

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

Sponsors

Details

Repository
github.com/alirezarezvani/claude-skills
Category
Testing & QA
First seen
Apr 16, 2026

More from alirezarezvani/claude-skills

All 267
1adobe avatartesting-blocksadobe/skillsUse this when you have made AEM Edge Delivery Services code changes to blocks, scripts, or styles and need to validate them before opening a pull request. Cover1.6Kskills.sh installs
2madteacher avatarflutter-testingmadteacher/mad-agents-skillsWrite, fix, review, debug, and validate Flutter tests for apps, packages, and plugins. Use when adding unit tests, widget tests, integration tests, MethodChanne1.5Kskills.sh installs
3cap-go avatarcapacitor-testingcap-go/capgo-skillsComplete testing guide for Capacitor apps covering unit tests, integration tests, E2E tests, and native testing. Includes Jest, Vitest, Playwright, Appium, and 1.4Kskills.sh installs
4davila7 avatarsenior-qadavila7/claude-code-templatesComprehensive QA and testing skill for quality assurance, test automation, and testing strategies for ReactJS, NextJS, NodeJS applications. Includes test suite 1.2Kskills.sh installs
5alirezarezvani avatarsenior-qaalirezarezvani/claude-skillsGenerates unit tests, integration tests, and E2E tests for React/Next.js applications. Scans components to create Jest + React Testing Library test stubs, analy1.2Kskills.sh installs
6pproenca avatarplaywrightpproenca/dot-skillsPlaywright testing best practices for Next.js applications (formerly test-playwright). This skill should be used when writing, reviewing, or debugging E2E tests1.2Kskills.sh installs