What problem does it solve?
This Skill automates iterative, measurable code experiments to improve mechanical metrics (for example test coverage, bundle size, or lint error counts) by making one atomic change per iteration, committing before verification, and keeping or reverting changes based on numeric results and guard checks.
Core Features & Use Cases
- Autonomous Iterations: Runs a repeated loop of edit → commit → verify → decide over a configurable number of iterations.
- Guarded Verification: Supports an optional guard command to prevent regressions and enforces a verify command that prints a single numeric metric.
- Git-as-Memory Workflow: Uses commits and git revert to preserve experiment history and enable pattern analysis across iterations.
- Use Cases: Increase test coverage in a target folder, reduce main bundle size, or drive ESLint error count toward zero within a scoped set of files.
Quick Start
Start an autonomous loop by providing a Goal, a Scope glob, and a Verify command that prints one numeric value (for example: Goal: Increase test coverage in src/utils; Scope: src/utils/**/*.ts; Verify: npx jest --coverage --coverageReporters=json-summary).