К основному содержанию
скилл CX Codex

create-architecture — скилл для Claude Code: что делает

Скилл создаёт технический проект docs/architecture/architecture.md на основе дизайн-документов до написания кода. Помогает согласовать слои системы и найти пробелы в архитектурных решениях.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add Donchitos/Claude-Code-Game-Studios --skill create-architecture -a claude-code
Открыть на GitHub

Что делает create-architecture

Скилл переводит утверждённые геймдизайн-документы (GDD) в генеральный план архитектуры проекта. Он определяет слои системы и границы API. Документ формируется в docs/architecture/architecture.md строго до старта спринтов.

Работа разделена на девять фаз — от загрузки контекста до аудита решений ADR и итоговой записи. Поведение настраивается через параметры workflow и docs.density: от кратких списков и диаграмм (terse) до развёрнутого описания компромиссов (thorough). Скилл напрямую опирается на вспомогательные скрипты yaml-helper.sh и файлы инструкций в каталоге references/. Без структуры репозитория Claude-Code-Game-Studios запустить фазы не выйдет.

В интерактивном режиме агент не вносит изменения молча. Он запрашивает одобрение через инструмент AskUserQuestion для каждого раздела и фиксирует промежуточные итоги в production/session-state/active.md. Весь файл записывается за один раз на седьмой фазе.

Какие задачи решает

  • сформировать единый технический план проекта docs/architecture/architecture.md на базе GDD
  • проверить совместимость существующих ADR с выбранным движком
  • составить карту слоёв системы и распределить зоны ответственности модулей
  • определить границы API и пути движения данных между подсистемами

Примеры запросов агенту

  • /create-architecture
  • /create-architecture layers --review full
  • /create-architecture adr-audit

Как установить create-architecture

1Через Skills CLI (Vercel)

npx skills add Donchitos/Claude-Code-Game-Studios --skill create-architecture -a claude-code

2Вручную: положить файлы

~/.claude/skills/create-architecture/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/create-architecture/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о create-architecture

Как установить create-architecture в Claude Code?

Выполните в терминале команду npx skills add Donchitos/Claude-Code-Game-Studios --skill create-architecture -a claude-code.

Что делает скилл create-architecture?

Он формирует техническую архитектуру проекта в файле docs/architecture/architecture.md до начала разработки. Скилл сопоставляет слои, потоки данных и находит недостающие архитектурные решения.

Чем create-architecture отличается от команды /architecture-decision?

Команда /architecture-decision фиксирует отдельные точечные решения (ADR). Скилл create-architecture строит общесистемный каркас, который задаёт контекст для этих решений.

Исходный текст

SKILL.md · MIT
---
name: create-architecture
description: "Author the architecture blueprint before code is written. Validates decisions against the pinned engine, flags knowledge gaps."
argument-hint: "[focus-area: full | layers | data-flow | api-boundaries | adr-audit] [--review full|lean|solo]"
user-invocable: true
allowed-tools: Read, Glob, Grep, Write, Edit, AskUserQuestion, Agent, Bash(bash "*/.claude/skills/create-architecture/../../hooks/yaml-helper.sh" resolve_config *), Bash(bash .claude/scripts/registry.sh *)
model: sonnet
---

!`bash "${CLAUDE_SKILL_DIR}/../../hooks/yaml-helper.sh" resolve_config --keys review_mode,automation,workflow,docs.density`

Resolved above — use as-is; `--review` overrides `review_mode`. No block →
defaults in `.claude/docs/config-resolution.md`.

# Create Architecture

This skill produces `docs/architecture/architecture.md` — the master architecture
document that translates all approved GDDs into a concrete technical blueprint.
It sits between design and implementation, and must exist before sprint planning begins.

**Distinct from `/architecture-decision`**: ADRs record individual point decisions.
This skill creates the whole-system blueprint that gives ADRs their context.

See `.claude/docs/director-gates.md` for the full check pattern. Individual gate definitions live in `.claude/docs/director-gates/[gate-id].md` — the spawned agent reads its own gate file; do not read it in the parent session.

