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


