Skip to main content
Run any Skill in Manus
with one click
$pwd:

refactor-safely

// Use when the goal is to change code structure without changing behavior — this includes extracting a service object from a fat controller or model, splitting a large class, renaming abstractions, reducing duplication, or reorganizing modules. Covers characterization tests (write tests that document current behavior before touching the code), safe extraction in small steps, and verification after every step. Do NOT use for bug fixes or new features — those follow the TDD gate in rspec-best-practices. Do NOT mix structural changes with behavior changes in the same step.

$ git log --oneline --stat
stars:16
forks:3
updated:May 6, 2026 at 07:34
File Explorer
6 files
SKILL.md
readonly