test-gaps
What it does
This skill checks a project for missing test coverage and suggests tests to write. It is for developers who want to know which parts of their code still need tests.
When to use it
- ✓When you ask which parts of your code have no tests.
- ✓When you have just added a feature and want to know what still needs testing.
- ✓When you want a short list of the next tests to write.
Skill link
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-testgen/skills/test-gaps/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Which parts of my code are missing tests, and what should I test next?”
5 new skills a week. 1 minute to read.
How it works
It runs coverage checks against your project, reports the gaps, and gives suggestions for each one. You can set a coverage threshold and show only the worst gaps.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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.
FAQ
Does it write the test code for me?
It produces test suggestions for the gaps it finds, so you can decide what to build.
How do I check coverage against a target?
You can set a threshold, such as 80, and the report will flag the areas below it.
Can it check for gaps on a schedule?
The skill can be paired with a looping worker that checks for gaps again and again.
Details
Original description by the author
Detect missing test coverage and generate test suggestions. Use when the user asks about coverage gaps, untested code, or what tests to write next; also after adding a feature to find what still needs tests.
repo: ruvnet/ruflo
Popularity
- GitHub stars
- 81k
- Ranking position
- #1702
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
agent-adaptive-coordinator
81kHelps your agent split and rebalance a group of AI agents as the workload changes, choosing a layout that fits the task.
agent-agent
81kTeaches your agent to turn a big goal into an ordered plan of actions, and to replan when conditions change.
agent-agentic-payments
81kHelps your agent manage spending mandates for AI shopping, with spend caps, time windows, merchant rules and signed approvals.
agent-analyze-code-quality
81kHelps your agent review code for quality, finding code smells, technical debt and refactoring ideas without changing the files.
Similar skills
test-driven-development
311kTeaches your agent to write a failing test first, watch it fail, then write the smallest code that passes, before building any feature or fix.
verification-before-completion
311kTeaches your agent to run real checks and read their output before claiming that a task, fix, or build is complete or passing.
migrate-to-shoehorn
310kReplaces risky type casts in your test files with the shoehorn library, so tests can use partial data and still pass type checks.