What problem does it solve? Refactoring a .NET codebase beyond superficial cleanup is risky and inconsistent: value-type migrations ripple across tests, god classes resist safe splitting, and public API surfaces accumulate stale members. This Skill provides proven, phase-ordered patterns that elevate C#/.NET/Blazor code to human-maintainable engineering quality with build-test-format verification at every step. ## Core Features & Use Cases - Domain Primitive Value Types: Replace bare string/double with constrained types (Ratio, PanelId, TabId) including IEquatable, conversion operators, and custom JsonConverter support for .NET 6 compatibility. - Structural Decomposition: Orchestrator-to-helper extraction, CommandBase guard extraction, god-class partial file splitting, and Blazor component extraction with @key and callback patterns. - Phased Workflow & Verification: A six-phase ordering that minimizes rework, plus regex catalogs for bulk test repair, public API stabilization with reflection tests, and closeout audit procedures. - Use Case: A team inherits a Blazor dock layout library with stringly-typed IDs and a 1000-line LayoutContext. Use this Skill to migrate to domain primitives first, extract TabOperations, stabilize the public API, and finish with a green build/test/format verification checklist. ## Quick Start Ask the agent to perform an engineering-grade refactoring of your .NET solution, starting with domain primitive value types and verifying each phase with dotnet build, test, and format.