What problem does it solve?
Simplify eliminates implementation cruft and improves code clarity after TDD by removing duplication, improving naming, and simplifying structure while guaranteeing that existing tests remain passing. It reduces implementer bias by delegating refactor work to a separate agent and enforces small, reversible steps so behavior does not change unintentionally. The skill enforces a test-driven safety net and a reproducible baseline to ensure refactors are purely structural.
Core Features & Use Cases
- Baseline snapshot and verification: capture and confirm the full test suite is green before any change.
- Targeted simplification plan: analyze duplication, naming, nesting, and unnecessary abstractions and propose one atomic simplification at a time.
- Safe apply-and-verify loop: apply a single simplification, run the entire test suite, revert on failure, and iterate until done.
- Agent orchestration: dispatches test-runner and simplifier agents, requires presenting the REQ path and full contextual files, and reports status as DONE / DONE_WITH_CONCERNS / NEEDS_CONTEXT / BLOCKED.
- Use case: perform repository-level refactors after TDD completion and before code review to improve readability and reduce technical debt without changing behavior.
Quick Start
Ask the simplify skill to refactor the implementation for the relevant REQ path while ensuring the full test suite stays green.