🩹
QualityGo

Surgical Patch

by JuliusBrussee

Surgical Patch is a Quality skill for Claude Code, published by JuliusBrussee in caveman.

97.8K stars5.6K forkson JuliusBrussee/cavemanAdded 2026/08/13Repository updated 2026/08/13
aianthropiccavemanclaudeclaude-codellmmemeprompt-engineeringskilltokens
Install in seconds
Install Surgical Patch
Copy Surgical Patch into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/JuliusBrussee/caveman/tree/main/skills/surgical-patch ~/.claude/skills/surgical-patch

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/JuliusBrussee/caveman.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/surgical-patch/SKILL.md in JuliusBrussee/caveman
Installs to
~/.claude/skills/surgical-patch
Collection
One of 20 skills cataloged from this repository
Category
Quality1354 skills

What Surgical Patch does

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

Surgical Patch is cataloged under Quality on DirSkills. Surgical Patch comes from a repository tagged ai, anthropic, caveman, claude and claude-code.

Documentation

README

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.

Frequently asked about Surgical Patch

  • What else does JuliusBrussee publish alongside Surgical Patch?

    Surgical Patch is one of 20 skills that DirSkills catalogs from JuliusBrussee/caveman, the repository it ships in. Its siblings there include Cavecrew, Caveman and Caveman Commit. Each one is a separate skill with its own page in this directory, installs the same way Surgical Patch does, and is maintained by JuliusBrussee in that same repository. The rest of the collection is listed on the JuliusBrussee/caveman page.

  • How does Surgical Patch compare to other Quality skills?

    Surgical Patch ranks #17 by stars among the 1354 Quality skills in this catalog. The most-starred ones next to it are Benchmark, Benchmark Optimization Loop and API Design Patterns. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Surgical Patch against them. Open each page to compare what they document and how they install.

More from JuliusBrussee/caveman

Surgical Patch is one of 20 skills cataloged on DirSkills from JuliusBrussee/caveman.

See all 20 skills
🗜️
3w ago

Cavecrew

Cavecrew provides a decision guide for when to spawn caveman-style subagents — investigator, builder, reviewer — to locate code, make small edits, or review diffs, returning compressed output that saves main context. Use it when delegating tasks in Claude Code to reduce token usage.
AI Engineering
97.8K5.6K
🗿
3w ago

Caveman

Caveman compresses AI output into terse, technically accurate caveman-style responses, cutting token usage by 65% while preserving meaning. Use when the user requests caveman mode, brevity, or token efficiency.
AI Engineering
97.8K5.6K
✍️
3w ago

Caveman Commit

Caveman Commit generates concise Conventional Commits messages that cut noise while preserving intent and reasoning. Use it when asked to write a commit message or when staging changes.
AI Engineering
97.8K5.6K
🗜️
3w ago

Caveman Compress

Caveman Compress compresses natural language memory files (CLAUDE.md, todos, preferences) into caveman-speak to save input tokens, preserving code, URLs, paths, and structure. It backs up the original and overwrites the file.
Automation
97.8K5.6K
🏷️
3w ago

Caveman Discover

Caveman Discover finds every LLM workflow in the current repository and labels it so Caveman Cloud groups spend by what the code actually does. Use when the user asks to discover workflows or break LLM spend down by workflow.
AI Engineering
97.8K5.6K
📊
3w ago

Caveman Evidence Review

Caveman Evidence Review reads Caveman Cloud data read-only, covering costs, Cave Score, Cave Plan, workflows, traces, latency, errors, compression, routing, and verified savings. Use it when you need to know where LLM spend goes, why cost or quality changed, or which workflows need attention.
Data
97.8K5.6K