refactor-safely¶
Refactor code without behavior changes using small mechanical steps and verification.
Workflow¶
- Identify the current behavior and public interfaces.
- Avoid broad rewrites unless they are explicitly justified.
- Make small mechanical changes.
- Preserve public APIs, data formats, and user-visible behavior.
- Run tests after meaningful steps.
- Update docs only if structure, commands, or contributor guidance changes.
Final report¶
State explicitly that behavior should be unchanged. List changed files, verification run, and any areas that need extra review.
Install¶
gh skill install s-hiraoku/claude-harnesses refactor-safely --scope project
Bundled into long-running-pack.