What problem does it solve? After implementing a feature, code often ends up with duplication, deep nesting, noisy comments, and inconsistent naming. This Skill performs a focused cleanup pass on recently changed code, improving readability and maintainability while strictly preserving existing behavior. ## Core Features & Use Cases - Scoped Simplification: Limits changes to files or sections identified via git diff, git status, or user-specified paths, avoiding repo-wide rewrites. - Behavior-Preserving Refactoring: Reduces nesting, removes local duplication, replaces nested ternaries with clear branches, and renames identifiers only when clarity improves. - Convention Awareness: Reads project instructions such as AGENTS.md and follows existing naming, formatting, and structure before making edits. - Verification Step: Runs targeted tests or lint/build checks after edits and explicitly reports residual risk when no automated verification exists. - Use Case: After finishing a feature branch, ask for a cleanup pass on the changed files so the code is easier to review before opening a pull request. ## Quick Start Ask the assistant to simplify and clean up the code you just modified without changing its behavior.