coverage-loop
Iteratively improve Fallow Rust test coverage with cargo-llvm-cov, prioritizing meaningful untested behavior and preserving runtime correctness.
Install
Copy this folder into your Claude Code project (needs Node.js):
npx degit fallow-rs/fallow/.agents/skills/coverage-loop .claude/skills/coverage-loopOr install it for every project:
npx degit fallow-rs/fallow/.agents/skills/coverage-loop ~/.claude/skills/coverage-loopFile content
Made by its original authors and shared under MIT. We show it unchanged, with credit and a link to the source. Source ↗
--- name: coverage-loop description: Iteratively improve Fallow Rust test coverage with cargo-llvm-cov, prioritizing meaningful untested behavior and preserving runtime correctness. --- # Coverage loop 1. Capture a coverage baseline with the repository-supported command. 2. Select uncovered behavior by risk, not by easiest lines. 3. Add behavior-focused tests that survive refactors. 4. Re-run targeted tests and the same coverage command. 5. Keep only tests that improve meaningful coverage or lock a real invariant. 6. Repeat until the selected risk area is covered or remaining gaps require a separate design change. 7. Run `review`. Do not add assertions that merely execute code without checking behavior.