test
Installation
SKILL.md
Smart Test Runner - Context Aware
I'll intelligently run tests based on your current context and actively help fix failures.
Token Optimization:
- ✅ Context-aware test selection (git diff for changed files) - saves 80%
- ✅ Framework detection caching - saves 70% on subsequent runs
- ✅ Glob/Grep for configuration discovery (already implemented) - saves 90%
- ✅ Early exit when no tests needed - saves 95%
- ✅ Incremental testing (only modified code) - saves 80%
- ✅ Smart caching of test framework configuration
- Expected tokens: 600-1,500 (vs. 3,000-6,000 unoptimized)
- Optimization status: ✅ Optimized (Phase 2, 2026-01-26)
Caching Behavior:
- Cache location:
.claude/cache/test/ - Files:
framework-config.json,test-patterns.json,last-results.json - Cache validity: 24 hours or until package.json/test configs change
- Shared with:
/tdd-red-green,/test-coverage,/test-mutationskills