← Back to skills
Engineering & DevOps · Made here

Bug Triage

bug-triage · error · report → fix

Reproduces the bug, isolates it with logs and bisection, finds the root cause, fixes it with a regression test, and checks nothing else broke.

Download SKILL.mdAdd to a recipe
Watch the demo0:55
Borrow a skill and use it0:55
In Claude (connector)install_skill("bug-triage")
CLIlendskill install bug-triage

SKILL.md

---
name: bug-triage
description: Triage and fix a bug — collect the evidence, reproduce it reliably, isolate (logs, bisect, minimal repro), find the root cause, fix it with a regression test, and verify. Use for errors, stack traces, 'this is broken', flaky behavior or production incidents.
license: Proprietary — Lendskill original
---

# Bug Triage

1. **Evidence**: exact error text and stack trace, steps, expected vs actual, environment (versions, OS, browser), when it started, what changed (deploys, dependency updates).
2. **Reproduce**: smallest reliable steps or a failing test. If you can't reproduce, add logging at the suspected boundaries rather than guessing.
3. **Isolate**: read the stack trace from the first frame in the user's code; check inputs at each boundary; `git bisect` between a good and bad commit when there is one.
4. **Root cause**: state it in one sentence that explains every symptom. If it doesn't explain them all, keep looking.
5. **Fix**: the smallest change that addresses the cause (not the symptom). Keep the user's names and structure. Add a regression test that fails before and passes after.
6. **Verify**: run the full test suite; check related code paths with the same pattern.
7. **Report**: cause, fix, test, and anything to watch. Severity and whether users need to be told (data loss, security).

## Output format
- Symptom and reproduction steps
- Root cause in one sentence with file:line
- The fix (diff) and the regression test
- Test-suite result and severity / who needs to know

Supporting files (0)

  • None — SKILL.md only