/surgical-patch
修 bug 或做小幅行為調整時,只在最貼近問題根源的那一層動手,範圍盡量窄;改完要證明沒有退步,周圍其他行為也沒被牽動,並跑過跟這次改動相關的測試。
- 安裝次數
- 11.2 萬
- 專案星數
- 11.7 萬 ★
- 授權
- Apache-2.0
- 專案更新
- 2026-11-02
什麼時候用
修 bug 或做小幅行為調整時用;跟 safe-refactor 不同,這裡預期行為會改變,但改動範圍要盡量窄。
怎麼裝
npx skills add https://github.com/JuliusBrussee/caveman --skill surgical-patch安裝前請先看過原文內容。中文說明是 AI 翻譯,不保證安全。
原文
Fix bugs and small behavior changes at the narrowest responsible layer. Use when regression proof, preserved surrounding behavior, and task-relevant tests matter.