No slash command · from fd3
Validates a spec for implementation readiness by probing load-bearing claims with recorded evidence in a detached worktree, then appends a dated evidence block and repairs only flagged findings.
Ships in fd3. 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 invocation carries the spec's path, and on a later pass the status the previous pass returned: $ARGUMENTS
A path that is missing, or that does not resolve, stops you: SendMessage to main naming what you
need, then end your turn. Do not guess it and do not go looking for it.
That spec file, and the overflow files step 3 puts under <spec-dir>/evidence/, are the only
files you may write. Everything else you read is read-only, no matter what you find in it.
Your scratchpad is the directory your system prompt names; when it names none, create one once with
mktemp -d "${TMPDIR:-/tmp}/fd3-<topic-slug>.XXXXXX" and use that literal path for the rest of the
session — never a directory inside a repository (scratchpad/, .scratchpad/, notes/, research/).
A probe — a command you run to settle a claim — runs in a detached worktree under your scratchpad
(git worktree add --detach <scratchpad>/<name> <commit>), never in the user's checkout. It never
installs, links or rebuilds dependencies, anywhere. A repository's own script — a package.json
script, a Makefile target, anything under scripts/ — is a probe like any other and runs only there: a package manager repoints shared links and
leaves the user's tree broken. A claim that needs more than that to settle stays unverified, and the
report says what the probe would have needed.
Every edit traces to a finding of this pass. The dated evidence block is appended to a spec of
any quality; everything else you write must be the repair of something you recorded as a finding,
in the section that finding names. The dated block itself — its verdict line and Checked at: line
included — is the record of the pass, not a spec edit: it never appears under Spec edits applied,
and on its own it never calls for another pass. A spec whose checks all pass leaves this skill byte-identical
except for the appended block and the header's status field — rewording a section you merely read, tidying a table, or improving
prose nobody flagged rewrites a document the user validated on the strength of its own wording.
Decide whether the spec can be implemented, or split into tasks, as written. It can when every load-bearing claim is verified or deferred to a named owner, and no check in step 2 is left open.
DB-1, API-2).
The template defines both.verified, deferred, open or blocked:
verified — the evidence holds.deferred — the spec declares the gap and names both an owner and a placement. This passes.blocked — nothing settles it and the spec names no owner and no placement.open — not yet settled during this run.spec-rules.md), so it is never deferred, however well it is owned and placed.A finding is blocking when an implementer who picked up the work it touches would have to stop
and ask: a contract that names no fields, a build order whose earlier item cannot compile, two
requirements that cannot both hold, an element nothing verifies. It is non-blocking when the work
proceeds and the finding only costs a later correction: a stale citation, two counts that disagree, a
rationale that is true for the wrong reason. A declared gap with an owner and a placement is neither
— it bounds the phase it gates. The test where you hesitate is the phase table: if the phase would
read no with the finding left open, it is blocking, and it stays blocking in the spec's dated
evidence block after you close it.
The shape a spec is measured against is ${CLAUDE_SKILL_DIR}/../../references/spec-template.md, and
the invariants it is measured against are in ${CLAUDE_SKILL_DIR}/../../references/spec-rules.md.
Read both before step 2 — checks 1, 3, 7, 10 and 11 are section-level questions the template answers,
and checks 6 and 12 are rules the other file states.
A pass is one invocation of this skill. A SendMessage that resumes a pass you stopped continues
that pass; it does not start a new one — the status you return carries the pass number the
invocation gave it, and counts the rounds inside it separately.
A previous pass. Where the invocation carries the status an earlier pass of this skill returned
for this same spec, read it before step 1. It arrives as the text that pass returned; a pointer in
its place — a transcript or JSONL path, "see the previous pass" — is not a status, and transcripts are
not yours to read: take the last dated block of the spec's own evidence record instead. The status says which
of the twelve checks passed and on what,
what it left open, and which claims it recorded verified or deferred.
Re-derive all twelve checks against the file you now hold. A check the previous pass answered was
answered about a document that pass then edited, and its own edits are the likeliest thing to have
broken one — so a check inherits its reasoning, never its result. What you do not repeat is the
evidence work behind a claim the status records as verified, unless an edit since then touched the
section it rests on. Spend the pass on what the status leaves open.
The invocation may carry a focus list with that status — the findings still open and the sections the previous pass edited. It says where to spend the pass, never what to skip: the twelve checks are re-derived either way, and an edited section is read as new text, not as a section already cleared.
The spec's evidence record may hold dated blocks that no handed-down status accounts for — passes from earlier runs. Their identity is their date; pass numbers count this run's passes only. They are available when a claim's history bears on what you are deciding.
Where your grade of a finding differs from a grade already in the record — blocking where it read non-blocking, or the reverse — record the regrade and its reason in the dated evidence block and in the return. Two records that disagree without saying so are worse than one.
A spec often describes work in repositories other than the one it lives in. List every repository it
names and resolve each to a local path. SendMessage to main for the ones you cannot find — that
is knowledge about the user's machine, not a fact you can look up. A repository still unresolved
goes into "Not validated" in the report; never report its files as missing.
Then bring every resolved repository up to date: git fetch, and check whether the local tree is
behind the branch the spec describes. A clone a day behind produces false citation drift, and
"correcting" the spec against it rewrites a correct document backwards. Record the commit each
repository is checked against, and put that commit in every dispatch prompt that targets it. The
local path you resolved is how you reach the tree; it never appears in the report or in the spec —
spec-rules.md sets the path form for everything you write.
Read the spec in full and record, in this order — read it once, with Read; a cat truncates and
costs a second pass:
Open every document the spec references. A reference you cannot open is a finding. A document the spec supersedes is context, not an authority: read it to detect silent reversals, never to contradict the spec.
Every check below passes in two ways: the spec supplies the fact, or the spec declares the gap on the
terms spec-rules.md sets. A gap declared without an owner and a placement is the finding; a gap the spec
already owns and places is a pass.
Run these once over the enumeration from step 1 — they are properties of the whole document. Each yields a pass or a finding that names the spec section it came from, and every one of the twelve gets a row in the report, whether it passed or not.
A row is pass only when its prose names no unresolved finding. Where a finding genuinely does not
block — the Terms say when — it is still a finding: give it its own row in the findings list and say
why it does not block. Calling it non-blocking inside a passing row hides it from the verdict, and
from whoever splits this into tasks. The row itself reads non-blocking — <finding>: never fail
over a ready verdict, and never pass (unchanged) while that finding stays open.
pass (verified — <what you read>); a
pass (unchanged) here means you did not run it.spec-rules.md defines them.The spec's own verification table — a Claim | How it was verified table, whatever its heading — is the
record. Spot-check its rows and append to it under a dated sub-heading, so the spec's original evidence
stays distinguishable from this run's. When the spec has none, add one at the end. Once the verdict
is known, open the dated block with one line — Verdict: <the report's verdict> — claims: N verified / N deferred / N blocked — spec N lines at this verdict — so a later reader can tell a clean pass from
a qualified one without hunting for the session that produced it. The line under it names the
commit each repository was checked against in step 0 — Checked at: <remote name> @ <short sha>, …
— which is how the split tells whether the code has moved on since. The header's status field is part
of that record: set it to the same verdict and the pass's date, the one header edit a pass makes with no
finding behind it, so the header never contradicts the block below. Fill the line count in last: write
the dated block through to its final line, then wc -l, then put that number in the verdict line —
replacing it changes no line count, so the number counts itself. A file at
<spec-dir>/evidence/<section>.md is for overflow only: a probe transcript or a command output too long to
sit in a table row.
Spot-check every row whose claim gates a phase or is the sole justification for removing or narrowing something, plus a sample of the rest, and say in the report which rows you checked. "17 rows checked" with no rule behind the 17 tells the reader nothing.
Split the cost of verification:
path:line that no longer points at what the spec
says it does is a finding — stale citations are the most common rot in a spec of any age. This is
mechanical: batch it per repository. A citation that resolves to the wrong line is an unambiguous fact,
not a question: correct the citation in the spec. Reporting it and leaving it is the one outcome that
helps nobody.A change has two directions and a probe measures one. Where you probe what removing something costs, ask what adding it costs — the element that introduces rules is checked against every existing assertion those rules now touch, not only against the assertions the removal deletes.
For a claim with no evidence, find the fact yourself — never ask the user for something you can look up.
Route every lookup by where the fact lives — the routes and dispatch rules are in
${CLAUDE_SKILL_DIR}/../../references/fact-routes.md; read that file before dispatching anything.
The research directory a dispatch writes its report into is research/ in the spec's git-ignored
session folder — the spec's filename without .md, plus .session/ (spec/out.md →
spec/out.session/) — when that folder exists, otherwise your scratchpad; never
anywhere else beside the spec, where a report becomes a file the user has to decide not to commit.
Tell each agent what it needs to work in the tree you are sending it to: the repository root, whether the working tree is dirty, and which search tools function there. An agent that has to discover its own constraints spends its budget on that instead of on your question.
Dispatch at most one agent per section, or one per repository when the claims are all reference checks in
the same tree — never one per claim. Within that ceiling, split any dispatch that has grown past
roughly five sub-questions, as fact-routes.md directs: several agents over exclusive territories
beat one agent carrying thirty claims. A repository here means one tree with one root, so two disjoint
subtrees of a monorepo that the spec treats as separate components may take one agent each — and
any partition into disjoint code territories works on the same terms, provided the territories
are exclusive and every prompt names the ones that belong to the other agents. An agent may
fan its own workload out further — that is its call, not a violation. Two constraints travel down with
it: every sub-agent gets the same tree context you gave its parent, and fact-routes.md's dispatch
rules bind at every level.
A dispatch returns material: which line a file holds, what a document says, what a published package
exports. The join across that material is yours, and so is every check in step 2. The mechanical
half is scriptable — extract every path:line and print the line it names — and scripting it rather
than dispatching it is what leaves you the context for the join.
Two families a citation list will never surface. Name them in whichever dispatch owns the territory:
A sub-agent returns observations, not findings. Resolve every identifier it reasoned about — a team alias, an account, a role, a project, a version — before you record its conclusion. A report that a claim is "inverted" because an unfamiliar name appeared instead of the expected one is an unresolved identifier, not a finding, and recording it as one puts a false finding in front of the user.
The rest of a sub-agent's substantive observations do not die in its transcript either: each one ends as a finding in the report, as a spec edit the report's edits list names, or as an explicitly dropped item with its reason.
A discrepancy that arithmetic or one command settles is a fact, not an open item — settle it. Recording it as unresolved, or pushing a reconciliation task into the spec's rollout, plants work in the document that a subtraction would have closed.
Then, per claim:
verified. Edit only what the fact forces: do not rewrite, reformat or extend the
spec, and do not touch a section no finding points at.deferred with both, and move
on.open.One carve-out, and it is narrow. Where the finding blocks, you have already decided that it is a
defect and what the candidate repairs are, and choosing between them would change the spec's scope
or reverse a ratified decision — then the choice is the user's, and repairing it yourself decides
scope on their behalf. Collect it for step 4 as a repair choice: the defect, the repairs you would
pick between, and what each costs. A finding that admits one obvious correction is not a repair
choice — make the correction. A non-blocking finding never is: it goes in the report. Accepting a risk
the spec does not already accept — a failure mode left in place, an exposure tolerated — is always a
repair choice, never a claim you record verified because the risk looks small.
Four things go to the user, and nothing else:
blocked (step 5).A fact only the user holds — a name, a path, a component you could not find — is not something to
recommend: its options are the outcomes you can apply without it (repair the spec, declare a gap),
and the fact itself is the user's own text, which main collects as the question's free-text
answer (${CLAUDE_SKILL_DIR}/../../references/question-batching.md).
Everything else you settle yourself or record as a finding. A gap the spec already declares with an
owner and a placement is deferred on sight — it is not a finding, it does not go into the batch,
and a pass that asks about it has turned a settled document into a question.
SendMessage to main with everything collected at once, numbered, each with your recommended
answer first, then end your turn. The
answers arrive as a message and you continue from where you stopped, with everything this pass
established still in front of you.
The batch carries this pass's report with it, and so does the turn that ends. Handing up is not
an alternative to reporting: the twelve check rows, the findings you already hold and a verdict of
not ready go out in the same message, with the handed-up items under Still open. A turn that
ends on "the full table comes once the answers land" leaves the caller with nothing to relay and
nothing to act on, and the answers may never come.
One batch per pass. Nothing may still be outstanding when you send it: a dispatch that has not returned is a dispatch whose answer changes what you would ask, and a second message sent while the first is being answered tells the user the first was incomplete. Steps 3–5 may bring you back here, but only because an answer opened a new fact — never because a lookup had not finished.
Per answer: when it settles the claim, apply the smallest spec edit that records it, append the evidence
row, and set the claim verified. When it picks a repair, apply that repair — it is now a decision, and
the finding stays in the report with the repair the user chose named in it. When it opens a new fact to
look up, re-enter step 3 — for the claims still open only, never for one already settled.
Repeat 3–5 until every claim is verified, deferred, or blocked because nothing settles it and the spec
names no owner. A blocked claim goes into the report; do not put it to the user again. The run never
ends with a claim open: a claim you cannot settle before reporting becomes blocked, with the reason
it could not be settled stated in the report.
ready and blocked. A deferred claim never lowers a verdict: it bounds the phase it gates,
that phase's row still reads yes, and the document is still ready. The verdict is ready only
when every claim is verified or deferred —
a declared gap with a named owner and a placement is what a downstream stage can act on, because
split-to-tasks turns it into an operational task carrying that owner. An ownerless blocked claim
leaves it nothing to write, so it makes the verdict not ready, however small the gap looks. The
last move before recording a claim blocked is therefore step 4: ask the user who owns it and where
it lands. An owner and a placement make it deferred, and the spec records both.
End the pass by returning the verdict and this pass's status — nothing is written to a file. The
shape the return takes is in ${CLAUDE_SKILL_DIR}/../../references/validation-report.md; read that
file before composing anything. The verdict is one of its words — ready or not ready — and a
Result cell one of its forms; a hybrid such as ready with caveats is a verdict the split cannot
read, and what qualifies it belongs in the findings. A section is dropped only when it is genuinely empty, on that file's
terms — a pass that edited the spec returns a non-empty Spec edits applied section, and it
enumerates every edit the pass made.
The verdict covers the file as it stands when you write it. A body edit made after the verdict line re-opens the pass: append the edit to the dated block, restate the verdict line beneath it with a fresh count, and say in the return what changed since.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub grixu/cc-toolkit --plugin fd35 skills in this plugin
/grill-topicGrill the user relentlessly about a topic until its design tree is settled. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases./implement-tasksMass-implement a directory of task files on a dynamic workflow — dependency-ordered waves in isolated worktrees, batched per-repository validation (CI, then code review), human-in-the-loop only where a task demands it, and a push/PR proposal at the end. Use when the user wants split tasks implemented./split-to-tasksSplit a spec into task files — one task per worktree, tasks grouped onto shared branches by the spec's rollout gates, one branch per pull request. Use when the user wants a SPEC divided into implementable tasks./write-specWrite a specification from a settled design understanding, given the closing-notes file that holds the ratified decisions.Other plugins' skills for the same job