Architecture.Write Design
БесплатноБез исполняемых скриптовНе проверенWrite the design docs of a project from its PRD, before the code
от gpsaggese★ 158 звёзд на GitHubОб этом скилле
Goal
- Given a PRD (Product Requirement Document), write
docs/02-design.architecture.mdanddocs/02.<N>-design.<component>.mdper component - Design before the code exists: do not write code
Input
<PRD>: the PRD file, e.g.,docs/01-prd.md<DOCS_DIR>: thedocs/dir of the project, optional- If missing, use the dir of
<PRD>
- If missing, use the dir of
Plan Only (--only_plan)
- With
--only_plan, follow.claude/skills/skill.rules.mdsection "Create Only a Plan with--only_plan" - Write the plan to
architecture.write_design.<INPUT_REF>.md, then stop without executing the skill- Put the proposed component split in the plan
Workflow
Read the Inputs
- Read
<PRD>and the existing docs in<DOCS_DIR> - Read the existing code and docs that the design must fit
- Read
.claude/skills/architecture.rules.mdand.claude/skills/C4.rules.md
Ask If the PRD Is Unclear
- If a requirement is ambiguous or two requirements conflict:
- Do not guess
- Ask the user and wait for the answers
Split Into Components
- Propose components, each with one responsibility
- Respect the layering rules in
.claude/skills/architecture.rules.md - Show the proposal and wait for user confirmation before writing the docs
Write the Overview
- Create
<DOCS_DIR>/02-design.architecture.md - Follow the template
.claude/templates/project_design.template.md - Show the context and containers with a PlantUML C4 diagram, per
.claude/skills/C4.rules.md - Map each requirement
R<N>of the PRD to its component- Link each
R<N>to its H3 in the PRD, per.claude/skills/project.rules.mdsection "Link Requirements and Decisions"
- Link each
Write One Doc per Component
- Create
<DOCS_DIR>/02.<N>-design.<component>.mdfor each component - Follow
.claude/skills/project.rules.mdsection "Write a Design Doc" and the template.claude/templates/project_design.template.md - Record each non-obvious choice in
<DOCS_DIR>/03-decisions.md, following the template.claude/templates/project_decisions.template.md- Create the file if it does not exist
- Link each decision from the design docs that follow it, per
.claude/skills/project.rules.mdsection "Link Requirements and Decisions"
Update the Index
- Add a row for each new doc to
<DOCS_DIR>/README.md, if the file exists
Conventions
- Follow
.claude/skills/project.rules.mdfor the docs of a project - Follow
.claude/skills/architecture.rules.mdfor layering and interfaces - Follow
.claude/skills/markdown.rules.mdand.claude/skills/text.rules.md - Say in each file that you create how it was generated, with this line right
after the title:
- Generated by `.claude/skills/architecture.write_design/SKILL.md`
Constraints
- Do not implement any code
- Short snippets (a class interface, a schema, a function signature) are fine
- Do not use this skill to document an existing Python file: use
.claude/skills/readme_file.write_architecture/SKILL.md - Do not commit any change
Verification
-
--only_plan(check only this item): the plan is inarchitecture.write_design.<INPUT_REF>.mdin the current dir, has theGenerated byline, and nothing was executed - Every requirement of the PRD maps to a component
- Every component has one responsibility and one design doc
- The overview has a PlantUML C4 diagram
- No design doc has a Mermaid C4 diagram
- Every non-obvious choice is in
03-decisions.md - Every requirement id and decision id in a design doc is a link to its H3
- No design doc contains full implementation code
- Each file that you create says that it was generated by
.claude/skills/architecture.write_design/SKILL.md
Установить Architecture.Write Design в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Architecture.Write Design?
Write the design docs of a project from its PRD, before the code
Как установить скилл Architecture.Write Design?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Architecture.Write Design запускает скрипты?
Нет, скилл состоит только из инструкций (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