Skip to content
ruvnet avatar

Test Gaps

Detects untested code paths and suggests test cases to write next, via CLI or the testgaps worker.

CCM score
57 of 100
skills.sh installs
755
GitHub stars
82.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers coverage-gap detection, per-task test routing, and suggested test targets for a given source path
  • Includes hooks coverage-gaps (table output, --threshold, --critical-only), coverage-route, and coverage-suggest commands
  • Accepts a --path and --threshold argument, and can run continuously through /loop with the testgaps worker
  • Designed for checking what still needs tests after a feature is added or when asked about untested code

Install

$ npx -y skills add ruvnet/ruflo --skill test-gaps -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Find test coverage gaps via CLI:

npx @claude-flow/cli@latest hooks coverage-gaps --format table --threshold 80   # add --critical-only for the worst gaps (there is no --limit)
npx @claude-flow/cli@latest hooks coverage-route --task 'add auth tests'
npx @claude-flow/cli@latest hooks coverage-suggest --path src/

Or dispatch the testgaps worker via MCP: mcp__plugin_ruflo-core_ruflo__hooks_worker-dispatch({ trigger: "testgaps" })

For continuous detection, use /loop with the loop-worker skill targeting the testgaps worker.

Details

Repository
github.com/ruvnet/ruflo
Categories
Testing & QA, Code Review & Quality
First seen
Jun 3, 2026

Questions

What does the test-gaps skill do?

test-gaps detects missing test coverage and generates test suggestions. It runs coverage-gap and coverage-suggest hooks through the Ruflo CLI, so Claude Code can report untested code and propose what tests to write next.

When should I use test-gaps?

Use test-gaps when you ask about coverage gaps, untested code or what tests to write next. It also fits after you add a feature, to find what still needs tests in that code.

How do I install the test-gaps skill?

Run npx -y skills add ruvnet/ruflo --skill test-gaps -y in your project. That adds test-gaps so the agent can find untested code and suggest tests for it.

Where does test-gaps stand in the Testing & QA category?

test-gaps sits in the Testing & QA category alongside tdd, migrate-to-shoehorn, test-driven-development, webapp-testing and break-ui. Its distinct focus is finding coverage gaps and suggesting tests from the Ruflo coverage hooks.

More from ruvnet/ruflo

All 236

Similar to Test Gaps

More Testing & QA