What problem does it solve?
Many codebases suffer from low or drifting test coverage and brittle manual test-writing workflows; this Skill automates the RED-GREEN-REFACTOR loop to reliably increase measurable coverage and prevent regressions while minimizing human oversight.
Core Features & Use Cases
- Baseline measurement: detects test framework and runs coverage to establish a starting percentage across JS/Python/Go projects.
- Iterative TDD loop: identifies uncovered lines, enforces failing-first tests, makes minimal code changes to pass, refactors, and commits per iteration.
- Safety and recovery: enforces discard/keep rules, automatic revert on unrelated breaks, stop conditions, and detailed TSV logging for auditability.
- Use case: autonomously raise unit test coverage from 60% to the team's target (default 80%) by adding small, focused tests and committing only validated improvements.
Quick Start
Run the test skill to iteratively add failing-first tests, make minimal fixes, and measure coverage until the configured target is reached.