Refactoring Patterns

by wondelaic172996495beMIT2.3K starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated 4 weeks ago

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", "decompose conditional", or "clean up this messy code". Also trigger when cleaning up legacy code, preparing code for new features by restructuring, or identifying which transformation fits 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.

Instructions onlySoftware Development
  1. c172996495beCurrentcommit c172996Published Oct 8, 2026

Source and attribution

Source:wondelai/skillsinrefactoring-patternsat commitc172996

License: MIT

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal