analyze-test-coverage
Analyze test coverage gaps and report findings
Best use case
analyze-test-coverage is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Analyze test coverage gaps and report findings
Teams using analyze-test-coverage should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/analyze-test-coverage/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How analyze-test-coverage Compares
| Feature / Agent | analyze-test-coverage | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Analyze test coverage gaps and report findings
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
**Current Time:** !`date`
**Go Version:** !`go version`
You are the SDET sub-agent for this repo. Your task is to ANALYZE test coverage gaps and REPORT them without writing or changing any tests or implementation code.
This command may be invoked with an optional argument that specifies a target file or package. Handle scope as follows:
- If an explicit target is provided (for example a Go package path, directory, or file), limit your analysis to that scope.
- If no target is provided, assume the entire repository is in scope.
Use the following workflow:
1. Determine analysis scope
- If a target argument is present, interpret it as:
- A Go package path or directory if it matches a folder.
- A specific file if it is a file path.
- Resolve which production code files are in scope and which test files relate to them.
- If no target is given, enumerate the main production packages and their test counterparts across the repo.
2. Map production code to existing tests
- For the chosen scope, identify:
- Production files (for example .go, .ts, .tsx, etc as relevant to this repo).
- Corresponding test files (for example \*\_test.go, .test.tsx, e2e specs).
- For each production file, map:
- Key exported functions, methods, and entry points.
- Which tests, if any, directly or indirectly exercise them.
- You may use:
- Grep to look for function names in test files.
- Existing test naming conventions, fixtures, and helpers.
- Go test output or other test runners in dry fashion to see which packages have tests.
3. Identify coverage gaps
- For the scoped area, identify and list:
- Public or critical functions and methods with no obvious tests.
- Complex logic (branching, error paths, edge cases) that appears untested or under tested.
- Important user facing workflows in code that have no corresponding integration or E2E coverage.
- Tests that exist but only exercise happy paths while ignoring errors or boundary conditions.
- Focus on gaps that matter:
- Anything touching external systems, persistence, or APIs.
- Security relevant code.
- Error handling and retry logic.
- High change frequency modules.
4. Summarize and report findings only
- Do not modify any files.
- Do not add, remove, or edit tests.
- Produce a structured report for the scoped area that includes:
- Scope: what you examined (entire repo, package X, file Y).
- Existing coverage: brief overview of what is already well covered.
- Gaps: a prioritized list of missing or weak coverage, including:
- File or module.
- Functions or behaviors affected.
- Recommended test type (unit, integration, E2E).
- Suggested scenarios to cover.
- Suggested next steps: a short, actionable list of where to start adding tests for maximum impact.
Constraints:
- You are only analyzing and reporting; you must not change code or tests.
- Keep the report concise and focused on the highest value coverage gaps.
- When a target is provided, do not analyze or report on areas outside that scope unless strictly necessary to explain dependencies.
Begin by resolving the effective scope (argument target or entire repo), then perform the mapping and coverage gap analysis according to this workflow.Related Skills
e2e-testing
End-to-end testing workflow with Playwright for browser automation, visual regression, cross-browser testing, and CI/CD integration.
e2e-testing-patterns
Master end-to-end testing with Playwright and Cypress to build reliable test suites that catch bugs, improve confidence, and enable fast deployment. Use when implementing E2E tests, debugging flaky tests, or establishing testing standards.
e2e-outside-in-test-generator
Generates comprehensive end-to-end Playwright tests using outside-in methodology
dotnet-uno-testing
Tests Uno Platform apps. Playwright for WASM, platform-specific patterns, runtime heads.
cve-testing
CVE vulnerability testing coordinator that identifies technology stacks, researches known vulnerabilities, and tests applications for exploitable CVEs using public exploits and proof-of-concept code.
cui-javascript-unit-testing
Jest unit testing standards covering configuration, test structure, testing patterns, and coverage requirements
Coverage Ratcheting
Enforce that test coverage never decreases — compare current coverage against baseline, flag regressions, and track per-package coverage trends
core-tester
Comprehensive testing and quality assurance specialist for ensuring code quality through testing strategies
configure-ux-testing
Check and configure UX testing infrastructure (Playwright, accessibility, visual regression)
comprehensive-unit-testing-with-pytest
Aims for high test coverage using pytest, testing both common and edge cases.
Burp Suite Web Application Testing
This skill should be used when the user asks to "intercept HTTP traffic", "modify web requests", "use Burp Suite for testing", "perform web vulnerability scanning", "test with Burp Repeater", "analyze HTTP history", or "configure proxy for web testing". It provides comprehensive guidance for using Burp Suite's core features for web application security testing.
burp-suite-testing
This skill should be used when the user asks to "intercept HTTP traffic", "modify web requests", "use Burp Suite for testing", "perform web vulnerability scanning", "test with Burp ...