Aller au contenu
Skillpedia
Documentation33k · #8435

architecture-decision

Ce qu’il fait

Cette skill documente une décision technique pour que l'équipe se souvienne pourquoi elle a été prise. Elle s'adresse aux équipes de jeu et de logiciel qui veulent des traces claires et durables de leurs choix clés.

Quand l’utiliser

  • ✓Quand votre équipe a pris ou envisage un choix technique important.
  • ✓Quand vous voulez que les alternatives et les compromis soient écrits pour référence future.
  • ✓Quand une décision doit être relue par un directeur technique ou un spécialiste du moteur avant d'être acceptée.

Lien du skill

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

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/architecture-decision/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Rédige un enregistrement de décision pour choisir une bibliothèque de machines à états plutôt qu'une logique écrite à la main.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

Elle consigne le contexte, les options envisagées, l'approche retenue et les conséquences. La profondeur de chaque section suit vos réglages de documentation, et l'enregistrement passe par une relecture.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis 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
Questions fréquentes

Qu'est-ce qu'un bon enregistrement de décision ?

Il explique le contexte, liste les alternatives envisagées et énonce les conséquences du choix.

Qui le relit ?

Un directeur technique et le spécialiste du moteur concerné le relisent.

Quelle est sa longueur ?

Elle dépend de votre réglage de densité de documentation, des points courts jusqu'à une justification complète.

Détails

Description originale de l’auteur

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

repo: Donchitos/Claude-Code-Game-Studios

Popularité

Étoiles GitHub
33k
Position au classement
#8435
Licence
MIT
Mis à jour
18/10/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires