What problem does it solve?
This skill solves the problem of inefficient, subjective, and unverified prompt or code optimization by enforcing a rigorous, fitness-function-gated loop that prevents AI slop and ensures measurable improvements.
Core Features & Use Cases
- Fitness-Function Gating: Ensures every experiment has a stable, measurable metric before execution, preventing subjective guessing.
- Anti-AI-Slop Enforcement: Mandates strict stylistic guidelines to ensure generated artifacts are high-quality and professional.
- Safe Iteration: Uses git worktree isolation and holdout evaluation to ensure changes are safe, reversible, and generalize beyond the training data.
- Use Case: Optimizing a sub-agent's scope classifier by running hundreds of iterations against a test pass rate metric, ensuring the new prompt actually improves performance without introducing regressions.
Quick Start
Run the loop-experiment skill to optimize the prompt in prompt.txt using the fitness function defined in eval.sh.