Refactoring Patterns Skill

Installation
SKILL.md

Refactoring Patterns Skill

Safe transformations — same behavior, better structure.

Golden Rule

Tests pass before AND after.

When to Refactor

Trigger Action
Feature is hard to add Refactor first
Same bug twice Refactor to prevent
"I don't understand" Refactor for clarity

When NOT to Refactor

  • No tests + time pressure
Related skills
Installs
First Seen