agents/openai.yaml
interface: display_name: "Safe Refactor" short_description: "Preserve behavior through structural change" default_prompt: "Use $safe-refactor to restructure this code while preserving behavior."
juliusbrussee/caveman · GitHub
동작을 유지하면서 코드를 재구성합니다. 구조적 수정을 수행하기 전에 반드시 검증 과정을 거쳐야 하는 경우, 코드의 추출, 통합, 소유권 이전 또는 정리 작업에 사용합니다.
프로젝트 폴더에서 아래 명령어를 실행하고, 설치할 에이전트를 선택하세요.
npx skills add juliusbrussee/caveman --skill safe-refactor설치 명령을 직접 실행해야 적용됩니다. 지원 에이전트와 필요한 권한·라이선스는 제작자의 안내를 확인하세요.
agents/openai.yamlinterface: display_name: "Safe Refactor" short_description: "Preserve behavior through structural change" default_prompt: "Use $safe-refactor to restructure this code while preserving behavior."
SKILL.md--- name: safe-refactor description: Restructure code while preserving behavior. Use for extraction, consolidation, ownership moves, or cleanup where verification must bracket structural edits. --- # 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.