test-coverage-analyzer
Analyze test coverage and identify gaps before migration to ensure adequate safety nets
Best use case
test-coverage-analyzer is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Analyze test coverage and identify gaps before migration to ensure adequate safety nets
Teams using test-coverage-analyzer 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/test-coverage-analyzer/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How test-coverage-analyzer Compares
| Feature / Agent | test-coverage-analyzer | 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 and identify gaps before migration to ensure adequate safety nets
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
# Test Coverage Analyzer Skill
Analyzes test coverage comprehensively to identify gaps and ensure adequate test safety nets before undertaking migration efforts.
## Purpose
Enable comprehensive test coverage analysis for:
- Pre-migration coverage assessment
- Critical path coverage verification
- Coverage gap identification
- Test strategy planning
- Regression risk assessment
## Capabilities
### 1. Line/Branch/Path Coverage Measurement
- Calculate line coverage percentages
- Measure branch coverage
- Analyze path coverage
- Track condition coverage
### 2. Coverage Gap Identification
- Find untested code paths
- Identify missing edge cases
- Detect uncovered error handlers
- Map coverage blind spots
### 3. Critical Path Coverage Analysis
- Identify business-critical paths
- Prioritize coverage by importance
- Map risk vs coverage
- Generate focused test recommendations
### 4. Integration Test Coverage Mapping
- Track integration point coverage
- Map API endpoint testing
- Assess database operation coverage
- Verify external service testing
### 5. Coverage Trend Analysis
- Track coverage over time
- Identify coverage regression
- Monitor improvement progress
- Generate trend reports
## Tool Integrations
| Tool | Language | Integration Method |
|------|----------|-------------------|
| Istanbul/nyc | JavaScript/TypeScript | CLI |
| JaCoCo | Java | CLI / Maven/Gradle |
| Cobertura | Java/Python | CLI |
| Coverage.py | Python | CLI |
| SimpleCov | Ruby | CLI |
| go test -cover | Go | CLI |
| dotCover | .NET | CLI |
## Output Schema
```json
{
"analysisId": "string",
"timestamp": "ISO8601",
"coverage": {
"line": {
"percentage": "number",
"covered": "number",
"total": "number"
},
"branch": {
"percentage": "number",
"covered": "number",
"total": "number"
},
"function": {
"percentage": "number",
"covered": "number",
"total": "number"
}
},
"gaps": [
{
"file": "string",
"uncoveredLines": ["number"],
"uncoveredBranches": ["string"],
"criticality": "high|medium|low",
"recommendation": "string"
}
],
"criticalPaths": {
"covered": "number",
"total": "number",
"uncoveredPaths": []
}
}
```
## Integration with Migration Processes
- **migration-testing-strategy**: Coverage baseline establishment
- **code-refactoring**: Pre-refactoring safety assessment
- **framework-upgrade**: Regression protection verification
## Related Skills
- `characterization-test-generator`: Generate tests for gaps
- `static-code-analyzer`: Combined quality analysis
## Related Agents
- `migration-testing-strategist`: Uses for test planning
- `regression-detector`: Uses for regression preventionRelated Skills
vitest
Vitest configuration, mocking, coverage, snapshot testing, and performance.
react-testing-library
React Testing Library patterns, queries, user events, and accessibility testing.
terraform-analyzer
Specialized skill for analyzing Terraform configurations. Supports parsing, security scanning (tfsec, checkov), cost estimation (infracost), drift detection, and plan visualization across AWS, Azure, and GCP.
load-test-generator
Generate load test scripts for k6, Locust, and Gatling from OpenAPI specs
db-query-analyzer
Analyze database query performance with execution plans and index recommendations
code-complexity-analyzer
Analyze code complexity metrics including cyclomatic complexity, code smells, and technical debt
cloudformation-analyzer
Validate and analyze AWS CloudFormation templates for security and best practices
cloud-security-testing
Multi-cloud security assessment and penetration testing capabilities. Execute Prowler/ScoutSuite assessments, analyze IAM policies, identify cloud misconfigurations, test permissions, and enumerate cloud resources across AWS/GCP/Azure.
semantic-code-analyzer
LLM-powered semantic analysis of code diffs to detect business-logic trojans
sast-analyzer
Static Application Security Testing orchestration and analysis. Execute Semgrep, Bandit, ESLint security plugins, CodeQL, and other SAST tools. Parse, prioritize, and deduplicate findings across multiple tools with remediation guidance.
crypto-analyzer
Cryptographic implementation analysis and validation for encryption algorithms, key sizes, and certificate management
semver-analyzer
Analyze code changes and determine semantic version bumps. Detect breaking changes automatically, suggest version bump (major/minor/patch), generate changelog entries, and validate version consistency.