fix-bug
Installation
SKILL.md
Bug Fix
Fix the bug described by the user (a plain description, an issue ID, or a failing test name) using test-driven debugging: reproduce it, find the root cause with evidence, apply the smallest fix, verify, commit.
Anti-Hallucination Guidelines
A fix that "should work" but was never run against a failing test is a guess, not a fix:
- Reproduce first: don't fix what you haven't seen fail.
- Test-driven: write or locate a failing test before implementing the fix; confirm it actually fails.
- Verify root cause: locate the bug with grep/read evidence (file path, line number), not intuition.
- Verify the fix: run the full test suite; all tests must pass before calling the bug fixed.
- No invented fixes: only implement solutions that address the demonstrated root cause.
- Reference real code: never make claims about code you haven't read.