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

design-system · donchitos — скилл для Claude Code: GDD по секциям

Ведёт по секциям документа дизайна одной игровой системы и проверяет связи с зависимостями. Пригодится, когда GDD пишется в одиночку и расползается.

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

Что делает design-system

Скилл берёт одну систему — бой, экономику, диалоги, UI — и проводит через обязательные разделы GDD по очереди. На каждом шаге он задаёт вопросы, предлагает варианты, показывает черновик и ждёт одобрения, прежде чем писать в файл. Файлы создаёт только основная сессия, агенты-специалисты возвращают ей разбор и предложения.

Внутри шесть фаз: разбор аргументов, сбор контекста, создание скелета файла, пошаговый дизайн секций, проверка после дизайна и маршрутизация к специалистам. Для доменной экспертизы скилл подбирает агента по типу системы: бой уходит к game-designer, экономика к economy-designer, звук к audio-director. Вызов выглядит так: /design-system <system-name> [--review full|lean|solo]. Флаг --review перекрывает review_mode из конфига.

Состояние сессии лежит в production/session-state/active.md, готовый документ — в design/gdd/[system-name].md. Если сессию прервало сжатие контекста или падение, скилл читает эти файлы и продолжает с первой незаполненной секции. Поэтому секции пишутся по мере одобрения: незавершённый раздел не тянет за собой остальные.

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

  • написать GDD для одной игровой системы по секциям
  • сверить разделы дизайна с зависимыми системами
  • подобрать профильного агента под тип системы
  • восстановить работу после прерывания сессии
  • провести решения по дизайну через одобрение пользователя

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

  • /design-system combat
  • /design-system economy --review lean
  • /design-system dialogue --review solo

Как установить design-system

1Через Skills CLI (Vercel)

npx skills add Donchitos/Claude-Code-Game-Studios --skill design-system -a claude-code

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

~/.claude/skills/design-system/SKILL.md

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

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

Вопросы о design-system

Как установить design-system в Claude?

Выполните npx skills add Donchitos/Claude-Code-Game-Studios --skill design-system -a claude-code. Скилл встанет в ~/.claude/skills/design-system/SKILL.md.

Что делает design-system?

Проводит по секциям документа дизайна одной системы, задаёт вопросы по каждой, сверяет зависимости и передаёт доменную часть профильному агенту.

Что нужно для работы скилла?

Конфиг читается через hooks/yaml-helper.sh, а реестр систем — через .claude/scripts/registry.sh. Оба скрипта идут в комплекте репозитория, поэтому скилл ставится вместе с ним, а не отдельным файлом.

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

