Agent Skills
› JuliusBrussee/caveman
› surgical-patch
surgical-patch
GitHub针对特定缺陷或行为变更,在最小责任层进行精准修复。优先复现问题,追溯根本原因,仅修改必要代码以保留周围行为,添加回归测试并验证通过,确保无副作用。
Trigger Scenarios
需要修复已知 Bug
执行微小行为调整
要求严格保留现有功能且防止回归
Install
npx skills add JuliusBrussee/caveman --skill surgical-patch -g -y
SKILL.md
Frontmatter
{
"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.
Version History
- 12aa8cc Current 2026-08-16 08:55


