What problem does it solve? Working code often accumulates unnecessary complexity—deep nesting, long functions, unclear names, and duplicated logic—that makes it harder to read, maintain, and extend. This Skill provides a disciplined process for simplifying code without changing its behavior. ## 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 Simplification Patterns: Provides lookup tables of signals and fixes for structural complexity, naming issues, and redundancy, plus language-specific examples for TypeScript, JavaScript, Python, and React. - Scope and Safety Guardrails: Enforces Chesterton's Fence (understand before changing), incremental one-at-a-time changes, the Rule of 500 for large refactors, and anti-rationalization tables to prevent over-simplification. - Use Case: After shipping a feature with passing tests, run a simplification pass on the modified files to flatten nested conditionals, rename generic variables, and extract duplicated logic before opening the pull request. ## Quick Start Ask the agent to simplify the recently modified code in this branch while keeping all tests passing and behavior unchanged.