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


