Test Gap Finder
Combine coverage data with mutation-testing survivors to produce a ranked list of untested behaviors — the ones most likely to ship bugs.
🧠 Why it works
Line coverage overstates quality — a test can execute a line without asserting on its result, leaving a mutation-survivor that proves the behavior is untested. Combining the two datasets reveals the gap: high execution coverage plus high mutation survival equals 'we run this code but don't check the result.' That is the highest-ROI gap to close.
⚙️ How it works
- Ingest coverage report (lcov, cobertura, or similar) and mutation report (stryker, mutmut, pitest). 2. For each file, compute per-line (executed, mutant_killed, mutant_survived). 3. Rank lines by (high-execute, low-kill) — those are 'covered but untested.' 4. Cluster nearby surviving mutants into 'behaviors' using AST proximity. 5. For each behavior, prompt the LLM for a plain-English description of what the test would assert, using the surrounding code as context. 6. Emit a prioritized markdown report grouped by file, ordered by mutant survival count.
Description
Consumes a coverage report plus a mutation-testing run and emits a ranked list of code paths that are nominally 'covered' but have weak or no assertions. Each gap entry includes the file, the exact uncovered behavior, and a suggested test case description (not generated code — just the description, to avoid overfitting).
Install this skill
A Claude skill is a skill.md file with YAML frontmatter and a markdown body.
Drop the file into your tool of choice — or pick a different format if you use Cursor, Windsurf, Copilot, or something else.
mkdir -p ~/.claude/skills/test-gap-finder \
&& curl -L https://aidiveforge.com/skill/test-gap-finder.skill-md \
-o ~/.claude/skills/test-gap-finder/skill.md
Save to ~/.claude/skills/test-gap-finder/skill.md
Recommended Use
Sign in to suggestTools and workflow packs this skill pairs well with. Forge picks are auto-generated from category + capability signals; Community picks are added by people who've used the pairing.
Forge Auto-recommended matches
Workflow packs
-
Podcast Production Automation post 31%
Capture, transcribe, edit, and distribute podcast episodes with automatic audio cleanup, timestamped transcripts, and multi-platform preparation—reducing manual editing from 5 hours to 1 hour per episode.
Why: caps 0/0 · io-match · name-mention
-
Multilingual Content Localization post 31%
Convert English content into multiple languages with culturally adapted audio and subtitled videos. Reach global audiences in 2-3 hours instead of weeks of manual translation.
Why: caps 0/0 · io-match · name-mention
Report compatibility
Tell the community which tool you used this skill with, and whether it worked.
Suggest a pairing
Recommend a tool or workflow pack that this skill works well with. Up to 5 recommendations per day.