/harness-debug:staged-diagnosisfrom harness-debug
Guides debugging through six ordered stages: reproduce, minimise, hypothesise, instrument, fix, regression-test. Each stage produces evidence for the next. Use on crashes, tracebacks, silent wrong answers, intermittent flakes.
Ships in harness-debug. 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.
The six stages are ordered because each one produces the evidence the next one runs on, and a stage is finished when it has produced that thing. Each edit made before its stage has produced evidence is one the next investigation has to account for.
Diagnosis runs on signal, so it depends on the code failing loudly: an error that stops and says what happened, rather than a fallback that quietly substitutes a default and lets the run continue looking healthy. When the investigation meets a swallowed exception or a silent default, that is a finding to record and usually to fix — the failure being diagnosed may be the second symptom of it.
This order settles objective failures — crashes, wrong values, malformed or missing output, a check that returns FAIL. Those are self-fixed until they pass, and the passing evidence goes in the report.
Judgments of look, sound, taste, or tone are a different question, and a passing objective check is not an answer to it. Once the artifact is physically sound, that call belongs to a human. (With harness-core installed, sensory-gate runs that hand-off.)
Each stage names its output above; the diagnosis is done when all six exist and can be shown — the trigger, the minimal case, the written hypothesis, the measurement, the edit, and the regression evidence. Missing outputs are where a stage was skipped, and a skipped stage is where the next investigation will start.
Two failed attempts at the same cause end the run — a cause that got fixed is closed and its attempts are gone; only an unfixed repeat counts: hand over the whole trail, refuted hypotheses included, since they are what the next attempt spends its budget on not repeating. (With harness-core installed, workorder holds the full definition of the two-strike rule.)
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub 3xachris/3xa-harness --plugin harness-debugOther plugins' skills for the same job