Agent Skills
› JuliusBrussee/caveman
› surgical-patch
surgical-patch
GitHub用于修复特定层级的Bug或微小行为变更,强调最小化修改范围、保留无关行为并添加回归测试。适用于需要精准定位故障机制且严格防止回归的场景。
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


