What problem does it solve? Working code often accumulates unnecessary complexity — deep nesting, long methods, unclear names, and duplicated logic — making it harder to read, maintain, and extend. This Skill provides a disciplined, behavior-preserving process for simplifying .NET/C# code without introducing regressions. ## Core Features & Use Cases - Behavior-Preserving Refactoring: Applies five principles (preserve behavior, follow project conventions, prefer clarity, maintain balance, scope to changes) so every simplification keeps inputs, outputs, side effects, and error behavior identical. - Concrete Pattern Detection: Identifies specific signals like 3+ level nesting, 50+ line methods, nested ternaries, boolean parameter flags, dead code, and over-engineered abstractions, each paired with a targeted simplification. - C# / .NET Guidance: Includes .NET-specific examples such as async wrapper unwrapping (with three cases where await must be kept), switch expressions, LINQ conversion, null-coalescing, and record structs, plus TypeScript, Python, and React examples. - Use Case: After shipping a feature whose implementation grew messy under time pressure, run a simplification pass that refactors incrementally, runs dotnet test after each change, and produces a clean, reviewable diff. ## Quick Start Ask the agent to simplify the recently modified C# code in this project while preserving behavior and keeping all existing tests passing.