What problem does it solve?
This Skill automates the process of iterative optimization loops to improve measurable code metrics such as test coverage, performance, and bundle size, saving developers time and ensuring code quality.
Core Features & Use Cases
- Automated Optimization: Executes a series of code changes and verifies their impact on metrics.
- Git Integration: Uses Git to track changes and allows for easy rollback in case of regression.
- Use Case: If you want to increase test coverage in your codebase, you can use this Skill to automatically experiment with different code changes, verify the impact, and keep the improvements.
Quick Start
/ck:autoresearch
Goal: Increase test coverage in src/utils from ~60% to 80%
Scope: src/utils//*.ts, tests/utils//*.test.ts
Verify: npx jest tests/utils --coverage --coverageReporters=json-summary 2>/dev/null | node -e "const d=require('./coverage-summary.json');console.log(d.total.lines.pct)"
Guard: npx tsc --noEmit && npx jest --passWithNoTests
Iterations: 15
Direction: higher