Surgical Patch surgical-patch
Fix bugs and small behavior changes at the narrowest responsible layer.
Use it when regression proof, preserved surrounding behavior, and task-relevant tests matter.
Works in Claude, ChatGPT, Codex and more
- Our test
- 8/10✓ Verified
- tested Dec 6, 2026
- GitHub stars
- 125k
- juliusbrussee/caveman
- Added by
- 0
- members
- Updated
- Dec 6
- commit c1b12c1
- Content
- 2 files
- no scripts · 1 KB
- License
- Apache 2.0
- free to use
What our test found
The skill gives clear, practical guidance for minimizing bug-fix scope and proving the fix, though it leaves evidence selection and test-gate choices to judgment.
Request we tested it on“In our date-range filter, records on the selected end date are missing. Please fix the bug without changing other filtering behavior.”
Limits spotted
- The guidance does not define what counts as the strongest available evidence.
- It does not specify how to select the nearest affected gate when test suites are unclear.
name: surgical-patch description: Fix bugs and small behavior changes at the narrowest responsible layer. Use when regression proof, preserved surrounding behavior, and task-relevant tests matter.
Surgical 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.