What problem does it solve?
This Skill automates the iterative process of code optimization across multiple runs against a measurable metric, learning from git history and allowing automatic rollback of changes to prevent regressions.
Core Features & Use Cases
- Automated Code Optimization: Iteratively optimize code for metrics like test coverage, performance, and bundle size.
- Machine Learning: Uses machine learning to predict the impact of code changes.
- Git Integration: Leverages git history for learning and rollback capabilities.
- Use Case: For example, you can use this Skill to automatically increase test coverage in your codebase by making and testing changes iteratively.
Quick Start
Run the tkm:auto-research skill with the desired goal, scope, and verification command. Example: /tkm:auto-research Goal: Increase test coverage Scope: src/**/*.ts Verify: npx jest --coverage --json | jq '.coverageMap | .. | .s? | to_entries | map(.value) | (map(select(.>0)) | length) / length * 100'