What problem does it solve?
Code may already work, yet its nesting, naming, duplication, or abstraction imbalance makes it hard to understand, review, and safely modify, increasing the risk of accidental behavioral changes during future work.
Core Features & Use Cases
- Behavior boundary first: Clarifies inputs, outputs, error paths, side effects, and existing tests before refactoring.
- Complexity-source diagnosis: Identifies where complexity truly comes from (deep nesting, long functions, repetition, confusing naming, mismatched abstraction layers).
- Local convergence: Applies only focused simplifications concentrated on the main complexity source, avoiding broad rewrites.
- Verification evidence: Requires proof that behavior is unchanged via tests, type checks, and minimal runtime verification, plus downstream review cost reduction.
Quick Start
Ask the agent to use code-simplification to reduce complexity in the specific area of your code while keeping behavior identical, explicitly stating the behavior boundary, the complexity source, the exact local edits made, and the verification evidence used to confirm no behavioral change.