Skills

Coverage Gaps

Find the untested code paths that actually matter, not just the coverage percentage.

Install

npx skills add Archive228/loopkit --skill coverage-gaps -g -a claude-code -y
Repository
Archive228/loopkit756
Category
Testing
Updated
4mo ago
License
MIT
Context cost
Lightabout 150 tokens
Runs scripts
No, instructions only

What it does

Find the untested code paths that actually matter, not just the coverage percentage. Use after adding tests.

Coverage Gaps

Coverage % is a vanity metric. Hunt the gaps that bite:

  • Error paths, the 500, the timeout, the empty/null input, the malformed payload. Almost always untested.
  • Boundaries, 0, 1, max, off-by-one, empty collection.
  • Branches, every if/else and catch exercised, not just the happy line.
  • Concurrency / order, anything stateful tested in isolation AND in sequence. Skip tests that assert a constructor sets a property, worthless. Test behavior, not implementation. Output: the 3-5 highest-risk untested paths, ranked by blast radius, with the test to add.

More in Testing