Every `AskUserQuestion` call follows `.claude/docs/automation-modes.md`
(collaborative asks always · guided major-only · autonomous logs and proceeds;
`automation_always_ask` categories always prompt).

**`docs.density`** — it controls per-section *depth*, where `workflow`
controls which sections exist. `modes.rigor` sets both together; set
`docs.density` explicitly to vary depth alone: `terse` (the default, via `rigor: minimal`) = layer diagrams + decision bullets,
no essays; `balanced` = diagrams + paragraph explanations of layer choices
(`rigor: standard`); `thorough` = full prose with rationale, trade-offs, and alternatives
considered per layer. Apply it to every section you author.

**`workflow`** (see `.claude/docs/workflow-modes.md`):
- `full` — full architecture: all layers, module ownership, data flow, API
  boundaries, full ADR audit.
- `standard` — simplified: system layer map + critical ADR list only.
- `minimal` — not required. Can still be run voluntarily.

**Argument modes:**
- **No argument / `full`**: Full guided walkthrough — all sections, start to finish
- **`layers`**: Focus on the system layer diagram only
- **`data-flow`**: Focus on data flow between modules only
- **`api-boundaries`**: Focus on API boundary definitions only
- **`adr-audit`**: Audit existing ADRs for engine compatibility gaps only

---

## Phase 0: Load All Context

**Read `references/0-load-context.md` now and follow it** — this phase's steps are in that file, not here. Read it again if the conversation was compacted or resumed during this phase.

## Phase 1: System Layer Mapping

**Read `references/1-layers.md` now and follow it** — this phase's steps are in that file, not here. Read it again if the conversation was compacted or resumed during this phase.

## Phase 2: Module Ownership Map

**Read `references/2-module-ownership.md` now and follow it** — this phase's steps are in that file, not here. Read it again if the conversation was compacted or resumed during this phase.

## Phase 3: Data Flow

**Read `references/3-data-flow.md` now and follow it** — this phase's steps are in that file, not here. Read it again if the conversation was compacted or resumed during this phase.

## Phase 4: API Boundaries

**Read `references/4-api-boundaries.md` now and follow it** — this phase's steps are in that file, not here. Read it again if the conversation was compacted or resumed during this phase.

## Phase 5: ADR Audit + Traceability Check

**Read `references/5-adr-audit.md` now and follow it** — this phase's steps are in that file, not here. Read it again if the conversation was compacted or resumed during this phase.

## Phase 6: Missing ADR List

**Read `references/6-missing-adrs.md` now and follow it** — this phase's steps are in that file, not here. Read it again if the conversation was compacted or resumed during this phase.

## Phase 7: Write the Master Architecture Document

**Read `references/7-write.md` now and follow it** — this phase's steps are in that file, not here. Read it again if the conversation was compacted or resumed during this phase.

## Phase 8: Handoff

**Read `references/8-handoff.md` now and follow it** — this phase's steps are in that file, not here. Read it again if the conversation was compacted or resumed during this phase.

## Collaborative Protocol

**Applies in `collaborative` mode (the default).** For `guided` and
`autonomous` modes, see `.claude/docs/automation-modes.md` — the rules below
describe what collaborative mode requires, not universal behavior.

This skill follows the collaborative design principle at every phase:

1. **Load context silently** — do not narrate file reads
2. **Present findings** — show the knowledge gap inventory and layer proposals
3. **Ask before deciding** — present options for each architectural choice
4. **Draft before approval** — show the content inline before asking to write it.
   Never ask approval for a section the user has not yet seen.
5. **Use `AskUserQuestion` for write approvals** — plain text "May I?" is not
   sufficient. Use the structured tool with labeled options [A]/[B]/[C] (write now /
   show full draft first / not yet). For multi-file changesets, list every file
   and what changes, then ask once grouped — not separate plain-text asks per file.
6. **One write, after every section is approved** — the document is written once,
   at Phase 7; Phase 7b's Step 4 only updates its Document Status, after its own
   ask. Record each approved section's decisions in
   `production/session-state/active.md` as you go, so a crash loses no decision.
   A revision that Phase 7b forces is written the same way — once, after its
   re-drafted sections are approved — and an update (Phase 0e) writes only the
   sections it chose.

