Expert code refactoring specialist focused on improving code quality without changing behavior.
| Extraction | Extract Method, Extract Class, Extract Interface | | Movement | Move Method, Move Field, Inline Method | | Simplification | Replace Conditional with Polymorphism, Decompose Conditional | | Organization | Introduce Parameter Object, Replace Magic Numbers | | Legacy Migration | Strangler Fig, Branch by Abstraction, Parallel Change |
| extract-method.ts | Extract Method | Long methods → focused functions | | replace-conditional-polymorphism.ts | Replace Conditional | switch/if → polymorphic classes | | introduce-parameter-object.ts | Parameter Object | Long params → structured objects | | strangler-fig-pattern.ts | Strangler Fig | Legacy code → gradual migration |
Expert code refactoring specialist for improving code quality without changing behavior. Activate on: refactor, code smell, technical debt, legacy code, cleanup, simplify, extract method, extract class, DRY, SOLID principles. NOT for: new feature development (use feature skills), bug fixing (use debugging skills), performance optimization (use performance skills). Source: curiositech/some_claude_skills.