What problem does it solve? Bug fixes often balloon into unrelated refactors, renames, and cleanups that introduce new regressions and make reviews painful. This Skill enforces a disciplined patching workflow that changes only the layer responsible for the incorrect behavior and proves the fix with focused tests. ## Core Features & Use Cases - Root-Cause Tracing: Reproduce the failure when economical, then trace the symptom to the mechanism that owns the incorrect behavior. - Minimal Change Discipline: Modify only the narrowest responsible layer while preserving unrelated behavior and existing user changes. - Regression Proof: Add only task-relevant regression tests, then run the focused proof plus the nearest affected gate before stopping. - Use Case: A validation function rejects valid input after a recent change. Use this Skill to reproduce the failure, patch only the validation logic, and add a single regression test proving the fix without touching surrounding code. ## Quick Start Use $surgical-patch to fix this bug with a narrow verified change.