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, behavior-preserving process for simplifying code without introducing regressions. ## Core Features & Use Cases - Five Core Principles: Preserve behavior exactly, follow project conventions, prefer clarity over cleverness, avoid over-simplification, and scope changes to what changed. - Four-Step Process: Understand the code first (Chesterton's Fence), identify concrete simplification patterns, apply changes incrementally with test runs, and verify the result against the original. - Language-Specific Guidance: Includes before/after examples for TypeScript/JavaScript, Python, and React/JSX, plus pattern tables for structural complexity, naming, and redundancy. - Use Case: After shipping a feature with passing tests, run a simplification pass to flatten nested conditionals into guard clauses, rename generic variables like data and temp, and extract duplicated logic into shared functions—each change verified against the existing test suite. ## Quick Start Ask the AI to simplify the recently modified code in this module while keeping all tests passing and behavior unchanged.