What problem does it solve?
This Skill eliminates the risk of low-quality, incomplete test coverage (including line-only metrics, missing branch coverage, and assertion-free tests) slipping into production, which commonly leads to undetected bugs in high-stakes code paths like payment processing, authentication, and data validation.
Core Features & Use Cases
- Cross-format coverage parsing: Supports 10+ coverage report formats (LCOV, Cobertura, Istanbul JSON, JaCoCo, Go coverage, etc.) across all major programming languages.
- Multi-metric threshold enforcement: Enforces branch, diff (patch), and critical-path coverage thresholds (not just line coverage) tailored to project type (greenfield, mature, legacy, library, etc.).
- Merge gating and quality validation: Blocks merges when coverage thresholds are missed, pairs coverage data with mutation testing results to validate test assertion quality, and produces cited evidence for all uncovered critical paths. Use cases include PR review for SaaS products, enforcing test standards for AI-generated code, and auditing legacy codebases for coverage blind spots.
Quick Start
Use the coverage-enforcer skill to analyze your project's latest coverage report, enforce branch and diff coverage thresholds for new code, and generate a merge approval or block decision with specific evidence for any uncovered critical paths.