architecture-decision
O que ela faz
Esta skill documenta uma decisão técnica para que a equipe se lembre por que ela foi tomada. É para equipes de jogos e de software que querem registros claros e duradouros de escolhas importantes.
Quando usar
- ✓Quando sua equipe tomou ou está avaliando uma escolha técnica significativa.
- ✓Quando você quer que as alternativas e os trade-offs sejam registrados para referência futura.
- ✓Quando uma decisão precisa de revisão por um diretor técnico ou especialista de engine antes de ser aceita.
Link da skill
https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/architecture-decision/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Escreva um registro de decisão sobre escolher uma biblioteca de máquina de estados em vez de uma lógica escrita à mão.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
Ela registra o contexto, as opções consideradas, a abordagem escolhida e as consequências. A profundidade de cada seção segue suas configurações de documentação, e o registro passa por revisão.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do 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
Perguntas frequentes
O que torna um bom registro de decisão?
Ele explica o contexto, lista as alternativas consideradas e declara as consequências da escolha.
Quem revisa?
Um diretor técnico e o especialista de engine relevante revisam.
Qual é o tamanho dele?
O tamanho depende da sua configuração de densidade de documentação, de tópicos curtos a uma justificativa completa.
Detalhes
Descrição original do autor
Create an ADR documenting a technical decision: context, alternatives considered, consequences.
Popularidade
- Estrelas no GitHub
- 33 mil
- Posição no ranking
- #8435
- Licença
- MIT
- Atualizada em
- 18/10/2026
Comentários
- …
Mais skills deste repositório
adopt
33 milVerifica se os documentos de um projeto de jogo existente seguem os formatos do template do estúdio e, em seguida, escreve um plano de migração numerado para corrigir as lacunas.
architecture-review
33 milVerifica se suas decisões técnicas cobrem todos os requisitos de design, não entram em conflito e se encaixam na versão da engine, com um veredito claro de aprovação ou de preocupação.
art-bible
33 milEscreve um art bible que define a identidade visual do seu jogo, para que a produção de recursos siga um único conjunto claro de regras de estilo.
asset-audit
33 milVerifica os recursos do jogo contra regras de nomenclatura, orçamentos de tamanho de arquivo e padrões de formato, e encontra referências de recursos não utilizadas ou quebradas.
Skills parecidas
technical-documentation
394 milAjuda seu agente a escrever e revisar documentação técnica clara e arquivos de instruções, para que pessoas e ferramentas de IA sigam tudo com facilidade.
architecture-decision-records
280 milFaz seu agente registrar decisões importantes sobre a estrutura do projeto. Ajuda a entender o porquê das escolhas feitas e a manter um histórico claro das mudanças.
code-tour
280 milFaz seu agente criar guias passo a passo no código, com arquivos e linhas exatos. Útil para apresentar projetos, explicar código ou revisar mudanças.