70% Test Coverage Guard

0•

Ensures all new code changes meet a 70% test coverage threshold while verifying that the full test suite, linting, and compilation remain passing.

The Coverage 70 Tests skill is a robust quality assurance workflow designed for developers using Claude Code. It automates the tedious process of verifying new code changes by identifying modified files via Git, analyzing current test coverage, and generating meaningful tests to ensure that at least 70% of new logic is covered. Beyond simple coverage metrics, the skill acts as a comprehensive gatekeeper by executing the full project test suite, running linter checks, and verifying compilation, ensuring that every change is stable, tested, and compliant with project standards before it is committed.

Key Features

01Performs full regression testing by running the entire project test suite.
02Enforces code quality by running and fixing linting and compilation errors.
03Provides detailed reports comparing before-and-after coverage metrics for transparency.
040 GitHub stars
05Automatically identifies staged and unstaged Git changes for targeted testing.
06Generates meaningful unit tests to achieve >70% coverage on modified lines and branches.

Use Cases

01Ensuring new features or bug fixes meet strict internal coverage requirements before submission.
02Automating the 'test-lint-compile' cycle to catch regressions early in the development process.
03Improving the maintainability of legacy code by automatically adding tests to recently modified files.