S

surgical-patch

by @juliusbrusseev
4.8(120)

该技能专注于以最窄责任层修复代码缺陷和微小行为变更,保留无关行为与用户改动,避免不必要的清理、重命名或重构。适用于需要回归证明与任务相关测试的场景,帮助开发者快速定位问题根因,最小化变更集,通过聚焦测试验证修复,显著降低回归风险,提升修复效率与代码稳定性。

bug-fixingregression-testingminimal-changecode-qualityGitHub
安装方式
npx skills add https://github.com/juliusbrussee/caveman --skill surgical-patch
compare_arrows

Before / After 效果对比

1 组
使用前

在没有此技能时,开发者遇到缺陷往往在代码中盲目定位,修改范围容易扩大,引发周边模块回归,且缺乏针对性的回归证明,修复时间较长。

使用后

该 Skill 沿缺陷症状追踪至最窄责任层,改动聚焦且保留用户既有改动,通过聚焦回归测试快速验证,修复时间明显缩短,周边行为保持稳定。

SKILL.md

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.

用户评价 (0)

发表评价

效果
易用性
文档
兼容性

暂无评价

统计数据

安装量100.0K
评分4.8 / 5.0
版本
更新日期2026年10月22日
对比案例1 组

用户评分

4.8(120)
5
37%
4
43%
3
13%
2
5%
1
2%

为此 Skill 评分

0.0

兼容平台

🤖claude-code

时间线

创建2026年8月13日
最后更新2026年10月22日
🎁 Agent 知识卡片
调研问卷