No slash command · from verdict
Traces a failure to its root cause using a four-link chain (symptom, mechanism, origin, class) with evidence. Includes counterfactual proof, trigger/cause separation, and fix-location diagnosis. Use on failing tests, bug reports, or disputed findings.
Ships in verdict. 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.
A plausible causal story reads as true and almost nobody checks it. A cause is a claim like
any other: evidence or HYPOTHESIS:.
In Claude Code with the Verdict plugin, use /verdict:cause <symptom>. This skill is
the same procedure for agents that cannot run it.
Reproduce first. An unreproduced symptom has no cause worth naming — say what is
missing and stop (blocked).
Classify before explaining (see verdict-flaky-triage): a brittle test and a real
defect have different causes and different owners.
Build the chain, one citation per link:
| Link | The question | What settles it |
|---|---|---|
| Symptom | What was observed? | The failing output, exact excerpt |
| Mechanism | What sequence produces it? | The values and lines that carry it: read at A:12 ← set at B:40 ← from input C |
| Origin | Where did it enter? | git log -S / -L, blame or bisect naming the commit |
| Class | Instance or pattern? | A search for the same shape, with the hits — or the pattern searched and "the only site" |
The class link is not optional: a fix aimed at the reported instances leaves the pattern
alive. One class is one finding — list the other sites under root_cause.class.sites
rather than filing them separately.
Prove causation, strongest first: counterfactual (flip the suspected cause in a
scratch copy — never the checkout — and show the symptom flips with it; the scratch must
import its own source and its own bytecode, and the control runs in the failing
direction: original source back, symptom gone; details in verdict-verify-fix) ·
differential (same operation succeeds here and fails there; name the one variable) ·
archaeology (the symptom appears exactly at commit C, and C touches the mechanism) ·
reading (the weakest: it cannot tell you what else also does it).
Separate three things people call "the cause": the trigger (what made it visible now — fixing it hides the defect), the cause (the code or contract that is wrong — what the fix targets), the latent condition (what let it exist and survive — a missing test, an unenforced invariant; left alone it produces the next instance).
Depth rule: keep asking "and why did that hold?" only while each answer has
evidence. The first answer without evidence ends the chain, labelled HYPOTHESIS: with
the one experiment that would settle it. A short true chain beats a long invented one.
Stop at diagnosis. Name where the fix belongs — code, test, spec, environment or process. Writing the fix is not yours.
Record the chain in the finding's root_cause (mechanism, origin,
class{pattern, sites[]}, trigger, latent_condition, fix_location,
proof{method, evidence}, confidence) so the next run inherits the diagnosis; the
harness resolves the origin commit's date and reports how long the defect lived before
detection.
Verdict reports and specifies; it never fixes. Route the fix to the implementer, then
verify it (verdict-verify-fix).
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
root-cause-analysis, debugging, causal-chain, failure-analysis
5 skills in this plugin
/verdict-flaky-triageClassify an intermittent test failure with evidence — REAL_DEFECT, STALE_EXPECTATION, BRITTLE_TEST, ENVIRONMENT or FLAKY — and decide quarantine with a mandatory expiry. Use when a test fails one run in five, when CI is "just flaky", or before anyone skips a test./verdict-release-riskRun a measured, skeptical QA pass on a repository and produce a release verdict you can defend — evidence-cited findings, a stated not-tested list, baseline → delta memory. Use before a merge or release, after a feature lands, or for a scheduled QA run. Reports and specifies; never fixes./verdict-spec-reviewJudge a specification, issue or PRD for testability before any code exists — inventory the requirements, find the untestable, contradictory, unbounded and silent ones with a verbatim quote each, and rewrite the core as Given/When/Then acceptance criteria. Use when a spec is about to be implemented./verdict-verify-fixProve that a fix fixed the defect — re-run the guarding test at the previous commit and at HEAD, re-inject the defect in an isolated scratch copy, and let the harness record fix_verified from measurement, never from a claim. Use after you (the coding agent) fixed a finding and before you call it done.npx claudepluginhub artjack/verdict --plugin verdictOther plugins' skills for the same job