con un clic
test-coverage
Analyze and report test coverage with improvement suggestions
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Analyze and report test coverage with improvement suggestions
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Generate changelog entries following Keep a Changelog format
Generate a well-structured pull request with summary and test plan
Cluster related instincts into skills, commands, or agents
Export instincts for sharing with teammates or backup
Import instincts from teammates or community collections
View learned instincts grouped by domain with confidence levels
Basado en la clasificación ocupacional SOC
| name | test-coverage |
| description | Analyze and report test coverage with improvement suggestions |
| user-invocable | true |
Analyze test coverage for the project and identify gaps that need tests.
$ARGUMENTS — Optional path to analyze (defaults to entire project)JavaScript/TypeScript:
npx vitest run --coverage 2>&1 || npx jest --coverage 2>&1
Python:
pytest --cov=src --cov-report=term-missing 2>&1
Go:
go test -cover -coverprofile=coverage.out ./... 2>&1
go tool cover -func=coverage.out
For each file with coverage below 80%:
## Coverage Report
### Summary
| Metric | Value | Target |
|--------|-------|--------|
| Line Coverage | X% | 80% |
| Branch Coverage | X% | 75% |
| Function Coverage | X% | 90% |
### Files Below Target
| File | Coverage | Gap | Priority |
|------|----------|-----|----------|
| src/auth.ts | 45% | 35% | HIGH |
| src/utils.ts | 72% | 8% | MEDIUM |
### Suggested Tests
1. **HIGH** `src/auth.ts` - Missing tests for:
- Token expiration handling
- Invalid credential scenarios
- Rate limiting edge cases
2. **MEDIUM** `src/utils.ts` - Missing tests for:
- Empty input handling
- Unicode edge cases
With --quick argument, only show the summary table and files below target.