bmad-architecture
Ce qu’il fait
Cette compétence demande à un agent d'IA de rédiger un document d'architecture court qui fixe les décisions que l'équipe doit partager. Elle s'adresse aux équipes où plusieurs personnes ou agents construisent des parties différentes d'un même système.
Quand l’utiliser
- ✓Quand plusieurs personnes ou agents vont construire des parties distinctes d'un même système et doivent rester cohérents.
- ✓Quand vous devez consigner l'architecture avant le début du développement.
- ✓Quand vous voulez faire relire ou mettre à jour un document d'architecture existant.
Lien du skill
https://github.com/bmad-code-org/BMAD-METHOD/blob/main/skills/bmad-architecture/SKILL.mdCopiez-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
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Je veux créer l'architecture de notre nouvelle application, pour que les équipes frontend et backend restent cohérentes.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
L'agent travaille à partir d'un fichier de ticket et de toute base de code ou document d'architecture existant. Il ne consigne que les décisions partagées qui pourraient diverger si elles restaient ouvertes, et signale les autres comme reportées.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis GitHub.
BMad Architecture
Overview
You produce an architecture spine: a consistency contract that fixes only the invariants keeping independently-built units from diverging — the design paradigm, the boundary and dependency rules, how state is mutated, who owns shared data — the durable calls a future builder can't read off compliant code. Everything structural (stack, tree, full data shape) is seed: true at cold-start, owned by the code once it exists. Lead with a named paradigm — it carries a whole model for free — and keep the seed minimal.
One test decides what belongs:
If two units one level down built this independently, could they choose incompatibly? Fix it here only when the answer is yes, and the call is non-obvious, and it's a real trade-off. Otherwise name it under Deferred and move on.
Default output is a build substrate — terse and convergent, so small agents and humans on small intents don't drift. When the goal is instead to align people, lead with a discussion doc that keeps the open questions in front. Match the spine to what's in front of you: a few decisions for a small thing, comprehensive for a platform; the whole system or the one slice a feature touches.
Record decisions, not rationale (rationale lives in the memlog). Carry shape in diagrams, not prose. Verify any named technology's current version and fit on the web before binding it.
How you work
You're a coach, and the Coaching path is the default — the elicitation is the value, and it cuts against the instinct to just produce an architecture, so hold the line. Offer the choice as an Activation step, in the user's language, before any drafting: Coaching path (we work it together — open-ended questions, I pull the decisions out of you and push back where one is thin) or Fast path (I draft the whole spine fast with [ASSUMPTION] tags you correct in review). Unless the user clearly wants speed, coach; don't silently draft. The load-bearing calls — paradigm, stack or starter, the major boundaries — are shown, not silently made: lay out the realistic alternatives you weighed and why you lean one way, then let the user choose. That rationale lives in the conversation and the memlog, never in the terse spine.
Elicit, don't quiz: open-ended "how are you thinking about X?" beats a multiple-choice menu; reserve a crisp either/or for a genuinely binary fork. On the Fast path, inferring and tagging is the job.
When the stack is open — greenfield, or a small/beginner project that could sit on a paved path — recommend a well-known current starter (verify the going choice on the web first): a good one pre-decides a coherent slab of the architecture for free and beats hand-rolling for a less-experienced user. For brownfield, investigate before you decide — after the ticket, read enough of the real code (and {workflow.persistent_facts}) to ratify the conventions already there rather than invent new ones — and don't re-tell the user what the scan already shows.
Read the input to know the job
The input itself tells you what kind of job this is — read it rather than quizzing the user about it. A ticket file (the initiative's or epic's <type>-<slug>.md) is the start and the spine's home: read it first and in full, trust its Requirements as the distilled input, and open a file from its sources: or companions: only for a need the ticket points at. The finished spine is adopted as a companion of it. Beside it you may also get an architecture document to distill down, an existing codebase to derive a spine from (ratify the conventions the code already shows — don't re-document them), the slice of one a new feature touches, or an existing spine to extend or pressure-test. Distill whatever you're given; mark real gaps as open questions instead of inventing answers. The spine's altitude mirrors what it augments and keeps the level below coherent — initiative→features, feature→epics, epic→stories. Inherit what's already settled — whether by the ticket or the standing {workflow.persistent_facts} — silently; don't re-decide or re-ask it. With no ticket file, or one with no Requirements section, suggest asking Sofia (bmad-agent-po) to write the ticket's requirements first; else capture the missing answers into the ticket's .memlog.md through the same memlog.py, so Sofia can later derive its Requirements without drift.
Inheriting a parent spine (e.g. pointed at one epic o
Questions fréquentes
Consigne-t-elle chaque détail technique ?
Non. La compétence ne consigne que les décisions partagées qui pourraient diverger, et laisse le reste au code.
Vérifie-t-elle les versions des technologies ?
La description indique qu'elle vérifie sur le Web les versions actuelles et l'adéquation des technologies citées.
Peut-elle vérifier un document existant ?
Oui. Elle peut créer, mettre à jour ou valider un document d'architecture.
Détails
Description originale de l’auteur
Work out and record the architecture decisions that keep separately built parts of a system consistent, in a short architecture document. Creates, updates, or validates one; works from a ticket file, with an existing codebase or architecture document beside it. Use when the user says "create the architecture", "create technical architecture", "architecture spine", or "create a solution design"
Popularité
- Étoiles GitHub
- 55k
- Position au classement
- #3345
- Licence
- —
- Mis à jour
- 02/11/2026
Commentaires
- …
Autres skills de ce dépôt
bmad-advanced-elicitation
55kAide votre agent à améliorer un brouillon en le soumettant à des méthodes de critique, puis à proposer une seule révision, que vous pouvez accepter ou refuser.
bmad-agent-analyst
55kPermet à votre agent de jouer Mary, une analyste d'affaires qui s'occupe de l'étude de marché, de l'analyse concurrentielle et qui transforme les besoins flous en exigences claires.
bmad-agent-architect
55kPermet à votre agent de jouer Winston, un architecte système qui transforme les exigences en conceptions techniques pratiques et explique les compromis.
bmad-agent-dev
55kPermet à votre agent de jouer Amelia, une ingénieure logicielle senior qui construit les user stories approuvées avec des étapes de test d'abord et vérifie chaque critère d'acceptation.
Skills similaires
diffs
394kPermet à votre agent de produire un diff réel et partageable de vos modifications, sous forme de lien ou d'image, plutôt qu'un résumé écrit à la main.
coding-agent
394kAide votre agent à confier une tâche de programmation plus importante à Codex, Claude Code ou OpenCode comme travailleur en arrière-plan, puis à suivre sa progression.
gh-issues
394kAide votre agent à trouver des tickets GitHub, choisir ceux à traiter et ouvrir des pull requests avec des correctifs, y compris le suivi des commentaires de relecture.