/simplify
Claude Code built-in skill that inspects recently modified code for reuse, quality, and efficiency opportunities, then applies fixes found. Designed to be used after an intense generation session, `/simplify` cleans up what Claude produced quickly without stopping to optimize.
Strengths
- Zero friction, a single command to clean up everything Claude generated in the session
- Duplicate detection, identifies near-identical functions created at different moments of the session
- Preserves intent, simplifies without changing observable behavior (tests must pass)
Limitations
- Scope limited to recent changes, does not refactor the entire codebase
- Sometimes too aggressive suggestions, verify changes before committing
Best for
- After a fast generation session: clean up before committing to avoid pushing draft code
- Incremental technical debt reduction, each session ends cleanly