Refactor Process

Enforces a disciplined refactoring process for Ruby code: ONE atomic transformation at a time, characterization tests MUST exist and be Green BEFORE any edit, run tests after EVERY single step, rollback immediately on Red (no debugging in broken state), no behavior changes mixed with refactoring. Covers extract methods, rename symbols, split classes, inline variables, remove duplication. Use when: refactor, clean up code, rewrite class, structure changes, simplify.

igmarin a4aeade 3.5 KB Updated

File contents

igmarin/ruby-core-skills/tree/main/skills/refactor-process commit a4aeadecc4

Frequently asked questions

npx skillmds@latest add igmarin/refactor-process