/debugging-diagnostics:failure-triagefrom debugging-diagnostics
Triages unknown CI or production failures by categorizing the error, locating the origin in first-party code, and checking recent git history before committing to a fix.
Ships in debugging-diagnostics. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Before diving deep into a stack trace or spending hours reproducing a bug, triage it to determine the blast radius, subsystem, and debugging approach. Do not start writing fixes until you have explicitly stated your triage hypothesis and confirmed the category.
Categorize the failure:
Locate the origin. Scan the stack trace. Ignore framework/library internals. Find the highest frame that belongs to the first-party application code:
# surface first-party frames (adjust the path filter to the repo layout)
grep -n "src/" stacktrace.txt | head -20
Check recent changes. Most bugs are in the newest code:
git log -n 5 --oneline
git diff HEAD~5 --stat
git log -n 10 --oneline -- <suspect-file-or-dir>
Formulate a hypothesis. State clearly: "I suspect this is an environment error caused by missing configuration, originating in src/config.ts."
git log is the cheapest triage tool available; check it before anything expensive.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub yeaight7/agent-powerups --plugin debugging-diagnostics8 skills in this plugin
/bug-huntUse when reproducing, isolating, and fixing a bug with the smallest safe change./flaky-test-investigationUse when tests pass and fail intermittently without code changes, or a test passes alone but fails in the full suite./incident-readoutUse when a bug fix or complex debugging session concludes and a blameless post-mortem summary is needed for human review.Other plugins' skills for the same job