Test Augmentation
test-augmentation
Validates and improves test coverage for code changes. Checks coverage thresholds, identifies untested code paths, and provides guidance on writing effective tests. Use after making code changes or when improving test quality.
SKILL.md
Full skill instructions
Test Augmentation
Note: Shell scripts are intentionally omitted. Coverage checks are implemented in
.scripts/lib/skills/test-augmentation.tsand invoked vianpm run skills:test-augmentation.
When to use this skill
- After implementing new features
- When refactoring existing code
- To identify gaps in test coverage
- During test quality improvements
Skill Contents
Available Resources
📚 references/ - Detailed documentation
Coverage Tools
| Technology | Tool |
|---|---|
| Java | JaCoCo |
| JavaScript/TypeScript | Jest, NYC |
| Python | coverage.py, pytest-cov |
| Go | go test -cover |
References
| Technology | Reference |
|---|---|
| Java | references/java/test-patterns.md |
| TypeScript | references/typescript/test-patterns.md |
| Python | references/python/test-patterns.md |
| Go | references/go/test-patterns.md |
TODO
- Define coverage thresholds by project type
- Implement coverage change detection
- Add test quality metrics
- Create test pattern guidance by technology
