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: Every simplification must keep inputs, outputs, side effects, and error behavior identical, verified by running the existing test suite after each change. - Concrete Pattern Detection: Identifies specific signals such as 3+ levels of nesting, 50+ line functions, nested ternaries, boolean parameter flags, generic names, dead code, and over-engineered abstractions, each paired with a concrete fix. - Language-Specific Guidance: Includes before/after examples for TypeScript/JavaScript, Python, and React/JSX, plus rules for following project conventions and avoiding over-simplification. - Use Case: After shipping a feature whose implementation grew messy under time pressure, run this Skill to incrementally clean up the changed code — extracting guard clauses, renaming vague variables, and removing duplication — with tests confirming nothing broke. ## Quick Start Simplify the recently modified code in this module for clarity without changing its behavior, and run the tests after each change.