# Coverage Loop

Iteratively improve Fallow Rust test coverage with cargo-llvm-cov, prioritizing...

- Repository: https://github.com/fallow-rs/fallow (5289 stars)
- Category: Testing
- License: MIT
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add fallow-rs/fallow --skill coverage-loop -g -a claude-code -y`
Codex: `npx skills add fallow-rs/fallow --skill coverage-loop -g -a codex -y`
Cursor: `npx skills add fallow-rs/fallow --skill coverage-loop -g -a cursor -y`
Gemini CLI: `npx skills add fallow-rs/fallow --skill coverage-loop -g -a gemini-cli -y`

## Description

Iteratively improve Fallow Rust test coverage with cargo-llvm-cov, prioritizing meaningful untested behavior and preserving runtime correctness.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# 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.

