What problem does it solve? Working code often accumulates unnecessary complexity—deep nesting, long functions, unclear names, and duplicated logic—that slows down maintenance and review. This Skill provides a disciplined process for reducing that complexity without changing what the code does. ## Core Features & Use Cases - Behavior-Preserving Refactoring: Every simplification must keep inputs, outputs, side effects, and error behavior identical, with explicit verification steps. - Five Guiding Principles: Preserve behavior, follow project conventions, prefer clarity over cleverness, avoid over-simplification, and scope changes to recently modified code. - Structured Four-Step Process: Understand the code first, identify simplification signals (nested ternaries, dead code, boolean flag arguments), apply changes incrementally, then verify the final diff. - Use Case: After a feature passes its tests but the implementation feels heavy, use this Skill to flatten nested conditionals, rename misleading variables, and remove dead code while keeping the test suite green. ## Quick Start Ask the agent to simplify the recently modified function in your current file for readability without changing its behavior.