Skip to main content
AI/MLruvnet

test-gaps

Detect missing test coverage and generate test suggestions

Stars
56,726
Source
ruvnet/claude-flow
Updated
2026-05-31
Slug
ruvnet--claude-flow--test-gaps
View on GitHubRaw SKILL.md

// install — copy + paste into any project

mkdir -p .claude/skills && curl -fsSL https://raw.githubusercontent.com/ruvnet/claude-flow/HEAD/plugins/ruflo-testgen/skills/test-gaps/SKILL.md -o .claude/skills/test-gaps.md

Drops the SKILL.md into .claude/skills/test-gaps.md. Works with Claude Code, Cursor, and any agent that loads SKILL.md files from .claude/skills/.

Find test coverage gaps via CLI:

npx @claude-flow/cli@latest hooks coverage-gaps --format table --limit 20
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__claude-flow__hooks_worker-dispatch({ trigger: "testgaps" })

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