What problem does it solve? Working code often accumulates unnecessary complexity — deep nesting, long functions, unclear names, and duplicated logic — making it harder to read, maintain, and extend. This Skill provides a disciplined, behavior-preserving process for simplifying code without introducing regressions. ## Core Features & Use Cases - Behavior-Preserving Refactoring: Applies five principles (preserve behavior, follow project conventions, prefer clarity, maintain balance, scope to changes) so every simplification keeps inputs, outputs, side effects, and error behavior identical. - Pattern Detection Checklists: Identifies concrete simplification signals such as 3+ level nesting, 50+ line functions, nested ternaries, boolean flag parameters, generic names, dead code, and over-engineered abstractions. - Incremental Verified Changes: Enforces a one-change-at-a-time workflow with test runs after each step, plus language-specific guidance for TypeScript, JavaScript, Python, and React/JSX. - Use Case: After shipping a feature whose implementation grew messy under time pressure, run this Skill to systematically clean up the changed code, verify all tests still pass unmodified, and produce a clean reviewable diff. ## Quick Start Simplify the recently modified functions in this module for readability without changing any behavior, and run the test suite after each change.