What problem does it solve?
This Skill helps you fix defects in existing code by forcing a disciplined workflow that starts with reproduction and ends with a minimal, verified root-cause fix.
Core Features & Use Cases
- Reproduce before repairing: capture a failing test, reliable manual repro, or concrete error evidence before changing code.
- Root-cause analysis: compare plausible causes, falsify rivals, and identify whether the defect lives in the caller, callee, or a shared assumption.
- Regression protection: keep the failing test as a lasting safeguard so the same bug cannot return unnoticed.
- Use Case: A checkout total stops updating after removing an item; use this Skill to reproduce the failure, isolate the broken logic, patch only the defect, and leave a regression test behind.
Quick Start
Use the bug-fix skill to investigate the broken behavior, reproduce the bug, write the failing test, and apply the smallest fix that addresses the root cause.