SKILL.md · MIT
---
name: design-system
description: "Section-by-section GDD authoring for one system — walks through each required section, cross-references dependencies."
argument-hint: "<system-name> [--review full|lean|solo]"
user-invocable: true
allowed-tools: Read, Glob, Grep, Write, Edit, Agent, AskUserQuestion, TaskCreate, TaskGet, TaskList, TaskUpdate, Bash(bash "*/.claude/skills/design-system/../../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,system_overrides`

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

# Design System

When this skill is invoked:

## 1. Parse Arguments & Validate

**Read `references/1-parse-arguments.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.

## 2. Gather Context (Read Phase)

**Read `references/2-gather-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.

## 3. Create File Skeleton

**Read `references/3-file-skeleton.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.

## 4. Section-by-Section Design

**Read `references/4-section-design.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.

## 5. Post-Design Validation

**Read `references/5-post-design.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.

## 6. Specialist Agent Routing

This skill delegates to specialist agents for domain expertise. The main session
orchestrates the overall flow; agents provide expert content.

**Rows here are finer-grained than the nine `Category` values on purpose** — the
right specialist for combat is not the right specialist for pathfinding, and both
are `Gameplay`. Resolve in two steps: take the system's `Category` from
`systems-index.md`, then pick the row within it that matches what the system
actually does. Every category has at least one row, so nothing falls through.

| `Category` | Rows below to choose from |
|---|---|
| `Gameplay` | Combat/damage/health · AI/pathfinding/behavior · Animation/character movement · Character systems · Camera/input/controls |
| `Core` | Foundation/Infrastructure · Camera/input/controls |
| `Persistence` | Foundation/Infrastructure |
| `Economy` | Economy/loot/crafting |
| `Progression` | Progression/XP/skills |
| `UI` | UI systems · Visual effects (when the system is HUD-adjacent VFX) |
| `Audio` | Audio systems |
| `Narrative` | Dialogue/quests/lore |
| `Meta` | Foundation/Infrastructure (analytics, tutorial plumbing) · UI systems (accessibility options screens) |

If two rows fit, spawn the union of their Primary agents and say why.

| System type | Primary Agent | Supporting Agent(s) |
|----------------|---------------|---------------------|
| **Foundation/Infrastructure** (event bus, save/load, scene mgmt, service locator) | `systems-designer` | `gameplay-programmer` (feasibility), `engine-programmer` (engine integration) |
| Combat, damage, health | `game-designer` | `systems-designer` (formulas), `ai-programmer` (enemy AI), `art-director` (hit feedback visual direction, VFX intent) |
| Economy, loot, crafting | `economy-designer` | `systems-designer` (curves), `game-designer` (loops) |
| Progression, XP, skills | `game-designer` | `systems-designer` (curves), `economy-designer` (sinks) |
| Dialogue, quests, lore | `game-designer` | `narrative-director` (story), `writer` (content), `art-director` (character visual profiles, cinematic tone) |
| UI systems (HUD, menus) | `game-designer` | `ux-designer` (flows), `ui-programmer` (feasibility), `art-director` (visual style direction), `technical-artist` (render/shader constraints) |
| Audio systems | `game-designer` | `audio-director` (direction), `sound-designer` (specs) |
| AI, pathfinding, behavior | `game-designer` | `ai-programmer` (implementation), `systems-designer` (scoring) |
| Level/world systems | `game-designer` | `level-designer` (spatial), `world-builder` (lore) |
| Camera, input, controls | `game-designer` | `ux-designer` (feel), `gameplay-programmer` (feasibility) |
| Animation, character movement | `game-designer` | `art-director` (animation style, pose language), `technical-artist` (rig/blend constraints), `gameplay-programmer` (feel) |
| Visual effects, particles, shaders | `game-designer` | `art-director` (VFX visual direction), `technical-artist` (performance budget, shader complexity), `systems-designer` (trigger/state integration) |
| Character systems (stats, archetypes) | `game-designer` | `art-director` (character visual archetype), `narrative-director` (character arc alignment), `systems-designer` (stat formulas) |

**When delegating via the `Agent` tool**:
- Provide: system name, game concept summary, dependency GDD excerpts, the specific
  section being worked on, and what question needs expert input
- The agent returns analysis/proposals to the main session
- The main session presents the agent's output to the user via `AskUserQuestion`
- The user decides; the main session writes to file
- Agents do NOT write to files directly — the main session owns all file writes

---

## 7. Recovery & Resume

If the session is interrupted (compaction, crash, new session):

1. Read `production/session-state/active.md` — it records the current system and
   which sections are complete
2. Read `design/gdd/[system-name].md` — sections with real content are done;
   sections with `[To be designed]` still need work. Read it by section: find the
   headings with the Grep tool (pattern `^#`, content mode) and Read those
   ranges with offset and limit.
3. Resume from the next incomplete section — no need to re-discuss completed ones

This is why incremental writing matters: every approved section survives any
disruption.

---

## Collaborative Protocol

**In `collaborative` mode (the default).** For `guided` and `autonomous`
modes, see the per-mode rules in `.claude/docs/automation-modes.md` — the
"Never" lines below describe what collaborative mode requires, not what
applies universally.

This skill follows the collaborative design principle at every step:

1. **Question -> Options -> Decision -> Draft -> Approval** for every section
2. **AskUserQuestion** at every decision point (Explain -> Capture pattern):
   - Phase 2: "Ready to start, or need more context?"
   - Phase 3: "May I create the skeleton?"
   - Phase 4 (each section): Design questions, approach options, draft approval
   - Phase 5: "May I update the entity registry? May I update the systems
     index? What's next?" — **not** "Run design review?": §5c forbids offering
     `/design-review` inline, because the reviewing agent must not inherit this
     session's design history. Phase 5c presents the hand-off; it never asks.
3. **"May I write to [filepath]?"** before the skeleton and before each section write
4. **Incremental writing**: Each section is written to file immediately after approval
5. **Session state updates**: After every section write
6. **Cross-referencing**: Every section checks existing GDDs for conflicts
7. **Specialist routing**: Complex sections get expert agent input, presented to
   the user for decision — never written silently

**Never** auto-generate the full GDD and present it as a fait accompli.
**Never** write a section without user approval.
**Never** contradict an existing approved GDD without flagging the conflict.
**Always** show where decisions come from (dependency GDDs, pillars, user choices).

## Context Window Awareness

This is a long-running skill. After writing each section, check if the status line
shows context at or above 70%. If so, append this notice to the response:

> **Context is approaching the limit (≥70%).** Your progress is saved — all approved
> sections are written to `design/gdd/[system-name].md`. When you're ready to continue,
> open a fresh Claude Code session and run `/design-system [system-name]` — it will
> detect which sections are complete and resume from the next one.

---

## Recommended Next Steps

- Run `/design-review design/gdd/[system-name].md` in a **fresh session** to validate the completed GDD independently
- Run `/consistency-check` to verify this GDD's values don't conflict with other GDDs
- Run `/map-systems next` to move to the next highest-priority undesigned system
- Run `/gate-check technical-setup` when all MVP GDDs are authored and reviewed

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

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

Всё по теме «Геймдев и 3D: Unity, Unreal, Godot, Blender» →

Сначала — design-system от других авторов.

design-system claudekit Скилл собирает дизайн-токены, спецификации компонентов и презентационные слайды. Подойдёт, когда интерфейс и слайды должны следовать одной системе. CX Codex +1 42 700установок design-system affaan-m Собирает дизайн-систему из существующей вёрстки или проверяет её на визуальную консистентность: токены, оценка по десяти критериям, поиск шаблонных ИИ-приёмов. CX Codex +1 5 000установок design-system официальный anthropics Скилл проверяет дизайн-систему, описывает компоненты и помогает спроектировать новые паттерны. Пригодится для работы с токенами, состояниями и доступностью. CX Codex +1 4 200установок design-system BuilderOS Собирает дизайн-систему по скриншотам или макетам и записывает её сразу в два файла: docs/design.md для агента и docs/design.html для браузера. CX Codex +1 1 800установок design-system rampstackco Собирает или проверяет дизайн-систему: токены, библиотеку компонентов, правила именования, модель контрибуции и документацию. Пригодится, когда продукты расходятся по стилю. CX Codex +1 310установок game-design-core omer-metin Скилл для ИИ-агента, который разбирает игровые циклы, мотивацию игрока и баланс. Пригодится, когда проектируете механику или пишете GDD. CX Codex +1 533установок game-design-document ityes22 Скилл превращает идею игры в готовый дизайн-документ на 40–80 страниц: .docx, .pdf, питч-дек и одностраничный питч. CX Codex +1 1 100установок game-design-theory pluginagentmarketplace Скилл для ИИ-агента, который разбирает механику игры через MDA, психологию игрока и баланс. Пригодится, когда нужно понять, почему игра не держит внимание. CX Codex +1 2 500установок design-game-encounters MengTo Скилл для проектирования и настройки боёв в экшн-играх на Three.js: арены, враги, волны, фазы боссов. CX Codex +1 1 300установок game-ui-design omer-metin Задаёт правила проектирования игровых интерфейсов, от HUD и инвентарей до радиальных меню. Помогает настроить навигацию под геймпад и сохранить читаемость экрана в бою. CX Codex +1 3 900установок roblox-game-design TabooHarmony Помогает выстроить базовый геймплейный цикл, онбординг без всплывающих окон, экономику и фазы удержания игроков в плейсах Roblox. Пригодится при падении раннего онлайна или ощущении скуки в игре. CX Codex +1 1 300установок

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

brainstorm Ведёт от пустой головы или сырой идеи до одностраничного брифа игры в design/game-brief.md. Полезен на старте проекта и на гейм-джемах. CX Codex +1 574установок art-bible Скилл проводит автора через девять разделов арт-библии: визуальный стиль, цвет, персонажи, окружение, UI и стандарты ассетов. Пишется до того, как в проекте появятся сами ассеты. CX Codex +1 539установок team-narrative Оркестрирует команду для сюжетов, лора мира и нарративных уровней. Пригодится для игровых сцен, диалогов и связанных с историей задач. CX Codex +1 539установок design-review Проверяет дизайн-документ перед передачей разработчикам: полноту, непротиворечивость, реализуемость и соответствие стандартам проекта. CX Codex +1 522установок map-systems Скилл разбирает игровую концепцию на системы, связывает их зависимостями и задаёт порядок проектирования. Пригодится перед созданием отдельных GDD. CX Codex +1 479установок estimate Оценивает трудозатраты задачи по сложности кода, зависимостям и рискам. Нужен перед планированием работ, когда одной цифры недостаточно. CX Codex +1 478установок ux-review Прогоняет UX-спеку, дизайн HUD или библиотеку паттернов по чек-листу и выдаёт вердикт: от APPROVED до MAJOR REVISION NEEDED. CX Codex +1 474установок bug-report Скилл оформляет отчёты об ошибках по описанию или ищет баги в коде, а также помогает проверить исправления. Пригодится QA-инженерам и разработчикам игр для единого формата баг-репортов. CX Codex +1 473установок

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

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