/proof:proof-fixfrom proof
Guides root-cause debugging: reproduce the bug, find the cause, fix with a regression test, and open a PR. For any broken behavior.
Ships in proof. 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.
For bugs. A feature starts from what should exist; a bug starts from something that does not work, and the expensive mistake is fixing the symptom. So this skill has one rule above all others:
No fix without the root cause. A fix that does not address the cause moves the bug somewhere harder to find.
/proof-fix "the paywall stays open after subscribing"
/proof-fix 31 # a bug that already has an issue
Read _partials/config.md, _partials/voice.md, _partials/priority.md and
_partials/builder.md first.
Then project.docs, and any learnings.file entries touching the area — say which you
are applying.
Get it concrete before touching anything: what happens, what should happen, where, for whom, how often, and since when. One question at a time. "The paywall is broken" is not a symptom; "after a successful purchase on iPhone the paywall stays open with the Subscribe button still showing" is.
Also establish severity, because it changes what comes first:
_partials/priority.md. For a bug, value is the
cost of leaving it broken — who hits it and how badly.If there is no issue, first check whether it is already reported — the light overlap
check in _partials/overlap.md. A match means working that issue instead, with the new
details added as a comment; a match that was closed as fixed may mean the bug came back,
which is worth saying before you look for the cause. Only then create one: the symptom
as the title, the details in the body, the bug label, and the P-label from the rating.
If there is one, read it. Already in_progress with a checkpoint: this is a resume
(see Resuming in step 5). Already in_progress with no checkpoint: it was claimed
some other way, so stop and ask rather than guessing. Otherwise, claim it: in_progress
on, board to in_dev, per _partials/board.md.
Make it happen, on purpose, before changing any code. A bug you cannot reproduce is a bug you cannot confirm you fixed.
Trace from the symptom back to the cause:
Then state it as one testable sentence: "Root cause: …" — and prove it before fixing it. A log line, an assertion, or the failing test showing exactly what you predicted. A hypothesis you have not checked is a guess.
Three strikes. If three hypotheses turn out wrong, stop and ask, with options: keep going with a named new hypothesis, add logging and wait for it to happen again, or treat it as a design problem that needs a spec. Do not try a fourth guess silently.
Stay in the area. Once the cause is found, edit only what the fix needs. Anything else you notice goes on the discovered-work list.
Present, per _partials/voice.md:
_partials/builder.md. The root cause
is proven by now, so the rating rests on the actual fix, not a guess about itThen wait for approval. After that, run to a PR without stopping, as /proof-work does.
Who fixes follows the approval, per _partials/builder.md: the proof-builder agent
on the chosen model, given the root cause and the reproduction, or this session for
approve, here. The rules below hold either way.
The smallest change that removes the cause. Not the symptom: no special-casing the one input that failed, no retry around something that should not fail, no "for now".
Write a regression test that fails without the fix and passes with it. Run it both
ways and say so — a test that passes either way proves nothing. If commands.test is
null there is nowhere to put one: describe the manual repro check instead, and add
"no automated tests for this area" to discovered work.
Commit with (refs #{n}). Keep the checkpoint note current, per /proof-work,
including its Builder and Plan lines; the plan comment for a fix also holds the
root cause and the reproduction.
Resuming. A bug issue that is already in_progress with a checkpoint resumes as
/proof-work does (its section 1, and _partials/builder.md section 5): reconcile with
the branch's commits, then carry on from Next on the checkpoint's builder. The root
cause is already proven; do not re-investigate it unless the reproduction no longer
fails the way the plan comment says.
verify.steps yourself, in this session — with a builder, after it reports done;
failures go back to it, and two failed fix attempts escalate to Opus, per
_partials/builder.md. Re-run the original reproduction and confirm it is gone. Surface
verify.manual for the user — never claim a manual check./proof-work._partials/changelog.md, add a line under Fixed — the experience
that was broken, and what it does now._partials/learnings.md,
written as a gotcha: the condition and the consequence. If the area keeps breaking,
say that too; it is the most useful thing the record can hold./proof-work, with a Root cause section above the verification:
what was wrong, why, and how the test proves it is fixed. Board → in_review._partials/discovered.md.The PR URL, the root cause in one line, and the verification results — including what still needs a human check.
Then ask what to do next, per _partials/chain.md — never start the next step unasked. The next link is the same as after
/proof-work: review.
If users are losing data, money is being taken wrongly, or the app is down: stopping the harm comes first, and it is allowed to be a mitigation rather than a fix — turning a feature off, reverting the change that caused it. Say clearly that it is a mitigation, ship it through the normal PR, and leave the issue open for the root cause, which then gets this whole process. A mitigation that quietly becomes the permanent fix is how the same fire starts twice.
What SKILL.md sets; muted values are Claude Code's defaults
opusnpx claudepluginhub jsamitt/proof-claude-plugin --plugin proof11 skills in this plugin
/proof-designUse when setting up or checking a project's design system — not part of every issue. Establishes a design system where a project has none, wire an existing one into the harness so the other skills obey it, or report drift between the tokens and the code — detects which of the three applies rather than being told/proof-handoffUse when a design made in a design tool is ready to be built — checks it against the codebase before anything is built (what exists, what is new, what cannot be built as drawn, which states are missing), writes the revisions for the design tool, repeats until it is clean, then records the approved design in the issue and marks it ready. Between spec and work, for designs made elsewhere/proof-initUse once per project — not part of every issue — when setting up the Proof harness for the first time, or when its configuration is out of date — inspects the repo, asks what it cannot infer, and writes .claude/harness.json plus the GitHub board and labelsOther plugins' skills for the same job