safe-refactor
작성자: juliusbrussee
동작을 유지하면서 코드를 재구성합니다. 추출, 통합, 소유권 이동 또는 정리에 사용하며, 검증이 구조적 변경을 수반해야 하는 상황에 적합합니다.
npx skills add https://github.com/juliusbrussee/caveman --skill safe-refactorSafe 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.