fix-bug
Installation
SKILL.md
Bug Fix
Fix the bug the user describes. It might arrive as a plain description, sometimes as an issue ID, occasionally just the name of a failing test. Work test-driven: reproduce the failure first. Track down the root cause with evidence. Apply the smallest fix that resolves it, run the tests, 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.