debug-triage
Installation
SKILL.md
Debug Triage
What this skill does
- Reproduces issues, isolates root causes, and applies minimal fixes.
- Verifies fixes with targeted tests and documents findings.
- Produces a concise bug report when reproduction is possible.
When to use it
- Trigger phrases: "debug", "bug", "failure", "crash", "flaky test".
- Use for runtime errors, test failures, or unexpected behavior.
Step-by-step workflow
- Gather context: expected vs actual behavior, error output, logs, environment details, and recent changes.
- Reproduce with the smallest reliable steps; if not reproducible, ask for missing info or add targeted logging.
- Trace the code path and form specific root-cause hypotheses (include config, data, and concurrency where relevant).
- Validate hypotheses with evidence from code, logs, or targeted tests; rule out alternatives.
- Apply a minimal fix aligned with project patterns; avoid unrelated refactors.
- Verify: rerun reproduction steps and relevant tests; note any regression risks.
- Document root cause, fix, tests, and remaining risks or follow-ups.