Saltar al contenido
Skillpedia
Documentación33 mil · #8435

architecture-decision

Qué hace

Esta skill documenta una decisión técnica para que el equipo recuerde por qué se tomó. Sirve para equipos de juegos y software que quieren registros claros y duraderos de las decisiones clave.

Cuándo usarla

  • ✓Cuando tu equipo ha tomado o está sopesando una decisión técnica importante.
  • ✓Cuando quieres dejar por escrito las alternativas y las ventajas e inconvenientes para el futuro.
  • ✓Cuando una decisión necesita revisión de un director técnico o especialista del motor antes de aceptarse.

Link de la skill

https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/architecture-decision/SKILL.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/architecture-decision/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Escribe un registro de decisión para elegir una biblioteca de máquinas de estados en lugar de lógica escrita a mano.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

Registra el contexto, las opciones consideradas, el enfoque elegido y las consecuencias. La profundidad de cada sección sigue tu configuración de documentación, y el registro pasa por revisión.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de 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.
  • small and studio: 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:

  1. Read the ## Required ADRs section of docs/architecture/architecture.md (by section) and list docs/architecture/adr-*.md: a required ADR with no file is still unwritten. Without architecture.md, look for ADRs flagged in technical-preferences.md or systems-index.md as prerequisites
  2. Check if all prerequisite ADRs are now written. If yes, include a "Start writing GDDs" option.
  3. List ALL remaining priority ADRs as individual options — not ju
Preguntas frecuentes

¿Qué hace bueno a un registro de decisión?

Explica el contexto, enumera las alternativas consideradas y señala las consecuencias de la elección.

¿Quién lo revisa?

Lo revisan un director técnico y el especialista del motor correspondiente.

¿Cuánto ocupa?

La extensión depende de tu ajuste de densidad de documentación, desde viñetas breves hasta una justificación completa.

Detalles

Descripción original del autor

Create an ADR documenting a technical decision: context, alternatives considered, consequences.

repo: Donchitos/Claude-Code-Game-Studios

Popularidad

Estrellas en GitHub
33 mil
Posición en el ranking
#8435
Licencia
MIT
Actualizada
18/10/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas