bmad-architecture

Produces an architecture spine of invariants and AD decisions distilled from a memlog.

Updated Jul 9, 2026
Ready to run
npx skills add https://github.com/unbakedcosmos/thumbnailer --skill bmad-architecture-unbakedcosmos
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: bmad-architecture
Source: https://github.com/unbakedcosmos/thumbnailer/tree/main/.claude/skills/bmad-architecture
Command: npx skills add https://github.com/unbakedcosmos/thumbnailer --skill bmad-architecture-unbakedcosmos

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve? Teams building a system in independent units drift apart on boundaries, state mutation, data ownership, and stack choices. This Skill produces a lean architecture spine — a consistency contract of invariants and AD-n decisions — so separately built units stay compatible without a bloated architecture document. ## Core Features & Use Cases - Architecture spine authoring: Elicits or drafts a spine with a named design paradigm, AD-n decisions (Binds/Prevents/Rule), consistency conventions, a pinned stack table, and a Deferred section, all distilled from an append-only memlog. - Coaching or Fast path: Offers an interactive coaching mode that pulls decisions out of the user, or a fast drafting mode with [ASSUMPTION] tags for later correction. - Reviewer Gate validation: Runs a deterministic lint_spine.py pass plus parallel reviewer subagents against the good-spine checklist before handoff, and supports a standalone Validate intent with an HTML report. - Use Case: Point it at a spec package or brownfield codebase and ask for the architecture; it ratifies existing conventions, inherits any parent spine's ADs as read-only constraints, and emits ARCHITECTURE-SPINE.md plus a .memlog.md decision log. ## Quick Start Ask the assistant to create the architecture spine for your project from the current spec or codebase, choosing the coaching path when prompted.

Frequently Asked Questions about bmad-architecture

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a software architecture document from a spec?▼

Invoke the skill with your spec package or PRD and choose the Coaching path (default) or Fast path. It elicits the load-bearing decisions, logs them to a memlog, and distills an ARCHITECTURE-SPINE.md with AD-n decisions, conventions, and a pinned stack.

What is an architecture spine versus a full architecture document?▼

A spine fixes only the invariants that prevent independently built units from diverging — paradigm, boundaries, state mutation, data ownership — and defers everything else. Structural detail is treated as seed owned by the code, keeping the artifact terse instead of a bloated prose document.

Can it derive architecture from an existing brownfield codebase?▼

Yes. For brownfield inputs it reads the real code and project-context.md first, ratifying conventions already present rather than inventing new ones. Decisions already settled by reality are tagged [ADOPTED] in the spine.

How does the Reviewer Gate validate an architecture spine?▼

The gate runs lint_spine.py for mechanical checks — placeholders, duplicate or non-monotonic AD IDs, missing Binds/Prevents/Rule fields, unpinned stack versions — then dispatches parallel reviewer subagents against a good-spine checklist plus any configured finalize_reviewers lenses.

Does it support updating an existing architecture without breaking references?▼

Yes. The Update intent resumes from the run's .memlog.md, amends Rules in place, and appends new AD-n entries with the next number. AD IDs are never renumbered or reused, so downstream documents citing them stay valid.

When should I not use this architecture spine approach?▼

If the real need is requirements, UX, a capability contract, or epic breakdown, the skill defers to the bmad-prd, bmad-ux, bmad-spec, or bmad-create-epics-and-stories skills instead. It also suggests running bmad-spec first when the input is too thin to build on.