Refactoring Patterns

Apply named refactoring transformations to improve code structure without changing behavior. Use when the user mentions "refactor this", "code smells", "extract method", "replace conditional", "technical debt", "move method", "inline variable", or "decompose conditional". Also trigger when cleaning up legacy code, preparing code for new features by restructuring, or identifying which transformation to apply to a specific code smell. Covers smell-driven refactoring, safe transformation sequences, and testing guards. For code quality foundations, see clean-code. For managing complexity, see software-design-philosophy.

KunanonJ ce5e90d 7 files · 91.6 KB Updated

File contents

KunanonJ/ai-skills-hub/tree/main/skills/refactoring-patterns commit ce5e90d342

Frequently asked questions

npx skillmds@latest add kunanonj/refactoring-patterns