What problem does it solve?
Simplify recently written or modified code for clarity, reuse, and maintainability without changing behavior. Apply three review lenses: reuse, quality, and efficiency. Use when the user asks to simplify, clean up, refine, polish, or make code clearer; after a feature, bug fix, or refactor leaves code working but harder to read; or when changed code feels too nested, repetitive, or inconsistent with the surrounding project style.
Core Features & Use Cases
- Scope-first simplification to target touched regions and files.
- Three-lens review (reuse, quality, efficiency) to improve readability while preserving behavior.
- Non-deviating changes rule: preserve public interfaces, validation, and error handling; avoid unnecessary API changes.
Quick Start
Provide a concise plan and apply a single-pass simplification to the touched code while preserving behavior.