surgical-patch
作者: juliusbrussee
在最狹窄的負責層級修復錯誤與小幅行為變更。當回歸驗證、保留周邊行為,以及與任務相關的測試都很重要時使用。
npx skills add https://github.com/juliusbrussee/caveman --skill surgical-patchSurgical patch
Reproduce failure first when economical; otherwise capture strongest available evidence.
- Trace symptom to responsible mechanism.
- Change narrowest layer that owns incorrect behavior.
- Preserve unrelated behavior and user changes.
- Avoid cleanup, renaming, and abstraction outside fix.
- Add only regression proof relevant to task.
Run focused proof plus nearest affected gate. Stop when failure is fixed and regression proof passes.