Skip to content
cccskills
FreePublished on GitHub

surgical-patch

Fix bugs and small behavior changes by tracing the cause and editing the smallest responsible part of the code. Preserve surrounding behavior and existing user changes, then run focused checks to confirm the fix and guard against recurrence.

OriginalShow the original description

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

See how to install

Good for

  • Fixing a bug without changing surrounding behavior
  • Making a small, targeted behavior change
  • Adding a test to prevent a specific bug from returning

Files included (2)

  • SKILL.md664 B
  • agents/openai.yaml194 B

SKILL.md (original)

Review the instructions the agent will receive before you install.

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.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

cavecrew

FreeSummary

Delegate code lookup, small edits, and diff reviews to three specialized subagents. Their compact, structured results help conserve the main agent's context, with guidance on when to delegate and when to keep work in the main conversation.

  • Locating definitions and callers
  • Making a focused edit across one or two files
  • Reviewing a diff for bugs
JuliusBrussee/caveman113.6KUpdated Oct 18, 2026

caveman

FreeSummary

Make agent replies shorter and easier to scan by putting answers first and removing filler. Preserves technical details, exact commands, numbers, and essential conditions while keeping the user's chosen language.

  • Reading concise replies in a terminal
  • Getting conclusions before explanations
  • Reducing wording while keeping technical details
JuliusBrussee/caveman113.6KUpdated Oct 18, 2026

caveman-commit

FreeSummary

Create short commit messages using Conventional Commits, a format that labels the type of change. Emphasize intent, keep the subject concise, and include explanatory text when breaking changes, security fixes, data migrations, or reversions require context.

  • Writing a commit message for code changes
  • Standardizing commit message format
  • Documenting breaking changes and migration steps
JuliusBrussee/caveman113.6KUpdated Oct 18, 2026

caveman-compress

FreeSummary

Compress memory files and task lists into shorter wording to reduce input tokens. Keeps code and document structure intact, saves a readable backup separately, and sends the text to the configured model provider.

  • Shortening CLAUDE.md to reduce input tokens
  • Compressing task lists and preference files
  • Keeping readable backups of compressed files
JuliusBrussee/caveman113.6KUpdated Oct 18, 2026

caveman-discover

FreeSummary

Find LLM workflows in a codebase and label them by the job they perform, so Caveman Cloud can separate spending by workflow. Present a labeling proposal for approval, apply focused code changes, and check an affected execution path.

  • Breaking down LLM spending by job
  • Inventorying LLM use in APIs, scheduled jobs, and scripts
  • Separating evaluation spending from other workflows
JuliusBrussee/caveman113.6KUpdated Oct 18, 2026

Review Caveman Cloud spending, latency, errors, and potential improvements using current reports and traces, or individual execution records. Produce findings tied to time windows and trace IDs, while keeping measured costs, estimated opportunities, and verified savings separate.

  • Understanding which workflows drive LLM spending
  • Investigating slow responses and errors
  • Reviewing measured costs and verified savings separately
JuliusBrussee/caveman113.6KUpdated Oct 18, 2026

See all skills by JuliusBrussee

Report a problem with this skill