What problem does it solve? Working code often accumulates unnecessary complexity—deep nesting, long functions, unclear names, and duplicated logic—that slows down every future change. This Skill provides a disciplined, behavior-preserving process for simplifying code so it is easier to read, maintain, and extend. ## Core Features & Use Cases - Behavior-Preserving Refactoring: Applies five principles (preserve behavior, follow project conventions, prefer clarity, maintain balance, scope to changes) so simplification never alters inputs, outputs, side effects, or error handling. - Pattern Detection Checklists: Identifies concrete simplification signals such as 3+ level nesting, 50+ line functions, nested ternaries, boolean flag parameters, dead code, and redundant abstractions. - Language-Specific Guidance: Includes before/after examples for TypeScript, JavaScript, Python, and React/JSX, plus a verification checklist covering tests, linting, and diff cleanliness. - Use Case: After shipping a feature under deadline pressure, run this Skill on the modified files to flatten nested conditionals into guard clauses, rename generic variables like data and temp, and extract duplicated logic—then verify all tests still pass unchanged. ## Quick Start Ask the AI to simplify the recently modified code in this module using the code-simplification process without changing any behavior.