/design-docs:design-docs [prd|design|spec|closeout] <what to draft, amend, or close>from design-docs
Guides drafting PRDs, milestone designs, inchstone specs, and closeouts. Helps keep requirements, design, and acceptance criteria at the right level of detail.
Ships in design-docs. 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.
Read when SKILL.md points to them.
The ladder has four rungs; each answers one question. Each rung is a level of content that is always present, even when two rungs share a file.
| PRD | Milestone design | Inchstone spec | Implementation plan | |
|---|---|---|---|---|
| Label | Needs | Shape | Behavior | Steps |
| Question | What must the product do, for whom, and why? | What does this milestone deliver, and how is the system composed to deliver it? | What must this increment observably do, precisely enough to test? | In what order, in which files? |
| Unit | The product | One milestone: a complete slice, either a capability its consumer can use or an experiment that resolves a question | One inchstone: one tangible, independently acceptable increment | One inchstone |
| States | Users, goals, non-goals, vocabulary, numbered requirements with reasons, constraints, open questions, future possibilities | Scope thesis, a plain-terms walkthrough of one case, in/out with destinations, components and ownership, data flow, enforcement points, mechanisms with losing alternatives, inchstone list, exit criteria | Boundary, go/no-go discovery, continuity, forced changes to existing code, data and API in general terms, numbered acceptance criteria | Tasks, files, types, signatures, test names, sequence |
| Omits | Any mechanism, mode, layout, field, or owner of upkeep | Behavior detail (errors, edges, defaults), acceptance criteria, field names, endpoint contracts | Structure (inherited from the design), construction | Re-deciding anything above |
| Reader | Spec author ("required or invented?"); user ("does it do X?") | Spec author ("what is in, what shape?"); anyone ("why not X?") | Implementer, acceptor, reviewer a year on | Implementer, today |
Strategy, then tactics. The PRD says what winning the war means. The design picks this hill, now, and not another, and fixes the shape of the force that takes it; it constrains every choice below. The spec says what "held" means: the flag on the summit, the road below cut, no fire from the ridge; conditions an observer can check without knowing how the assault went. The plan is the marching orders. Design and spec both answer "how" at different altitudes: design creates shapes and forecloses options; spec fills in what must be true for the work to count as done.
Two words are overloaded elsewhere. Gloss "design" as system design and "specification" as behavioral spec on first use in any document.
The plan rung belongs to a planning skill (todo-planner if installed) or
to plan mode. This skill stops at the spec.
Three lifetimes, independent of rung. Most placement confusion ("where do structural decisions live after the milestone closes?") comes from conflating the two axes: the decision is permanent, the argument is historical.
The project's CLAUDE.md doc index should carry a tier column so displaced
detail always has a named destination; reference/living-docs.md has the routing table.
Decide the mode from the request, read that one reference, and stop after that rung. Never proceed to the next rung unasked; a human reviews between rungs.
| Request | Read | Also read on entry |
|---|---|---|
| Write or amend a PRD; a requirement is growing design detail | reference/prd.md | Domain doc, decision log, current milestone design |
| Scope or design a milestone; revise a design after a PRD or spec change | reference/milestone-design.md | PRD, Architecture, decision log, prior designs |
| Spec an inchstone; revise a spec | reference/inchstone-spec.md | Milestone design, sibling specs, the code it touches |
| Small work that skips the milestone design | reference/milestone-design.md and reference/inchstone-spec.md | As above; one file with labeled parts, concepts kept separate |
| Inchstone accepted; milestone complete; "what did we learn?" | reference/closeout.md | Every living doc the work touched |
| Where does this content live? Set up or revise the doc index | reference/living-docs.md | CLAUDE.md |
Each rung reference carries its north star, detail line, obligations, section order, procedure, handoffs, anti-patterns, and rules, plus which living docs it reads on entry and feeds on exit.
Write for a reader who knows the rung above and has not read the code.
Before, told in the code's vocabulary:
D3. One mutation changes the current image and the shape together
Every change of a photo's current image writes its
shapein the same transaction, so the masonry, the slideshow's fit, and the stacks never show one image at another's proportions.
AddImagecan make its image current. An edited image (D4) is added and shown as one operation: one version step, one operation record, one outcome. The flag joins the operation's fingerprint.
After, in plain English:
D3. Changing the shown image updates the photo's shape
A photo stores the width and height of its shown (current) image, its shape, so the album page, the slideshow, and the album stacks can lay it out without opening the image. Every change of the shown image writes the new shape in the same step, so no page draws one image in another's box.
- Adding an image always shows it.
AddImagemakes its image current, with no option to add without showing. Every caller wants this: an editor who uploads a retouched version means it to show, and the older images stay a click away in the image list.
The title states the outcome; "shape" is defined at first use; the reader meets the album page, not "the masonry"; each bullet leads with behavior and names the function after.
review-walkthrough on any draft above the plan rung.decision-log for a choice between live alternatives;
interview-user when who-and-why is unclear enough that you would be
guessing. Use them if installed; otherwise ask, and record in place.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
prd, specification, requirements, design-document, inchstone
npx claudepluginhub xdg/xdg-claude --plugin design-docsOther plugins' skills for the same job