Test Gap Analyzer
CheckedIdentifies missing test cases and potential coverage gaps in software projects based on requirements and code analysis.
Install on your platform
Showing Claude Code. One command installs this skill into any of the agents below.
- 1
Run this in your project
terminal$ npx skills add rysweet/amplihack --skill test-gap-analyzer -a claude-code Uses the open-source
skillsCLI and needs Node.js. Add-gto install it for your user instead of this project.
What we know about this skill
Publisher
rysweet
Taken from the source listing. We haven't verified who controls this account.
Install target
Live repository
Not pinned. Installing fetches whatever the repository holds at the time you run the command.
Automated safety checks
This skill passed all 6 checks. We read its files at one commit and looked for the things that make a skill dangerous to run — not for whether it works.
Declares what it does: passed
SKILL.md parses and declares a name and a description.
SKILL.md exists, its frontmatter parses, and it declares a name and a description.
No undeclared network calls: passed
Makes no network calls.
Every host the skill dials — from its scripts, its config endpoints or the commands it tells the agent to run — is either well-known package and API infrastructure or declared in its own frontmatter. Links in documentation are not counted.
No obfuscated payloads: passed
No encoded or obfuscated payloads.
No base64, hex or compressed blob is decoded and then executed, and no encoded shell commands.
No credential access: passed
Reads no keys, tokens, keychains or credential files.
Neither the code nor the SKILL.md instructions read SSH keys, cloud credentials, keychains, token stores, browser cookie databases or dotfiles that hold secrets.
No pipe-to-shell installers: passed
No pipe-to-shell or download-and-run installers.
No `curl … | sh` pattern, in the code or in the instructions, that runs code fetched at run time.
Pinned to a commit: passed
Scanned rysweet/amplihack at 84424457d5.
The exact upstream commit SHA that was scanned is recorded, so the result refers to specific bytes.
- Commit
- 84424457d5
- Scanned
- 2 files, 1,110 lines
- Copies in repo
- 2 — all of them scanned
About this skill
What it does
The Test Gap Analyzer automatically identifies missing test cases and potential coverage gaps within software projects. It analyzes codebases to find untested functions, areas with low test coverage, and missing edge case tests. The skill then generates prioritized suggestions for new tests, aiming to align with amplihack's testing pyramid (60% unit, 30% integration, 10% E2E).
When to use it
- Code review: Before merging pull requests to identify potential test gaps.
- Test planning: To prioritize which areas of the codebase should be tested next based on risk and impact.
- Coverage improvement: Systematically target low-coverage areas within a project.
- Legacy code: Incrementally improve test coverage in older, less-tested codebases.
Key capabilities
- Code Analysis: Scans Python, JavaScript, TypeScript, and Go codebases to identify functions, methods, classes, dependencies, unused parameters, and dead code paths.
- Coverage Detection: Parses
.coveragefiles (for Python) to determine existing test coverage. - Gap Identification: Categorizes gaps as "Untested Functions/Methods," "Low Coverage Areas," "Missing Edge Cases," "Integration Gaps," or "Error Path Coverage."
- Test Suggestion Generation: Provides specific test case descriptions, code templates, and expected behaviors for identified gaps.
- Prioritization: Organizes suggested tests by risk impact, adherence to the testing pyramid, effort required, and dependency relationships.
Example prompts
- "Analyze this codebase for missing test cases."
- "Show me areas with low test coverage in my project."
- "What edge cases are not being tested in function X?"
Tips & gotchas
- The skill relies on existing
.coveragefiles for Python projects to accurately assess current coverage. Ensure these files are generated during your testing process. - The analysis focuses on public and private functions within the specified codebases.