Agent Skills
› JuliusBrussee/caveman
› surgical-patch
surgical-patch
GitHub用于修复Bug和微调行为,强调在最小责任层进行精确修改,确保回归测试通过且不影响周边代码。
触发场景
需要修复已知Bug
执行小范围行为变更
要求严格保留周围代码逻辑
安装
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.
版本历史
- 12aa8cc 当前 2026-08-16 08:55


