Skip to content
Agent Orchestration
Skill

/coverage-gaps

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

BOOST
From plugin
loopkit
75553 skills1 agent4 commands2 MCP
Install
$ npx -y skills add Archive228/loopkit --skill coverage-gaps --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/coverage-gaps

Context preview

The summary Claude sees to decide when to auto-load this skill.

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

SKILL.md

coverage-gaps.SKILL.md
name: coverage-gaps
description: Find the untested code paths that actually matter, not just the coverage percentage. Use after adding tests.
when_to_use: "improve coverage", after writing tests, pre-merge quality check

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.

Ships withloopkit

33 battle-tested skills + minimal .claude harness for any coding agent (Claude Code, Cursor, Codex, Gemini CLI).

Get the whole plugin

Other skills on loopkit.