What you type
There are two ways in, and they end in the same place. Neither needs you to know the vocabulary on this page.
A command
One command per kind of document, named for it. Use compose when no kind fits.
/document-design-system:runbook
/document-design-system:postmortem
/document-design-system:compose
Thirty-four commands, one per preset, plus compose. The common names such as HLD, PRD or RAID route to the right one.
Plain words
Describe the document and who it is for. The plugin finds the kind that answers the question.
Write the cutover plan for RFC 014.
A migration and cutover plan, plan patternMake a primer for engineers joining from batch.
Composed in the learning pattern; no preset fitsTurn this inventory export into a report for the platform review.
An analytical report with its denominators namedShow what the queue split changes, before and after.
A change view inside the design doc
What happens to a request
Seven steps, in this order. The only step that depends on you is the first; the choice that matters most is the third, and it comes from the reader's question.
-
Step 1: Your request
You name a document, a reader or a question, as a command or in plain words. Nothing else is needed: no template to fill in and no vocabulary to learn.
-
Step 2: A type fits, or it is composed
If the request matches a type, or one of its familiar names such as HLD or PRD, that type is used. If nothing fits, the plugin composes: it picks the pattern from the reader's question and borrows the nearest type's section discipline. A one-off request never adds a type.
-
Step 3: Pattern and opening
The pattern fixes the reading order: where the answer sits, what repeats and what the reader does last. Each pattern also owns its opening, so the first screen suits the reader.
In the examples. A runbook opens on a precondition checklist; a postmortem opens on a severity band with the impact numbers.
-
Step 4: Modules
Reusable parts such as an ask band, a timeline or a checkpoint. A pattern may use only the modules its entry in the registry allows, so a runbook cannot grow a decision rail.
-
Step 5: Theme and voice
Only for designed HTML or PDF. The audience picks a theme, which sets type, colour and density through tokens. Changing the theme never moves a section.
-
Step 6: Evidence states
Every claim a reader might not be able to check carries one of five states. A missing fact stays unresolved; it is never filled in.
-
Step 7: Checks
The examples in this repository are built under checks that fail on a problem: twenty-one geometry and markup rules on every figure, contrast for every text pair in each of eight themes, and every page rendered at 1280px, 390px and in print to catch clipping.
Every claim says how sure it is
A document is only as good as the facts under it. The plugin marks each claim a reader might not be able to check with one of five evidence states, and a fact it does not have stays an open question instead of becoming a guess.
- VerifiedState as fact, cite a repo-relative path.
- ProvidedAttribute to the stakeholder; cannot prove runtime.
- InferredLabel it and list supporting evidence.
- UnresolvedOpen questions; do not pick an answer.
- RecommendedKeep separate from current-state.
Two choices, kept apart
A document's shape and its voice are decided separately. Change one and the other stays put, which is why a postmortem can be re-skinned without moving a section, and why two documents with the same look can still read in different orders.
Axis onePattern
Four documents, four reading orders. Each opens differently because its reader arrives with a different question. The thumbnail is the first screen.
Record patternArchitecture decision recordOpens with: status stamp plus record number.serif-editorial
Incident patternPostmortemOpens with: full-width severity band with impact numbers.console-violet
Procedure patternRunbookOpens with: precondition checklist cover.console-violet
Brief patternDelivery status reportOpens with: dated compact masthead on a one-screen grid.condensed-report
Axis twoTheme
One proposal, written once, in three voices. The sections, the order and the facts are identical; type, colour and density are not. The third is a client's own brand, turned into a theme.
A third, smaller switch is width. A designed page uses its pattern's reading column unless you ask for a full-width page; then maps, tables and figures use the whole screen while prose keeps its comfortable line length. It changes neither the pattern nor the theme, and the wide architecture page is the same document as the architecture page.
Six words, plainly
These are the only terms you need. Each links to a page that shows the thing itself.
- Pattern
data-pattern - The reading order of a document: where the answer sits, what repeats and what the reader does last. There are eleven, and each owns its opening. See the patterns.
- Preset
also called a type - A ready-made kind of document inside a pattern, such as a runbook or a decision record, with its own command and sections. There are thirty-four. See the presets and their common names.
- Module
- A reusable part of a page, such as an ask band, a timeline or a checkpoint. A pattern may use only the modules it allows. There are seventy-eight. See every module.
- Theme
data-theme - A document's voice: type, colour and density, set through tokens and chosen by audience. It never changes the order of the sections. Compare the themes.
- Evidence state
- A label on a claim that says how sure it is: verified, provided, inferred, unresolved or recommended. See the five states.
- Compose
- To build a document straight from a pattern when no preset fits. The question picks the pattern, and only that pattern's modules are used. See a composed document.
Install it
You need Claude Code. Inside it, add the catalog and install the plugin; the name appears twice because the @ reads "from".
/plugin marketplace add Avinava/document-design-system
/plugin install document-design-system@document-design-system
Then type one of the commands above, or just describe the document you need. Prefer plain skills without the plugin system? Each of the six skills installs on its own with npx skills add Avinava/document-design-system.
Where to go next
- The storyOne engagement, twelve documents, in four acts.
- The Patterns pageStart from the reader's question and land on a preset.
- The themesThe same content in every voice.