refactoring-patterns

Installation
SKILL.md

Refactoring Patterns

Safety Rules

Before any refactoring, verify all of the following:

  • Tests exist covering the code you will change
  • All tests pass before you start
  • Perform one transformation at a time
  • Run tests after every single transformation
  • Commit after each successful step
  • Name every transformation in your commit message (e.g., "refactor: Extract Method -- validateEmail")
  • Never change behavior and structure in the same commit
  • If a step breaks tests, revert immediately and try a smaller step

Code Smell Catalog

Related skills
Installs
4
GitHub Stars
7
First Seen
Feb 26, 2026