/proof:proof-specfrom proof
Turns an idea into a buildable GitHub issue or Discussion by checking for overlaps, exploring the problem, proposing approaches, writing user stories and acceptance criteria, rating priority, and managing the spec-draft workflow.
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.
Turns a thought into something you can build from without asking follow-up questions. This is the only planning stage — no separate idea tier, no separate technical spec.
A new idea ends in one of two places, and the skill always asks which: a GitHub issue (committed work, goes on the board) or a GitHub Discussion (a worked-out concept, deliberately not on the board). There is no mode to remember and no flag to pass — you are asked at the end, once the draft exists and the choice is an informed one. Speccing an issue that already exists skips that question: it is already an issue.
An issue waits at Spec Draft until the user approves the spec. Only an explicit approval moves it to Ready to Dev — choosing where it lands is not approval.
/proof-spec "unused streak freezes should carry over to next week"
/proof-spec 14 # spec an issue that already exists
/proof-spec d/7 # pick up Discussion #7 and finish it
Read _partials/config.md, _partials/voice.md, _partials/priority.md and
_partials/overlap.md first, and _partials/design-record.md when step 8 applies. Then project.docs and any learnings.file entries
touching this area — say which past decisions you are applying.
spec_draft, ask for approval, and only then move it to ready and apply what step 1 settled. A Discussion: write it, off the boardBefore anything else, run the full overlap check in _partials/overlap.md: open
issues, open Discussions, recently closed issues and the decisions file, against the idea
as stated. For /proof-spec <n>, check the issue against everything except itself.
If nothing overlaps, say so in one line and carry on. If something does, present the matches and settle each one with the user now, in this session — the answer often changes what the rest of the spec is about. Spec the existing issue instead switches straight to speccing that issue.
Settle, do not apply. Write down what was decided and carry it through the spec; the changes to other issues happen in step 10a once the spec is approved, or in step 10b when the Discussion is written. Put them in the draft's Notes ("On approval: closes #12 as a duplicate") so they survive a pause.
When the spec is for an issue that already exists — given as /proof-spec <n>, or reached
through Spec the existing issue instead — check where it stands before touching it. With
the board off, read its labels and open pull requests instead.
| Where it is | What to do |
|---|---|
in_dev or in_review, has an open pull request, or is closed | Stop and ask. Re-speccing work that is being built changes the ground under it. Offer: finish it first, stop it, or spec the change as a new issue |
ready | Its spec is already approved. Ask whether to re-spec it before changing anything |
| A parent with sub-issues | It stays at backlog for life (step 3). Spec it, but never move it to spec_draft or ready |
backlog, or already at spec_draft | Carry on |
Once the overlap check is settled and the user has committed to speccing this issue, move it
to spec_draft per _partials/board.md. Never before: a check that ends in "stop here"
leaves the issue as it was. Only the issue actually being specced moves. An issue that
was ready keeps its stage and ready label until the draft is posted in step 10a, and
gets them back if the user then answers Not now: its approved spec is still its body.
A draft already waiting? A waiting draft is the issue's one comment headed Spec
draft — awaiting approval that is not marked Approved or Superseded — or, for an issue
this skill created, its body while it has no ready label and no Spec approved
comment. Look for the comment, not the stage, so this works with the board off. An issue
with a Spec approved — waiting for the design comment is not waiting for approval. If
there is one, show it and ask: approve it as it is, revise it, or start again (mark the
old comment Superseded). Approving or revising goes straight to step 10a; the
settlements in the draft's Notes still apply, and steps 11 and 12 run afterwards, taking
the Spec capture from the draft's Approach and Notes.
Read the actual files this would touch before asking anything. Grounded questions ("the reminder time is stored per habit and per account — which should this follow?") are worth ten generic ones. Bring what you found into the conversation.
One question at a time, multiple choice where you can. Cover: what problem this solves, who hits it and when, and what changes once it exists. Two to four rounds — this is a spec, not a requirements phase.
Watch for the request that is really three requests. Never write one issue with three unrelated acceptance criteria — that issue cannot be finished, only abandoned. Say so, and offer three shapes:
| Shape | When |
|---|---|
| One issue after all | It only looked big; the pieces are one coherent change |
| Separate issues, shared label | 2–3 pieces that are genuinely independent and can ship in any order |
| A parent issue with sub-issues | 3+ pieces serving one goal, where the shared context is worth writing down once |
Recommend one and say why. For the parent shape, the parent holds the goal, the shared constraints and the running order; each child is independently buildable with its own acceptance criteria. Use GitHub's native sub-issue relationship, not a checklist of links in the body — native sub-issues track completion on their own.
The parent goes on the board at backlog and stays there for its lifetime; children
move through the stages independently. The parent is never worked directly.
Do not reach for the parent shape by default. A parent with one or two children is bureaucracy — it adds a layer that carries no information. If you cannot name shared context that would otherwise be repeated in each child, use separate issues.
Give 2–3 real options — not one plan plus two strawmen. Lead with your recommendation and the reason. For each: what it costs, what it risks, what it forecloses. Then let the user choose.
This step is where the harness earns its keep. A solo developer's failure mode is committing to the first idea; two credible alternatives on the table is the cheapest correction available.
Present them per _partials/voice.md: recommendation first, trade-offs in terms of what
the user experiences and what it costs, technical detail last. If the recommendation
genuinely hinges on something you could find out — a platform limit, a library's actual
behaviour — offer to research it, naming the question and how each answer changes the
call. Otherwise, recommend and move on.
Before the criteria, say who this is for and why, as user stories:
As a {specific user}, I want {goal} so that {reason}.
The contract /proof-work builds against and /proof-review reviews against. Each one
observable and checkable — a thing you could watch happen, not a quality you could
argue about.
- [ ] An unused freeze from last week is still available on Monday, up to a maximum of two
- [ ] Using a freeze on a missed day keeps the streak count unchanged, not increased
- [ ] Free users see the upgrade prompt on their third freeze of a week; Pro users never do
Not: "freezes work correctly", "good UX", "performance is acceptable".
Also state out of scope explicitly. It is the half people skip and the half that stops the build wandering.
Before showing anything, re-read the draft and strip: features nobody asked for, "while we're in there" additions, configurability with one caller, and anything defending against a problem the project does not have. Say what you cut — the user may want a piece of it back, and hidden cuts are how specs lose trust.
Per _partials/priority.md. Propose value, effort and confidence in one message, each
with a one-line reason, and the priority they produce. The user confirms or adjusts in
one reply.
Name the goal the work serves, from goals — or say plainly that it serves none.
You have just spent the conversation on this problem, so the reasons should be specific
to it — "users asked for it in reviews", not "users would find this helpful". If a
rating is a guess, say so; that is what the confidence rating is for.
If the table lands on Reconsider, say so directly: this may not be worth building. If confidence is Low, recommend a bounded investigation before the work itself.
Skip silently if there is no visible UI. Otherwise the acceptance criteria say what must be true, and something has to say what it should look like — or the build will decide, and you will find out in review.
Size it by the design question, not by how much code it touches. Call the change small only if all three hold, and say which way it went and why:
A contrast fix that changes three token values across twenty screens is small: the question is "does the darker shade look right?", and a before/after of four screens answers it. A redesign of two screens with a new card style is not.
Present the options that apply, recommendation first, and let the user pick:
| Route | When to offer it | What happens |
|---|---|---|
| Design it here | Small, and Claude Design is available (below) | Claude designs it in this session on a Claude Design canvas, with you, using the project's design system. Recorded in the issue; no hand-off |
| Design it elsewhere | Not small, or the user prefers their own tool | The issue is created with a brief for the designer. Once the spec is approved it gets the needs_design label and waits in Spec Draft. When the design is ready, /proof-handoff {n} <link> checks it and moves the issue on |
| Wireframe | Layout or flow is the open question, not the look | A self-contained HTML wireframe saved under docs/features/{issue}-{slug}/mockup.html — layout only, no polish |
| No design | The criteria already pin it down (a copy change, one new field in an existing form) | Nothing extra |
Recommend design it here for small changes when it is available, elsewhere for anything with a new component or new visual direction, and no design when a picture would add nothing.
Two checks, both quick. Say the result either way.
quickstart with intent design. No Artifact tool, or no Design type in the result:
not available here — say so and offer the other routes.design.reference is a Claude Design System link → design with it. This is the
version worth having: the canvas uses the project's real tokens and, where the system
has them, its real components.design.tokens is set → design with the exact values from the token module, and say
the components will be close copies, not the real ones./proof-design and
offer the other routes.design.rules and design.platform before calling it done, and
say what you checked. A rule broken on the canvas is a rule broken in the build._partials/design-record.md: save the frozen copy, and put the
## Design section in the draft the user approves in step 9.Write a design brief into the draft, ready to paste into the design tool, so the design starts from the spec instead of from a blank page:
## Design brief
**What this is for:** {the problem and who has it, from the spec — two sentences}
**Screens:** {which, and where they sit in the app}
**States to draw:** {the default, and every state the criteria mention — empty, error,
loading, long content, the smallest screen}
**Constraints:** {design.platform; design.rules in plain words; the design system to use
(design.reference), or "none yet"}
**Out of scope:** {from the spec}
The states list is what /proof-handoff checks the design against, so make it complete.
Show the full draft. Revise and re-present as the user asks. Create nothing until the user has seen the draft and, for a new idea, chosen where it lands. Nothing reaches Ready until they approve it in step 10a.
Speccing an existing issue (given as <n>, or reached through Spec the existing
issue instead)? Do not ask where it lands. It is already an issue, so go straight to
step 10a.
Include what step 1 settled and what it will do to other issues ("closes #12 as a duplicate; updates #19's criteria"), so the approval covers those too. If the scope moved a long way during the conversation, re-run the overlap check on what is new before presenting — the idea that was checked may not be the idea being approved.
For a new idea or a Discussion being picked up, ask — always, even when the answer seems obvious:
Where should this land? 1. Issue — committed work. Goes on the board at {board.stages.spec_draft} for your approval, then {board.stages.ready}. 2. Discussion — a worked-out concept, parked. Not on the board, nothing owed.
Before asking, check that the repository can take a Discussion:
gh api repos/{owner}/{repo} -q .has_discussions, and an Ideas category. If either is
missing, say so in the question: option 2 is unavailable until Discussions are on (with
an Ideas category), and /proof-init --refresh will set that up. Do not quietly drop the
option, and do not create the issue anyway when the user wanted to park it. Ask whether
to land it as an issue, or stop and set up Discussions first.
Say which you would pick and why, in one line. The honest default is an issue when the user came in wanting to build the thing, and a Discussion when the conversation kept opening questions rather than closing them, when it depends on something that does not exist yet, or when the user has said any version of "not yet". A Reconsider or a Low-confidence rating is also a strong signal toward a Discussion.
Asking costs one keystroke. Guessing wrong puts a maybe on the board, and a board full of maybes is one nobody looks at.
Title as a capability, not a task ("Unused freezes carry over to next week", not "Add freeze carry-over"). Body:
## Problem
{2-3 sentences: what hurts, for whom, when}
## Approach
{the chosen option, and one line on why it beat the alternatives}
## User stories
- As a {specific user}, I want {goal} so that {reason}.
## Acceptance criteria
- [ ] ...
## Out of scope
- ...
{## Design — only if step 8 designed it here, per _partials/design-record.md}
{## Design brief — only if it is to be designed elsewhere}
## Notes
{constraints, affected files, prior decisions being applied}
## Priority: {P1|P2|P3}
| | Rating | Why |
|---|---|---|
| Value | ... | ... |
| Effort | ... | ... |
| Confidence | ... | ... |
Put the draft where the user can see it, at spec_draft.
_partials/board.md, add it
to the board at spec_draft.spec_draft in step 1,
or moves now if it was ready.)spec_draft. The parent goes to backlog.ready label (step 3). Its draft is still approved like any other: approval
replaces its body and sets its P-label, and nothing else.No ready label and no P-label yet. The draft's Notes list what approval will do to
other issues, from step 1.
Then ask for approval — a separate question, every time, even right after the user chose Issue:
#{n} is at {board.stages.spec_draft}: {link} Approving also {closes #12 as a duplicate; updates #19's criteria}. ← only if step 1 settled anything Approve the spec, or tell me what to change.
For a split, ask once for the whole set and list each child; the user can approve some and change others. With the board off, say "waiting for your approval" rather than naming a stage.
Called from /proof-handoff for a design that came first: the handoff's own approval
is the spec approval, and the design already exists. Create the issue and go straight to
Approved on the ready path, without asking again and without needs_design or the
waiting-for-design comment.
spec_draft._partials/board.md:
ready with the ready label, its P-label, and investigate if
confidence is Low. Replace, never add: remove any other P-label, and investigate
if confidence is no longer Lowready, plus needs_design.
It stays at spec_draft until /proof-handoff records the design. Comment Spec
approved — waiting for the design so it does not read like an unapproved draftspec_draft and say so — or, if it was ready before this
run, put it back at ready with its label. Do not apply what step 1 settled.Read approval by intent: a clear yes with no changes ("approve", "looks good", "yes") approves; anything that asks for a change is a change, even if it starts with "yes". Choosing Issue in step 9, or a reply to some other question, is never approval.
After approval, apply what step 1 settled, per _partials/overlap.md: comment on and
update, close, or attach as a sub-issue, and record the links in the issue's Notes.
Report each change with a link.
Create it in the Ideas category via gh api graphql (there is no gh discussion
command). Resolve the repository and category IDs at runtime; never hardcode them.
Same body as the issue (user stories included), with three changes: the acceptance criteria become a Sketch of scope (unchecked, clearly provisional — they have not been committed to), add an Open questions section holding what the conversation did not settle, and the Priority section is titled Provisional priority. No label — it is not a commitment.
Do not add it to the board, do not label it ready, and do not open an issue "to
track it". The whole value of this path is that nothing is owed.
Apply what step 1 settled, with one difference: a Discussion never closes or supersedes an issue. Link the related issues from the Discussion and leave them open.
Report the Discussion URL and say plainly how to pick it up later: /proof-spec d/<n>.
Given d/<n>, read the Discussion as your starting context — the problem, the approach
and the rejected alternatives are already settled, so do not re-litigate them. Still run
step 1: the board has moved on since it was parked, and what it overlaps may have
shipped, changed or been turned down in the meantime. Explore
only the open questions, then continue from step 5 — including a fresh priority rating,
since the provisional one may be stale. When the issue is created, comment
on the Discussion with a link to it so the trail closes.
Runs once the spec is approved, or the Discussion is written. Left at spec_draft? Skip
it, including any proposal to supersede a decision. The draft already holds the
reasoning, and it is captured when the spec is approved.
Per _partials/learnings.md, post the Spec capture: the decision, why, and which
alternative was rejected. This is the entry you will most want later — it is the only
record of why the other two options lost. If a durable decision came out of it, propose
promotion and wait. If step 1 settled that this spec overrides a recorded decision,
propose superseding it here, per _partials/learnings.md.
Per _partials/discovered.md, present anything you found while reading the code.
File only what is approved.
The issue (or Discussion) URL and its stage — for an issue, the stage confirmed from
the board, never assumed (with the board off, its labels). Left at spec_draft? Say so,
and that /proof-spec {n} picks the draft up again.
Then ask what to do next, per _partials/chain.md — never start the next step unasked.
What SKILL.md sets; muted values are Claude Code's defaults
opusThree short reads, in order
11 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-fixUse when something is broken — finds the root cause before changing anything, confirms it, fixes it with a test that proves it, and opens a PR. The path every bug takes, instead of spec and work. Part of every bug/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 elsewherenpx claudepluginhub jsamitt/proof-claude-plugin --plugin proofOther plugins' skills for the same job