coverage-enforcer
CommunityGate merges on coverage and critical path test quality
System Documentation
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.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: coverage-enforcer Download link: https://github.com/robotijn/ctoc/archive/main.zip#coverage-enforcer Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 537,000+ vetted skills library on demand.