Automated Test Coverage Optimizer
Analyzes codebase test coverage and generates structured implementation plans to reach specific percentage thresholds.
The plan-add-test-coverage skill is a governance-focused utility designed to systematically improve software quality by identifying and filling gaps in test suites. It automatically detects existing coverage configurations, executes reports to find the most vulnerable files, and produces a detailed technical brief including specific uncovered lines and branch logic. By delegating the final execution to Claude's planning engine, it streamlines the process of meeting strict engineering standards and ensuring robust application reliability through automated enforcement.
Key Features
01Detailed line-level and branch-level gap analysis
021 GitHub stars
03Automatic coverage configuration detection for Jest, Vitest, and NYC
04Identification of the top 20 files with the lowest test coverage
05Automated brief generation for targeted test implementation
06Seamless integration with /plan-execute for autonomous test writing
Use Cases
01Scaling test suites to reach specific coverage targets (e.g., 80% or 90%) during migration or refactoring
02Meeting strict code quality governance requirements for regulated industries
03Reducing technical debt by systematically targeting the least-tested areas of a codebase