← Files CavemanARCHIVED FILE

skills/surgical-patch/SKILL.md

663 Bytes · Sep 30, 2026 · 23:17 UTC

↓ Download file

---
name: surgical-patch
description: Use when a narrow regression or defect should be fixed at the responsible layer while preserving surrounding
  behavior and proving the patch with focused tests.
---

# 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.

SHA-256: d905f73a88ec24e0b3418817a2cd414f2d09c183e115de2139d83067215f0fd9