返回 Skills 目录
juliusbrussee/caveman已通过检查

SKILL DETAIL

surgical-patch

juliusbrussee/caveman/surgical-patch

surgical-patch 技能旨在以最窄的责任层修复缺陷和小行为变更。它强调在修复前尽可能复现失败,或捕获最强可用证据,然后追踪症状到责任机制,并仅修改拥有错误行为的最窄层。该技能要求保留无关行为和用户更改,避免超出修复范围的清理、重命名或抽象,并仅添加与任务相关的回归证明。最后,运行聚焦证明和最近的相关门禁,直到缺陷修复且回归证明通过。

安装量 · 981查看来源

Installation

npx skills add https://github.com/juliusbrussee/caveman --skill surgical-patch

技能文件

SKILL.md

最近同步 · 2026年8月29日

agents/openai.yaml
interface:
  display_name: "Surgical Patch"
  short_description: "Fix narrow responsible layer with proof"
  default_prompt: "Use $surgical-patch to fix this bug with a narrow verified change."
SKILL.md
---
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.
surgical-patch · 热门 Agent Skills | Mengbi