Декомпозиция концепции игры на системы, карта зависимостей, приоритеты и индекс систем.

Звёзды39 965
Авторdonchitos
Установок707

Установка

SKILL.md

When this skill is invoked:

Parse Arguments

Two modes:

  • No argument: /map-systems — Run the full decomposition workflow (Phases 1-5) to create or update the systems index.
  • next: /map-systems next — Pick the highest-priority undesigned system from the index and hand off to /design-system (Phase 6).

Also resolve the review mode (once, store for all gate spawns this run):

  1. If --review [full|lean|solo] was passed → use that
  2. Else read production/review-mode.txt → use that value
  3. Else → default to lean

See .claude/docs/director-gates.md for the full check pattern.


Phase 1: Read Concept (Required Context)

Read the game concept and any existing design work. This provides the raw material for systems decomposition.

Required:

  • Read design/gdd/game-concept.md — fail with a clear message if missing:<!-- -->

    "No game concept found at design/gdd/game-concept.md. Run /brainstorm first to create one, then come back to decompose it into systems."

Optional (read if they exist):

  • Read design/gdd/game-pillars.md — pillars constrain priority and scope
  • Read design/gdd/systems-index.md — if exists, resume from where it left off (update, don't recreate from scratch)
  • Glob design/gdd/*.md — check which system GDDs already exist

If the systems index already exists:

  • Read it and present current status to the user
  • Use AskUserQuestion to ask: "The systems index already exists with [N] systems ([M] designed, [K] not started). What would you like to do?"<!-- -->
    • Options: "Update the index with new systems", "Design the next undesigned system", "Review and revise priorities"

Phase 2: Systems Enumeration (Collaborative)

Extract and identify all systems the game needs. This is the creative core of the skill — it requires human judgment because concept docs rarely enumerate every system explicitly.

Step 2a: Extract Explicit Systems

Scan the game concept for directly mentioned systems and mechanics:

  • Core Mechanics section (most explicit)
  • Core Loop section (implies what systems drive each loop tier)
  • Technical Considerations section (networking, procedural generation, etc.)
  • MVP Definition section (required features = required systems)

Step 2b: Identify Implicit Systems

For each explicit system, identify the hidden systems it implies. Games always need more systems than the concept doc mentions. Use this inference pattern:

  • "Inventory" implies: item database, equipment slots, weight/capacity rules, inventory UI, item serialization for save/load
  • "Combat" implies: damage calculation, health system, hit detection, status effects, enemy AI, combat UI (health bars, damage numbers), death/respawn
  • "Open world" implies: streaming/chunking, LOD system, fast travel, map/minimap, point of interest tracking, world state persistence
  • "Multiplayer" implies: networking layer, lobby/matchmaking, state synchronization, anti-cheat, network UI (ping, player list)
  • "Crafting" implies: recipe database, ingredient gathering, crafting UI, success/failure mechanics, recipe discovery/learning
  • "Dialogue" implies: dialogue tree system, dialogue UI, choice tracking, NPC state management, localization hooks
  • "Progression" implies: XP system, level-up mechanics, skill tree, unlock tracking, progression UI, progression save data

Explain in conversation text why each implicit system is needed (with examples).

Step 2c: User Review

Present the enumeration organized by category. For each system, show:

  • Name
  • Category
  • Brief description (1 sentence)
  • Whether it was explicit (from concept) or implicit (inferred)

Then use AskUserQuestion to capture feedback:

  • "Are there systems missing from this list?"
  • "Should any of these be combined or split?"
  • "Are there systems listed that this game does NOT need?"

Iterate until the user approves the enumeration.


Phase 3: Dependency Mapping (Collaborative)

For each system, determine what it depends on. A system "depends on" another if it cannot function without that other system existing first.

Step 3a: Map Dependencies

For each system, list its dependencies. Use these dependency heuristics:

  • Input/output dependencies: System A produces data System B needs
  • Structural dependencies: System A provides the framework System B plugs into
  • UI dependencies: Every gameplay system has a corresponding UI system that depends on it (but UI is designed after the gameplay system)

Step 3b: Sort by Dependency Order

Arrange systems into layers:

  1. Foundation: Systems with zero dependencies (designed and built first)
  2. Core: Systems depending only on Foundation systems
  3. Feature: Systems depending on Core systems
  4. Presentation: UI and feedback systems that wrap gameplay systems
  5. Polish: Meta-systems, tutorials, analytics, accessibility

Step 3c: Detect Circular Dependencies

Check for cycles in the dependency graph. If found:

  • Highlight them to the user
  • Propose resolutions (interface abstraction, simultaneous design, breaking the cycle by defining a contract between the two systems)

Step 3d: Present to User

Show the dependency map as a layered list. Highlight:

  • Any circular dependencies
  • Any "bottleneck" systems (many others depend on them — these are high-risk)
  • Any systems with no dependents (leaf nodes — lower risk, can be designed late)

Use AskUserQuestion to ask: "Does this dependency ordering look right? Any dependencies I'm missing or that should be removed?"

Review mode check — apply before spawning TD-SYSTEM-BOUNDARY:

  • solo → skip. Note: "TD-SYSTEM-BOUNDARY skipped — Solo mode." Proceed to priority assignment.
  • lean → skip (not a PHASE-GATE). Note: "TD-SYSTEM-BOUNDARY skipped — Lean mode." Proceed to priority assignment.
  • full → spawn as normal.

After dependency mapping is approved, spawn technical-director via Task using gate TD-SYSTEM-BOUNDARY (.claude/docs/director-gates.md) before proceeding to priority assignment.

Pass: the dependency map summary, layer assignments, bottleneck systems list, any circular dependency resolutions.

Present the assessment. If REJECT, revise the system boundaries with the user before moving to priority assignment. If CONCERNS, note them inline in the systems index and continue.


Phase 4: Priority Assignment (Collaborative)

Assign each system to a priority tier based on what milestone it's needed for.

Step 4a: Auto-Assign Based on Concept

Use these heuristics for initial assignment:

  • MVP: Systems mentioned in the concept's "Required for MVP" section, plus their Foundation-layer dependencies
  • Vertical Slice: Systems needed for a complete experience in one area
  • Alpha: All remaining gameplay systems
  • Full Vision: Polish, meta, and nice-to-have systems

Step 4b: User Review

Present the priority assignments in a table. For each tier, explain why systems were placed there.

Use AskUserQuestion to ask: "Do these priority assignments match your vision? Which systems should be higher or lower priority?"

Explain reasoning in conversation: "I placed [system] in MVP because the core loop requires it — without [system], the 30-second loop can't function."

"Why" column guidance: When explaining why each system was placed in a priority tier, mix technical necessity with player-experience reasoning. Do not use purely technical justifications like "Combat needs damage math" — connect to player experience where relevant. Examples of good "Why" entries:

  • "Required for the core loop — without it, placement decisions have no consequence (Pillar 2: Placement is the Puzzle)"
  • "Ballista's punch-through identity is established here — this stat definition is what makes it feel different from Archer"
  • "Foundation for all economy decisions — players must understand upgrade costs to make meaningful placement choices"

Pure technical necessity ("X depends on Y") is insufficient alone when the system directly shapes player experience.

Review mode check — apply before spawning PR-SCOPE:

  • solo → skip. Note: "PR-SCOPE skipped — Solo mode." Proceed to writing the systems index.
  • lean → skip (not a PHASE-GATE). Note: "PR-SCOPE skipped — Lean mode." Proceed to writing the systems index.
  • full → spawn as normal.

After priorities are approved, spawn producer via Task using gate PR-SCOPE (.claude/docs/director-gates.md) before writing the index.

Pass: total system count per milestone tier, estimated implementation volume per tier (system count × average complexity), team size, stated project timeline.

Present the assessment. If UNREALISTIC, offer to revise priority tier assignments before writing the index. If CONCERNS, note them and continue.

Step 4c: Determine Design Order

Combine dependency sort + priority tier to produce the final design order:

  1. MVP Foundation systems first
  2. MVP Core systems second
  3. MVP Feature systems third
  4. Vertical Slice Foundation/Core systems
  5. ...and so on

This is the order the team should write GDDs in.


Phase 5: Create Systems Index (Write)

Step 5a: Draft the Document

Using the template at .claude/docs/templates/systems-index.md, populate the systems index with all data from Phases 2-4:

  • Fill the enumeration table
  • Fill the dependency map
  • Fill the recommended design order
  • Fill the high-risk systems
  • Fill progress tracker (all systems "Not Started" initially, unless GDDs already exist)

Step 5b: Approval

Present a summary of the document:

  • Total systems count by category
  • MVP system count
  • First 3 systems in the design order
  • Any high-risk items

Ask: "May I write the systems index to design/gdd/systems-index.md?"

Wait for approval. Write the file only after "yes."

Review mode check — apply before spawning CD-SYSTEMS:

  • solo → skip. Note: "CD-SYSTEMS skipped — Solo mode." Proceed to Phase 7 next steps.
  • lean → skip (not a PHASE-GATE). Note: "CD-SYSTEMS skipped — Lean mode." Proceed to Phase 7 next steps.
  • full → spawn as normal.

After the systems index is written, spawn creative-director via Task using gate CD-SYSTEMS (.claude/docs/director-gates.md).

Pass: systems index path, game pillars and core fantasy (from design/gdd/game-concept.md), MVP priority tier system list.

Present the assessment. If REJECT, revise the system set with the user before GDD authoring begins. If CONCERNS, record them in the systems index as a > **Creative Director Note** at the top of the relevant tier section.

Step 5c: Update Session State

After writing, create production/session-state/active.md if it does not exist, then update it with:

  • Task: Systems decomposition
  • Status: Systems index created
  • File: design/gdd/systems-index.md
  • Next: Design individual system GDDs

Verdict: COMPLETE — systems index written to design/gdd/systems-index.md. If the user declined: Verdict: BLOCKED — user did not approve the write.


Phase 6: Design Individual Systems (Handoff to /design-system)

This phase is entered when:

  • The user says "yes" to designing systems after creating the index
  • The user invokes /map-systems [system-name]
  • The user invokes /map-systems next

Step 6a: Select the System

  • If a system name was provided, find it in the systems index
  • If next was used, pick the highest-priority undesigned system (by design order)
  • If the user just finished the index, ask: "Would you like to start designing individual systems now? The first system in the design order is [name]. Or would you prefer to stop here and come back later?"

Use AskUserQuestion for: "Start designing [system-name] now, pick a different system, or stop here?"

Step 6b: Hand Off to /design-system

Once a system is selected, invoke the /design-system [system-name] skill.

The /design-system skill handles the full GDD authoring process:

  • Gathers context from game concept, systems index, and dependency GDDs
  • Creates a file skeleton immediately
  • Последовательно проходит через все 8 обязательных разделов (совместно, инкрементально)
  • Сверяется с существующей документацией, чтобы избежать противоречий
  • Передаёт специализированным агентам для экспертизы в предметной области
  • Записывает каждый раздел в файл сразу после его утверждения
  • Запускает /design-review по завершении
  • Обновляет индекс систем

Не дублируйте здесь рабочий процесс /design-system. Этот навык владеет системами индекс; /design-system владеет отдельной системой GDD.

Шаг 6c: Продолжить или остановиться

После того как /design-system завершится, используйте AskUserQuestion:

  • "Перейти к следующей системе ([имя следующей системы])?"
  • "Выбрать другую систему?"
  • "Остановиться здесь для этой сессии?"

Если продолжаете, вернитесь к шагу 6a.


Фаза 7: Предложить следующие шаги

После создания индекса систем (или после проектирования некоторых систем) предложите следующие действия с помощью AskUserQuestion:

  • "Индекс систем записан. Что бы вы хотели сделать дальше?"<!-- -->
    • [A] Начать проектирование GDD — запустите /design-system [first-system-in-order]
    • [B] Запустите /gate-check systems-design — автоматически активирует шлюзы CD-SYSTEMS и TD-SYSTEM-BOUNDARY для формального утверждения набора систем директором
    • [C] Остановиться здесь для этой сессии

Опцию проверки шлюзов ([B]) стоит выделить: запуск /gate-check systems-design активирует оба шлюза CD-SYSTEMS и TD-SYSTEM-BOUNDARY, выявляя проблемы с областью охвата, недостающие системы и проблемы границ до того, как они будут зафиксированы во множестве документов. Это необязательно, но рекомендуется для новых проектов.

После завершения любого отдельного GDD:

  • "Запустите /design-review design/gdd/[system].md в новой сессии, чтобы проверить качество"
  • "Запустите /gate-check systems-design когда все MVP GDD будут завершены"

Протокол совместной работы

Этот навык следует принципу совместного проектирования на каждой фазе:

  1. Вопрос -> Варианты -> Решение -> Черновик -> Утверждение на каждом шаге
  2. AskUserQuestion в каждой точке принятия решения (Объяснить -> Зафиксировать шаблон):<!-- -->
    • Фаза 2: "Недостающие системы? Объединить или разделить?"
    • Фаза 3: "Порядок зависимостей верен?"
    • Фаза 4: "Назначения приоритетов соответствуют вашему видению?"
    • Фаза 5: "Могу я записать индекс систем?"
    • Фаза 6: "Начать проектирование, выбрать другое или остановиться?", затем передать в /design-system
  3. "Могу я записать в [filepath]?" перед каждой записью в файл
  4. Инкрементальная запись: Обновляйте индекс систем после проектирования каждой системы
  5. Передача: Авторство отдельных GDD принадлежит /design-system, который обрабатывает инкрементальную запись разделов, перекрёстные ссылки, проверку дизайна и обновления индекса
  6. Обновления состояния сессии: Записывайте в production/session-state/active.md после каждого этапа (индекс создан, система спроектирована, приоритеты изменены)

Никогда не генерируйте автоматически полный список систем и не записывайте его без проверки. Никогда не начинайте проектирование системы без подтверждения пользователя. Всегда показывайте перечисление, зависимости и приоритеты для проверки пользователем.

Осведомлённость о контекстном окне

Если контекст достигает или превышает 70% в любой момент, добавьте это уведомление:

Контекст приближается к пределу (≥70%). Индекс систем сохранён в design/gdd/systems-index.md. Откройте новую сессию Claude Code, чтобы продолжить проектирование отдельных GDD — запустите /map-systems next , чтобы продолжить с того места, где вы остановились.


Рекомендуемые следующие шаги

  • Запустите /design-system [first-system-in-order] чтобы создать первый GDD (используйте порядок проектирования из индекса)
  • Запустите /map-systems next чтобы всегда автоматически выбирать систему с наивысшим приоритетом из ещё не спроектированных
  • Запустите /design-review design/gdd/[system].md в новой сессии после создания каждого GDD
  • Запустите /gate-check pre-production когда все MVP GDD созданы и проверены

Вставить в README

Ссылка на карточку для вашего README — без картинок и счётчиков.

[DarkPlay: map-systems](https://darkplay.ru/ai/skills/donchitos-claude-code-game-studios-map-systems)

Похожие скиллы и другие разделы каталога

Популярное в разделе «Скиллы»

Самые востребованные скиллов раздела по установкам и звёздам.

find-skillsvercel-labs · Помогает находить и устанавливать навыки агентов по запросам вроде «как сделать X»…
4 400 000 устан.
grill-memattpocock · Настойчивое интервью для доработки плана или дизайна.
1 600 000 устан.
hyperframesheygen-com · Обязательная точка входа для любых задач по видео, анимации и motion-графике в…
1 600 000 устан.
hyperframes-cliheygen-com · Цикл разработки HyperFrames CLI: init, add, render, preview, publish и другие команды.
1 600 000 устан.
agent-browservercel-labs · CLI для автоматизации браузера для ИИ-агентов: навигация по страницам, заполнение форм…
1 600 000 устан.
media-useheygen-com · Agent Media OS: единый навык для медиа в HyperFrames — BGM, SFX, изображения, голос, LUT.
1 500 000 устан.
hyperframes-registryheygen-com · Установка и подключение блоков реестра в композиции HyperFrames через add и catalog.
1 400 000 устан.
grill-with-docsmattpocock · Настойчивое интервью для доработки плана или дизайна, попутно создающее документацию (ADR…
1 300 000 устан.
improve-codebase-architecturemattpocock · Поиск в кодовой базе возможностей для углубления, визуальный HTML-отчёт о них и детальный…
1 300 000 устан.
tddmattpocock · Разработка через тестирование (TDD): red-green-refactor и интеграционные тесты.
1 300 000 устан.
Похожее в других разделах каталога

Соседние разделы каталога: возможно, нужный инструмент живёт там.

A11y Architectaffaan-m · Архитектор доступности, специализирующийся на соответствии WCAG 2.2 для веба и нативных…
225 587 ★
Architectaffaan-m · Специалист по архитектуре ПО для проектирования систем, масштабируемости и принятия…
225 587 ★
Healthcare Revieweraffaan-m · Проверяет медицинский код: клиническая безопасность, CDSS, PHI и целостность данных.
225 587 ★
agentic-bundle-systems-programmingsickn33 · Установите набор редакционных навыков «Systems Programming» для Claude Code.
49 917 ★
oracle-ai-data-platform-workbench-spark-connectorsanthropics · Коннекторы Spark для Oracle AI Data Platform Workbench в Claude Code. 18…
100 комп.
pineconeanthropics · Интеграция векторной базы данных Pinecone. Упрощает разработку с Pinecone благодаря…
100 комп.
application-performancewshobson · Профилирование приложений, оптимизация производительности и observability для фронтенд- и…
495 комп.
database-designwshobson · Архитектура баз данных, проектирование схем и оптимизация SQL для production-систем
495 комп.
error-diagnosticswshobson · Трассировка ошибок, анализ первопричин и умная отладка продакшен-систем.
495 комп.
functional-programmingwshobson · Функциональное программирование на Elixir, паттерны OTP, фреймворк Phoenix и…
495 комп.

Лучшие ИИ-инструменты для генерации изображений

Генерация изображений

Подборка нейросетей для генерации изображений от фотореализма до концепт-арта. Сервисы, которые экономят часы ручной работы, создавая визуал для блогов, рекламы и дизайна за минуты

MagviMagvi
По запросу
5.0
DALL-E 3OpenAI
По подписке
5.0
SupaLabSupalab
По запросу
5.0
Freestyling.aiFreestyling
Есть бесплатный тариф
4.9
ArtGeneration.meArtgeneration
Есть бесплатный тариф
4.9
BigjpgBigjpg
По запросу
4.9
Художник от VKVK
Бесплатно
4.9
Wonderink — ИИ-книги
Есть бесплатный тариф
4.8
Avato AI12ai
По запросу
4.8
Virton AIVirton
По запросу
4.8

Лучшие ИИ-инструменты для генерации видео

Генерация видео

Подборка нейросетей для генерации и монтажа видео. Инструменты, которые превращают текст в готовые ролики, экономят часы на съемках и постпродакшне. Подходит для SMM-специалистов,

VEED.IOVeed
По запросу
5.0
MootionMootion
По запросу
5.0
FlyviFlyvi
Есть бесплатный тариф
4.9
Google Veo 3.1Google
Платно
4.9
Sora (OpenAI)OpenAI
Платно
4.9
PikaPika
Платно
4.9
captions space
Есть бесплатный тариф
4.8
Клайп
Есть бесплатный тариф
4.8
viralpulse.appViralpulse
По запросу
4.8
Viral Maker AIViral-maker
Есть бесплатный тариф
4.8

Лучшие ИИ-инструменты для генерации текста и копирайтинга

Генерация текста и копирайтинг

Подборка нейросетей для генерации текстов и копирайтинга. Сервисы, которые помогают создавать статьи, посты и рекламные объявления с нуля или по черновику, экономя часы рутинной ра

NeuroscribeNeuroscribe
Есть бесплатный тариф
5.0
GoGPTGogpt
По запросу
5.0
ChatsonicChatsonic
По запросу
4.9
НейроТекстерNeuro-texter
По запросу
4.9
ChatGPTOpenAI
По подписке
4.9
Редактум
Есть бесплатный тариф
4.8
ChadGPTChadgpt
По запросу
4.8
Cosmo ScribeCosmoscribe
Есть бесплатный тариф
4.8
Memo HelperCopilot33
По запросу
4.8
LibraChatLibrachat
Есть бесплатный тариф
4.8