skill · Testing & QA
Surgical Patch
by JuliusBrussee
Fix bugs and small behavior changes at the narrowest responsible layer. Use when regression proof, preserved surrounding behavior, and task-relevant tests matter.
- Claude Code
- Codex
- Cursor
- GitHub Copilot
- Gemini CLI
- ★ 122k on GitHub
- Updated 2026-11-22
- Apache-2.0
Calyban is a free desktop app. It checks Surgical Patch for red flags before installing, lets you choose the agent and folder, and undoes it in one click.
Install Surgical Patch manually
Prefer the terminal? This does the same thing as Calyban's install.
Claude Code
git clone --depth 1 https://github.com/JuliusBrussee/caveman.git calyban-tmp-surgical-patch
mkdir -p ~/.claude/skills
cp -r calyban-tmp-surgical-patch/skills/surgical-patch ~/.claude/skills/surgical-patch
rm -rf calyban-tmp-surgical-patchCodex
git clone --depth 1 https://github.com/JuliusBrussee/caveman.git calyban-tmp-surgical-patch
mkdir -p ~/.codex/skills
cp -r calyban-tmp-surgical-patch/skills/surgical-patch ~/.codex/skills/surgical-patch
rm -rf calyban-tmp-surgical-patchStart a new Claude Code, Codex & more session afterwards so it picks up the change.
Similar skills
Migrate To ShoehornmattpocockMigrate test files from `as` type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace `as` in tests, or needs partial test data.Setup Pre CommitmattpocockSet up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time…TddmattpocockTest-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.Finishing A Development BranchobraUse when implementation is complete, all tests pass, and you need to decide how to integrate the workSystematic DebuggingobraUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesTest Driven DevelopmentobraUse when implementing any feature or bugfix, before writing implementation code
Guides
Listed in the public Calyban catalog. Surgical Patch is made by JuliusBrussee, not Calyban. Inclusion isn't an endorsement and safety checks aren't a guarantee.