What problem does it solve?
Untested code paths are a major source of bugs and production incidents. This Skill automatically generates comprehensive test coverage reports, highlighting areas of the codebase that lack sufficient testing, helping you prevent regressions and improve software reliability, so you can deploy with confidence.
Core Features & Use Cases
- Multi-Language Coverage: Supports Python (pytest-cov), JavaScript (Jest), Go (go test -cover), and Java (JaCoCo).
- Detailed Reports: Provides overall coverage percentages, per-file breakdowns, and lists of uncovered lines and critical paths.
- Threshold Flagging: Automatically identifies files and sections of code that fall below predefined coverage thresholds.
- Use Case: Before merging a pull request, run this Skill to verify that new features and bug fixes have adequate test coverage. It helps maintain high code quality standards and ensures that critical business logic is thoroughly tested.
Quick Start
To generate a test coverage report for the current project:
bash .claude/skills/test-coverage/coverage.sh