Test Coverage Skill
SkillFiles & storageAnalyze test coverage, identify files below 80% threshold, and generate missing tests. Supports unit, integration, and E2E tests.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the Test Coverage Skill skill
What this skill tells your AI
The instructions your AI receives, as published by luohaothu/everything-codex in skills/test-coverage/SKILL.md and read by ahel’s review.
Analyze test coverage and generate missing tests to reach 80%+ coverage.
Workflow
- Run tests with coverage reporting
- Analyze coverage report
- Identify files below 80% threshold
- For each under-covered file:
- Analyze untested code paths
- Generate unit tests for functions
- Generate integration tests for APIs
- Generate E2E tests for critical flows
- Verify new tests pass
- Show before/after coverage metrics
Focus Areas
- Happy path scenarios
- Error handling paths
- Edge cases (null, undefined, empty, boundary values)
- Branch coverage (if/else, switch cases)
Coverage Commands
JavaScript/TypeScript
npm test -- --coverage
pnpm test -- --coverage
Go
go test -cover ./...
go test -coverprofile=coverage.out ./...
go tool cover -func=coverage.out
Python
pytest --cov=. --cov-report=term-missing
Coverage Targets
| Code Type | Target |
|---|---|
| Critical business logic | 100% |
| Public APIs | 90%+ |
| General code | 80%+ |
| Generated/vendor code | Exclude |
Signals
- GitHub stars
- 24
- Forks
- 5
- Last commit
- Aug 2026
Advanced
- Catalog kind
- skill
- Gateway key
test-coverage-luohaothu- Source
- github.com/luohaothu/everything-codex