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, error behavior, and edge cases identical. - Five Guiding Principles: Preserve behavior, follow project conventions, prefer clarity over cleverness, maintain balance, and scope changes to what changed. - Structured Four-Step Process: Understand the code first, identify simplification signals, apply changes incrementally, and verify the final diff. - Use Case: After a feature passes its tests but the implementation has nested ternaries and a 100-line function, use this Skill to break it into readable, well-named helpers while keeping all tests green. ## Quick Start Ask the agent to simplify the recently modified function in your current file for readability without changing its behavior.