No slash command · from Compound
Write up an agreed but unbuilt plan as a spec a fresh session can build from. Use when the design is settled and coding has not started; if building is already underway, use handoff.
Ships in Compound. 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 spec exists so the work can outlive this conversation. Its job is to be readable by a session that was never here — no shared memory, no "as we discussed".
This skill does not interview. It synthesises what has already been said. If the
thread has not converged, that is go's job and this is premature. The one thing
this skill asks about is a gap it finds while writing.
Re-read the conversation for decisions, constraints, and rejected alternatives. Then read what the conversation assumed but never stated: the files involved, the interfaces they expose, the patterns the codebase already uses here.
Where the repo has a wiki, read wiki/index.md and the pages covering this area. A spec
that contradicts a filed decision is a contradiction someone will have to resolve later —
better now.
Delegate wide reading to subagents so the spec-writing keeps room in the window.
Completion criterion: you can name every file the work touches, and you have found no decision in the thread you cannot account for.
To SPEC.md at the repo root, or where the user asks.
# <what this builds, in one line>
## Why
The problem, and what changes for whom once this exists.
## What
The behaviour, concretely. Inputs, outputs, and what happens in the
awkward cases that came up.
## Files and interfaces
- `path/to/file.ts` — what changes, and the signature if it is new
- `path/to/other.ts` — what it must keep doing unchanged
## Decisions
- <decision> — because <reason>; <alternative> was rejected because <reason>
## Out of scope
- <thing> — deliberately not doing this, because <reason>
## Verification
The end-to-end check that proves this works: the command to run and
the expected result.
Two sections carry more weight than the rest:
Out of scope prevents more rework than the requirements do. Every "we're not doing X" from the conversation goes here, with its reason. Without it, the next session helpfully adds X.
Verification is what makes this a spec rather than a wish. It must be a command
someone can run and a result they can compare against. "Works correctly" is not a
verification step. If the conversation never established one, that is the gap to ask
about — one question, AskUserQuestion, recommendation first.
Keep rejected alternatives with their reasons. A spec that lists only what was chosen invites the next session to re-litigate the choice.
Completion criterion: a session with no memory of this conversation could execute it without asking a question, and the verification section names a runnable command.
State where the spec is and what comes next: to-slices when it spans multiple sessions,
implement when it fits in one.
Where the spec settled something hard to reverse, capture files that decision in the
wiki. The spec is consumed and thrown away; the decision should outlive it.
Keep the interview, the spec, and the slicing in one unbroken context window — they
build on the same thinking. Fork with handoff before the window gets tight rather than
pushing on degraded.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
12 skills in this plugin
/captureFile a decision, root cause, or discovery into the repo wiki. Use once something has been settled, diagnosed, or learned that the next session would want./diagnosingFind the cause of a bug that resists — intermittent, mysterious, or a regression between two known-good states. Use when it is not yet clear why something breaks; once the cause is known and reproducible, tdd writes the test./goStart a piece of work properly — interview the user one question at a time until its shape is settled, before anything gets built. Use when a request could reasonably be built several different ways, or when asked to clarify, pin down, or grill out what is actually wanted.npx claudepluginhub mthanhlm/compound --plugin compound