bmad-architecture

Produces an architecture spine of invariants and decisions distilled from specs or codebases.

Updated Aug 3, 2026
One-click install
npx skills add https://github.com/shaahy/quicknav-desktop --skill bmad-architecture-shaahy
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: bmad-architecture
Source: https://github.com/shaahy/quicknav-desktop/tree/main/A%20%E6%95%99%E7%A8%8B%E9%9B%86%E5%90%88/BMAD-METHOD%E6%8A%80%E8%83%BD%E9%80%9F%E6%9F%A5/source-v6.10.0/src/bmm-skills/3-solutioning/bmad-architecture
Command: npx skills add https://github.com/shaahy/quicknav-desktop --skill bmad-architecture-shaahy

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Architecture documents often balloon into bloated prose or silently diverge as independent builders make incompatible choices. This Skill produces a lean architecture spine that fixes only the invariants (paradigm, boundaries, state mutation, data ownership) needed to keep everything built from it consistent. ## Core Features & Use Cases - Architecture Spine Generation: Distills decisions into stable AD-n blocks (Binds/Prevents/Rule) with mermaid diagrams, a pinned stack table, and a deferred-decisions section, tracked through an append-only memlog. - Coaching or Fast Path: Offers an interactive coaching mode that elicits decisions from 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 a good-spine checklist before handoff, with create, update, and validate intents. - Use Case: Given a SPEC.md package or a brownfield codebase, produce ARCHITECTURE-SPINE.md that downstream epic and story planning can cite by stable AD IDs. ## Quick Start Ask the assistant to create the technical architecture for your project from the current spec or codebase, choosing the coaching path to work through the key decisions together.

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 technical architecture document from a spec?▼

Invoke the skill with your SPEC.md package or PRD as input and choose the Coaching path to elicit decisions interactively, or the Fast path for a quick draft with [ASSUMPTION] tags. The output is an ARCHITECTURE-SPINE.md distilled from an append-only memlog.

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, and data ownership. Structural details like stack and source tree are treated as seed that the code owns once it exists, keeping the document lean.

Can I use this on an existing brownfield codebase?▼

Yes. For brownfield projects the skill reads the real code and project-context.md to ratify existing conventions rather than inventing new ones. It derives the spine from what the code already shows instead of re-documenting it.

How does the reviewer gate validate an architecture spine?▼

The gate runs lint_spine.py for mechanical checks like duplicate AD IDs, missing Binds/Prevents/Rule fields, and unpinned stack versions, then dispatches parallel reviewer subagents against a good-spine checklist. Under the Validate intent it delivers an HTML report without changing the spine.

Does the skill support updating an existing architecture without renumbering decisions?▼

Yes. Updates resume from the run's .memlog.md, amend Rules in place, and append new AD-n entries while keeping existing IDs stable. Retired IDs are never reused, so downstream specs and stories can safely cite them.

When should I not use this architecture skill?▼

If the real need is requirements, UX design, a capability contract, or epic breakdown, the skill redirects to bmad-prd, bmad-ux, bmad-spec, or bmad-create-epics-and-stories instead. It focuses solely on architecture invariants and solution design.