What problem does it solve? Codebases accumulate duplication, oversized classes, and tangled dependencies that slow development and hide bugs. This Skill performs disciplined, semantics-preserving refactoring that removes DRY, SOLID, and structural violations without changing observable behavior. ## Core Features & Use Cases - Violation Catalog: Detects 24 named code smells across DRY, SRP, OCP, LSP, ISP, DIP, KISS, YAGNI, idiomatic, hygiene, and structure categories, each paired with a specific fix and pitfall warning. - Gated Workflow: Follows a GATE → ORIENT → PLAN → ACT → VERIFY → REPORT loop that requires a passing test suite before and after every transformation. - Safety Constraints: Enforces zero behavioral change, forbids editing build configs or suppressing linter diagnostics, and reverts edits if the suite cannot return to green. - Use Case: Point it at a module with duplicated logic and a god class; it extracts shared functions, splits responsibilities one transformation at a time, and reports a terse execution summary. ## Quick Start Ask the agent to refactor the current uncommitted changes or a specific file to remove duplication and SOLID violations while keeping all tests passing.