Works with the AI Agents you already use
Test Coverage Gap Analysis: What to Test Next
by Saizul Amin
This skill gives your agent a proven procedure plus scripts that check the facts, so you get the same correct answer every time, with exact fixes instead of vague advice.
$6
Test Coverage Gap Analysis: What to Test Next
Example session with this skill installed
Run the Test Coverage Gap Analysis skill on my project and give me a prioritised list of what to fix, with exact changes.
- Read your context and instructions
- Compiled the test coverage gap
Here is what the Test Coverage Gap Analysis: What to Test Next skill produced.
Demo: real, unedited output of the skill's bundled script on a sample input from its test suite.
Output
Diff coverage: 62.5% (5/8 changed executable lines, cobertura report)
[NOT IN REPORT] src/app/new_module.py 3 changed lines; no test loads this file
[PARTIAL] src/app/pricing.py 4/6 covered (66.7%) uncovered: 12,36
[PARTIAL] src/app/utils.py 1/2 covered (50.0%) uncovered: 6
Note: 1 changed file(s) are not in the report and not counted in the %.
FAIL: threshold 90.0%
What you do next
- Fix the highest-severity items first.
- Ask your agent to apply the fixes it suggests, then run the skill again to confirm.
- Keep the skill installed and re-run it whenever the project changes.
Connects securely to your tools. The creator never sees your data.
About this skill
Find what a change leaves untested - a script reads Cobertura XML, LCOV, Clover XML or coverage.py JSON plus a git diff and reports diff coverage, uncovered changed line ranges per file, and changed source files no test loads at all, with a --fail-under gate for CI. Covers generating coverage for pytest, Vitest, Jest, PHPUnit and Go, and deciding which gaps deserve tests.
Who it's for
Use when the user asks what is untested in a PR or branch, wants diff/patch coverage, asks why coverage dropped, wants a coverage gate in CI, or asks where to add tests first.
What's inside
- Tested, offline Python script(s): coverage_gaps.py (deterministic results, standard library only unless noted)
- Reference guides: triage.md, generate-coverage.md, ci-gate.md
- Step-by-step agent instructions in SKILL.md covering: When to use; When not to use; Workflow; Decision points
Why it's worth it
Generic prompts guess. This skill gives your agent a proven procedure plus scripts that check the facts, so you get the same correct answer every time, with exact fixes instead of vague advice. See the real demo below.
Works with every major AI agent
Built on the open SKILL.md standard: Claude Code, Codex CLI, Cursor, VS Code Copilot, Gemini CLI, Windsurf and 20+ other agents.
Requirements
- Python 3.8+ for the bundled scripts
- No API keys, no account, runs locally
Open source: saizul/testing-qa-skills on GitHub (MIT licence, by Saizul Amin).
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 1 day ago
- Software
- vitest
Node.jsjestc8nyc
Python 3.8+
Git