Refactor safely
Refactor code without behavior changes using small mechanical steps and verification.From its SKILL.md
npx -y skills add s-hiraoku/claude-harnesses --skill refactor-safelyAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
0.7 KB, as published. Nobody here has run it
Refactor Safely
Use this workflow when improving structure without changing behavior.
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
Clearly state that behavior should be unchanged. Include changed files, verification run, and any areas that need extra review.