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.