What problem does it solve? Working code often accumulates unnecessary complexity—deep nesting, long functions, unclear names, and duplication—that makes it hard to read, maintain, and extend. This Skill provides a disciplined, behavior-preserving process for simplifying code without introducing regressions. ## Core Features & Use Cases - Five Simplification 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 tests after each step, and verify the result against the original. - Language-Specific Guidance: Concrete 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 on the modified code to flatten nested conditionals into guard clauses, rename generic variables, and extract duplicated logic—then submit the refactor as a separate, reviewable commit. ## Quick Start Ask the agent to simplify the recently modified functions in this module while keeping all tests passing and behavior unchanged.