Surgical Patch skill for Claude

Fix bugs and small behavior changes at the narrowest responsible layer.

When Claude uses it

Use when regression proof, preserved surrounding behavior, and task-relevant tests matter.

Surgical Patch SKILL.md

The full skill file from JuliusBrussee/caveman (Apache-2.0).

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.

How to install Surgical Patch

Claude Code

Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):

npx degit JuliusBrussee/caveman/skills/surgical-patch#main ~/.claude/skills/surgical-patch

Codex

npx degit JuliusBrussee/caveman/skills/surgical-patch#main ~/.codex/skills/surgical-patch

Claude.ai and Claude Desktop

Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.

Frequently asked questions

+What does the Surgical Patch skill do?

Fix bugs and small behavior changes at the narrowest responsible layer. Use when regression proof, preserved surrounding behavior, and task-relevant tests matter.

+How do I install Surgical Patch in Claude Code?

Copy the skill folder into ~/.claude/skills/surgical-patch, for example with "npx degit JuliusBrussee/caveman/skills/surgical-patch#main ~/.claude/skills/surgical-patch". Claude Code loads it automatically and uses it when a task matches.

+Does Surgical Patch work with ChatGPT or Codex?

Yes. Surgical Patch uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/surgical-patch. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.

+Is Surgical Patch free?

Surgical Patch is published on GitHub by JuliusBrussee under the Apache-2.0 license, which allows free use.

Related testing & code review skills

  1. Agent Browser

    Official

    Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms,…

    vercel-labs/agent-browser★ 53k
  2. Playwright

    Official

    Use when the task requires automating a real browser from the terminal (navigation, form filling, snapshots, screenshots, data extraction,…

    openai/skills★ 29k
  3. Playwright Skill

    Complete browser automation with Playwright. Auto-detects dev servers, writes reusable test scripts, and supports screenshots, responsive…

    lackeyjb/playwright-skill★ 3.3k
  4. Browser Testing With Devtools

    Tests in real browsers via Chrome DevTools MCP. Use when building or debugging anything that runs in a browser.

    addyosmani/agent-skills★ 119k
  5. Constraint Driven Development

    Establishes a project's quality bar as a written contract and stops agents quietly lowering it.

    addyosmani/agent-skills★ 119k
  6. Idea Refine

    Refines raw ideas into sharp, actionable concepts through structured divergent and convergent thinking.

    addyosmani/agent-skills★ 119k
  7. Test Driven Development

    Drives development with tests using the red-green-refactor loop. Use when implementing any logic, fixing any bug, or changing any behavior.

    addyosmani/agent-skills★ 119k
  8. Babysit

    Watch a pull request or review cycle until it is ready to merge.

    thedotmack/claude-mem★ 118k
  9. Mode Creator

    Interactively create, install, activate, and verify custom claude-mem modes, including domain-specific observation types, concept tags,…

    thedotmack/claude-mem★ 118k

See all testing & code review skills →

More skills from JuliusBrussee

  1. Ultracave

    Caveman at maximum compression: fragments, one word when one word is enough, each fact once. Invoke only with /ultracave or /caveman ultra.

    JuliusBrussee/caveman★ 121k
  2. Verify And Stop

    Prove existing work meets acceptance conditions without expanding scope.

    JuliusBrussee/caveman★ 121k
  3. Caveman

    Terse caveman voice: answer first, fluff gone, every technical fact kept.

    JuliusBrussee/caveman★ 121k

All skills by JuliusBrussee →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.