design-docs
БесплатноБез исполняемых скриптовНе проверенUse when writing or amending a PRD or requirements doc; scoping or designing a milestone, release, or phase from a PRD; drafting or revising an inchstone…
от xdg★ 20 звёзд на GitHubОб этом скилле
Design Docs
The ladder
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.
Boundary rules
- Information flows down. Each document cites the one above and never restates it. A paragraph equally true one rung up is a citation.
- Discoveries flow up only when something pushes them. A mid-implementation finding that changes course, or the closeout harvest, is the push. A design decision that proves to be a permanent guarantee is folded into the PRD as the rule and its reason; the mechanism stays below.
- A decision belongs at the highest rung where it binds more than one thing below. This is unknowable while drafting, so it is a repair rule applied at closeout, not a placement rule applied at draft time.
- Concepts stay separate; files may combine. Files are optional below the PRD. Small work may hold design and spec in one file with labeled parts; each part still obeys its rung.
- Non-goals are neither required nor prohibited. Coincidental satisfaction is fine; no design, spec, or plan spends effort or shapes a decision to achieve one. Anything that must not happen is a requirement with a reason, never a non-goal.
The tiers
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.
- Living: PRD, Domain, Architecture, CodeMap, DataModel, and their kin. Revised in place as use teaches.
- Historical: the decision log; milestone designs, inchstone specs, and acceptance run logs once complete. Frozen means frozen: status Complete makes the file read-only; corrections go to living docs; at most a one-line "superseded by" pointer is added. These answer "how did we get here?"
- Ephemeral: implementation plans and TODO lists. Deleted when done.
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.
Modes
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 |
Установить design-docs в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл design-docs?
Use when writing or amending a PRD or requirements doc; scoping or designing a milestone, release, or phase from a PRD; drafting or revising an inchstone (increment) specification and its acceptance criteria; closing out an accepted inchstone or a completed milestone; or when detail has landed at the wrong level (a requirement sprouting mechanisms, a design carrying acceptance criteria) and needs a home. Not for implementation plans or TODO.md; those belong to a planning skill or plan mode.
Как установить скилл design-docs?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл design-docs запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic