Agent SkillsJuliusBrussee/caveman › surgical-patch

surgical-patch

GitHub

针对特定故障进行最小范围代码修复,确保不影响周边行为。适用于需要回归测试保护、保持现有功能稳定的场景,优先复现问题并定位根本原因。

skills/surgical-patch/SKILL.md JuliusBrussee/caveman

Trigger Scenarios

需要修复已知 Bug 执行小范围行为调整 要求保留周围代码行为不变

Install

npx skills add JuliusBrussee/caveman --skill surgical-patch -g -y
More Options

Use without installing

npx skills use JuliusBrussee/caveman@surgical-patch

指定 Agent (Claude Code)

npx skills add JuliusBrussee/caveman --skill surgical-patch -a claude-code -g -y

安装 repo 全部 skill

npx skills add JuliusBrussee/caveman --all -g -y

预览 repo 内 skill

npx skills add JuliusBrussee/caveman --list

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

Same Skill Collection

plugins/caveman/skills/caveman-compress/SKILL.md
plugins/caveman/skills/caveman-stats/SKILL.md
plugins/caveman/skills/caveman/SKILL.md
skills/caveman-commit/SKILL.md
skills/caveman-compress/SKILL.md
skills/caveman-discover/SKILL.md
skills/caveman-evidence-review/SKILL.md
skills/caveman-explore/SKILL.md
skills/caveman-help/SKILL.md
skills/caveman-learn/SKILL.md
skills/caveman-manage/SKILL.md
skills/caveman-optimize/SKILL.md
skills/caveman-review/SKILL.md
skills/caveman-setup/SKILL.md
skills/caveman-stats/SKILL.md
skills/caveman/SKILL.md
skills/investigate-first/SKILL.md
skills/lean-build/SKILL.md
skills/migration/SKILL.md
skills/safe-refactor/SKILL.md
skills/verify-and-stop/SKILL.md
plugins/caveman/skills/cavecrew/SKILL.md
skills/cavecrew/SKILL.md

Metadata

Files
0
Version
81536f5
Hash
81ea9f7b
Indexed
2026-08-16 08:55

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-27 19:56
浙ICP备14020137号-1 $Carte des visiteurs$