surgical-patch
This skill fixes bugs and small behavior changes at the narrowest responsible layer, preserving surrounding behavior and user modifications while avoiding unnecessary cleanup, renaming, or refactoring. Use it when regression proof and task-relevant tests matter. It helps developers quickly trace symptoms to root causes, minimize the change set, and verify fixes with focused tests, reducing regression risk and enhancing code stability. This leads to faster, safer bug fixes in real development.
npx skills add https://github.com/juliusbrussee/caveman --skill surgical-patchBefore / After Comparison
1 组Without this skill, developers often locate defects blindly, expanding changes that cause regressions in surrounding modules, and lack targeted regression proof, leading to longer fix times.
This skill traces symptoms to the narrowest responsible layer, keeps changes focused and preserves user modifications, and verifies through focused regression tests, reducing fix time while preserving surrounding behavior.
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.
User Reviews (0)
Write a Review
No reviews yet
Statistics
User Rating
Rate this Skill