safe-refactor
Restructure code while preserving behavior. Use for extraction, consolidation, ownership moves, or cleanup where verification must bracket structural edits.
- 110,727
- installs
- 0 up / 0 down, score 0.00
- votes
- 115,798
- repo stars
- Updated
- less than a month ago
- In the catalog since
- 18 Sept 2026
- From
- juliusbrussee/caveman
Skill instructions
Rendered from the published SKILL.md, 12 lines.
Safe refactor
Define behavior-preservation boundary and establish verification before structural edits.
- Keep feature changes outside refactor.
- Move one ownership boundary at a time.
- Preserve public interfaces, failure behavior, ordering, and compatibility unless explicitly scoped.
- Keep intermediate states buildable and testable.
- Avoid dependency or configuration growth without correctness need.
Run same proof after change. Stop when behavior matches and requested structure is achieved.