Refactor Safely

Use when restructuring existing code without intending to change its behavior — extracting functions, renaming across files, splitting modules, or swapping an implementation. Makes the agent pin current behavior with tests first, change in small verified steps, and prove behavior is unchanged, so a "cleanup" never silently breaks something.

buildmoonshot ad9fd88 2 files · 3.5 KB Updated

File contents

buildmoonshot/skillpacks/tree/main/skills/engineering/expert/refactor-safely commit ad9fd88092

Frequently asked questions

npx skillmds@latest add buildmoonshot/refactor-safely