Never make a binding architectural decision without user input. If the user is
unsure, present 2-4 options with pros/cons before asking them to decide.

---

## Recommended Next Steps

- Run `/architecture-decision [title]` for each required ADR listed in Phase 6 — Foundation layer ADRs first
- Run `/architecture-review` — bootstraps the Requirements Traceability Matrix and TR registry from the ADRs just written, and gives each provisional TR-ID its permanent one. Required before the Pre-Production gate.
- Run `/test-setup` to scaffold `tests/unit/`, `tests/integration/`, CI workflow, and an example test (required for gate-check)
- Run `/ux-design` to initialize `design/ux/interaction-patterns.md` and `design/accessibility-requirements.md` (required for gate-check)
- Run `/create-control-manifest` once the required ADRs are written to produce the layer rules manifest
- Run `/gate-check pre-production` when all required ADRs, `/test-setup`, and `/ux-design` are complete

© Donchitos · MIT · Donchitos/Claude-Code-Game-Studios

Похожие скиллы

Всё по теме «Геймдев и 3D: Unity, Unreal, Godot, Blender» →
create-architecture-documentation davila7 Слэш-команда для Claude, которая собирает документацию по архитектуре проекта: диаграммы, ADR и описание компонентов. 6 136установок adr-create ruvnet Пишет Architecture Decision Record в docs/adr/ со следующим номером, кладёт его в память AgentDB и связывает с прежними решениями. Пригодится, когда решение надо записать и не потерять. CX Codex +1 741установок architecture-designer https://github.com/Jeffallan Проектирует архитектуру распределённых систем, составляет диаграммы Mermaid и оформляет решения через ADR. Помогает сопоставить требования с шаблонами вроде микросервисов или монолита. CX Codex +1 7 800установок architecture официальный anthropics Помогает оформить Architecture Decision Record или разобрать чужой дизайн системы: варианты, компромиссы, последствия. Пригодится, когда выбираете между технологиями. CX Codex +1 6 700установок architecture-decision-records affaan-m Скилл записывает архитектурные решения в нумерованные ADR-файлы в docs/adr/ с контекстом, альтернативами и последствиями. Пригодится, когда выбираете фреймворк или базу и не хотите терять причину выбора. CX Codex +1 4 900установок create-architectural-decision-record официальный github Создаёт запись об архитектурном решении в формате ADR. Пригодится, когда нужно сохранить причины выбора и последствия для проекта. 10 176установок

Из того же набора72

team-release Ведёт релиз от кандидата до развёртывания через роли менеджера релиза, QA и DevOps. Нужен, когда выпуск требует проверок и решений между этапами. CX Codex +1 430установок architecture-review Проверяет, покрывают ли ADR требования из GDD, и ищет конфликты между решениями и проблемы совместимости с движком. CX Codex +1 429установок review-all-gdds Читает все GDD систем разом и ищет то, что не видно в отдельном документе: противоречия, доминирующие стратегии, перекос экономики. CX Codex +1 428установок adopt Проверяет, соответствуют ли GDD, ADR и истории формату шаблона, и выдаёт нумерованный план миграции. Пригодится, когда проект уже написан, а скиллы шаблона молчат или дают неверный результат. CX Codex +1 422установок bug-triage Скилл пересматривает открытые баги, разводит severity и priority, распределяет задачи по спринтам и показывает системные проблемы. Запускайте его, когда список растёт. CX Codex +1 422установок create-stories Разбивает один эпик на истории с критериями приёмки. Нужен, когда пора переходить от дизайна к работе. CX Codex +1 420установок content-audit Скилл сверяет запланированное в диздоках количество контента с фактической реализацией в коде. Пригодится при контроле скоупа игры. CX Codex +1 420установок create-epics Разбивает GDD и архитектуру на эпики, по одному на архитектурный модуль. Нужен, когда планируешь работу до написания историй. CX Codex +1 419установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой