architecture-decision
Что он делает
Этот скилл фиксирует техническое решение, чтобы команда помнила, почему оно принято. Он нужен игровым и программным командам, которые хотят вести ясные и долговечные записи ключевых выборов.
Когда использовать
- ✓Когда ваша команда приняла или обдумывает значимый технический выбор.
- ✓Когда вы хотите записать альтернативы и компромиссы для будущего использования.
- ✓Когда решение нужно проверить техническому директору или специалисту по движку до принятия.
Ссылка на скилл
https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/architecture-decision/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Напиши запись решения о выборе библиотеки конечного автомата вместо самописной логики.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Скилл фиксирует контекст, рассмотренные варианты, выбранный подход и последствия. Глубина каждого раздела зависит от настроек документации, а запись проходит проверку.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с GitHub.
!bash "${CLAUDE_SKILL_DIR}/../../hooks/yaml-helper.sh" resolve_config --keys review_mode,automation,workflow,docs.density,team.size
Resolved above — use as-is; --review overrides review_mode. No block →
defaults in .claude/docs/config-resolution.md.
Architecture Decision
When this skill is invoked:
0. Parse Arguments — Detect Retrofit / Acceptance Mode
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).
team.size: which agents validate this ADR (orthogonal to review_mode/workflow).
individual(default):technical-director(TD-ADR) + the engine-specialist.smallandstudio: the same two. This skill spawns no engine sub-specialist and no adversarial reviewer at any size.
docs.density — it controls the depth of the ADR's prose sections, not
which sections the skeleton emits (that is fixed). modes.rigor sets it
alongside workflow; set docs.density explicitly to vary ADR verbosity alone:
terse (the default, via rigor: minimal) = decision + alternatives as bullets, one line of rationale each;
balanced = paragraph per section with light rationale (rigor: standard); thorough =
full prose with trade-offs and worked rationale in Decision, Alternatives, and
Consequences. Apply it to the prose sections; the Engine Compatibility, ADR
Dependencies, and GDD Requirements tables are structural and stay whole at every
density.
workflow (see .claude/docs/workflow-modes.md):
full— all ADRs on the required ADR list must be completed.standard— critical ADRs only (Foundation-layer systems).minimal— not required. Can still be run voluntarily.
If the argument starts with retrofit followed by a file path
Read references/0-retrofit.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.
If the argument starts with accept followed by an ADR id
Read references/0-accept.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.
If NOT in retrofit or acceptance mode, proceed to Step 1 below (normal ADR authoring).
No-argument guard: If no argument was provided (title is empty), ask before running Phase 0:
"What technical decision are you documenting? Please provide a short title (e.g.,
event-system-architecture,physics-engine-choice)."
Use the user's response as the title, then proceed to Step 1.
1. Load Engine Context (ALWAYS FIRST)
Read references/1-engine-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.
2. Determine the next ADR number
Scan docs/architecture/ for existing ADRs to find the next number.
3. Gather context
Read references/3-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.
4. Guide the decision collaboratively
Read references/4-decide.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. Generate the ADR
Read references/5-generate.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. Closing Next Steps
After the ADR is written (and registry optionally updated), close with AskUserQuestion.
Before generating the widget:
- Read the
## Required ADRssection ofdocs/architecture/architecture.md(by section) and listdocs/architecture/adr-*.md: a required ADR with no file is still unwritten. Withoutarchitecture.md, look for ADRs flagged in technical-preferences.md or systems-index.md as prerequisites - Check if all prerequisite ADRs are now written. If yes, include a "Start writing GDDs" option.
- List ALL remaining priority ADRs as individual options — not ju
Частые вопросы
Что делает запись решения хорошей?
Она объясняет контекст, перечисляет рассмотренные альтернативы и описывает последствия выбора.
Кто её проверяет?
Её проверяют технический директор и профильный специалист по движку.
Насколько она длинная?
Длина зависит от настройки плотности документации: от коротких пунктов до полного обоснования.
Подробности
Оригинальное описание автора
Create an ADR documenting a technical decision: context, alternatives considered, consequences.
Популярность
- Звёзды на GitHub
- 33k
- Место в рейтинге
- #8435
- Лицензия
- MIT
- Обновлён
- 18.10.2026
Комментарии
- …
Другие скиллы из этого репозитория
adopt
33kПроверяет, соответствуют ли документы игрового проекта шаблону студии, и пишет пронумерованный план миграции для устранения пробелов.
architecture-review
33kПроверяет, что технические решения покрывают все требования дизайна, не конфликтуют между собой и подходят версии движка, и выдаёт понятный вердикт.
art-bible
33kПишет арт-библию, которая определяет визуальную идентичность игры, чтобы создание ассетов следовало одному понятному набору правил стиля.
asset-audit
33kПроверяет игровые ассеты на соответствие правилам именования, бюджетам размера файлов и стандартам формата, а также находит неиспользуемые или сломанные ссылки.
Похожие скиллы
technical-documentation
394kПомогает агенту писать и проверять понятную техническую документацию и инструкции для агентов, чтобы людям и ИИ-инструментам было легко по ним работать.
architecture-decision-records
280kАгент записывает важные решения о структуре проекта. Помогает понимать причины выбора и вести ясную историю изменений.
code-tour
280kАгент создаёт пошаговые экскурсии по коду с точными ссылками на файлы и строки. Полезен для знакомства, объяснений и ревью.