mirror of
https://github.com/bmad-code-org/BMAD-METHOD.git
synced 2026-01-30 04:32:02 +00:00
* docs: radical reduction of documentation scope for v6 beta Archive and basement unreviewed content to ship a focused, minimal doc set. Changes: - Archive stale how-to workflow guides (will rewrite for v6) - Archive outdated explanation and reference content - Move unreviewed content to basement for later review - Reorganize TEA docs into dedicated /tea/ section - Add workflow-map visual reference page - Simplify getting-started tutorial and sidebar navigation - Add explanation pages: brainstorming, adversarial-review, party-mode, quick-flow, advanced-elicitation - Fix base URL handling for subdirectory deployments (GitHub Pages forks) The goal is a minimal, accurate doc set for beta rather than comprehensive but potentially misleading content. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * refactor: restructure BMM and agents documentation by consolidating and flattening index files. --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
3.5 KiB
3.5 KiB
title, description
| title | description |
|---|---|
| How to Create Architecture | How to create system architecture using the BMad Method |
Use the architecture workflow to make technical decisions explicit and prevent agent conflicts during implementation.
When to Use This
- Multi-epic projects (BMad Method, Enterprise)
- Cross-cutting technical concerns
- Multiple agents implementing different parts
- Integration complexity exists
- Technology choices need alignment
When to Skip This
- Quick Flow (simple changes)
- BMad Method Simple with straightforward tech stack
- Single epic with clear technical approach
:::note[Prerequisites]
- BMad Method installed
- Architect agent available
- PRD completed :::
Steps
1. Load the Architect Agent
Start a fresh chat and load the Architect agent.
2. Run the Architecture Workflow
*create-architecture
3. Engage in Discovery
This is NOT a template filler. The architecture workflow:
- Discovers technical needs through conversation
- Proposes architectural options with trade-offs
- Documents decisions that prevent agent conflicts
- Focuses on decision points, not exhaustive documentation
4. Document Key Decisions
Work with the agent to create Architecture Decision Records (ADRs) for significant choices.
5. Review the Architecture
The agent produces a decision-focused architecture document.
What You Get
An architecture.md document containing:
- Architecture Overview — System context, principles, style
- System Architecture — High-level diagram, component interactions
- Data Architecture — Database design, state management, caching
- API Architecture — API style (REST/GraphQL/gRPC), auth, versioning
- Frontend Architecture — Framework, state management, components
- Integration Architecture — Third-party integrations, messaging
- Security Architecture — Auth/authorization, data protection
- Deployment Architecture — CI/CD, environments, monitoring
- ADRs — Key decisions with context, options, rationale
- FR/NFR-Specific Guidance — Technical approach per requirement
- Standards and Conventions — Directory structure, naming, testing
ADR Format
## ADR-001: Use GraphQL for All APIs
**Status:** Accepted | **Date:** 2025-11-02
**Context:** PRD requires flexible querying across multiple epics
**Decision:** Use GraphQL for all client-server communication
**Options Considered:**
1. REST - Familiar but requires multiple endpoints
2. GraphQL - Flexible querying, learning curve
3. gRPC - High performance, poor browser support
**Rationale:**
- PRD requires flexible data fetching (Epic 1, 3)
- Mobile app needs bandwidth optimization (Epic 2)
- Team has GraphQL experience
**Consequences:**
- Positive: Flexible querying, reduced versioning
- Negative: Caching complexity, N+1 query risk
- Mitigation: Use DataLoader for batching
Example
E-commerce platform produces:
- Monolith + PostgreSQL + Redis + Next.js + GraphQL
- ADRs explaining each choice
- FR/NFR-specific implementation guidance
Tips
- Focus on decisions that prevent conflicts — Multiple agents need alignment
- Use ADRs for every significant choice — Document the "why"
- Keep it practical — Don't over-architect
- Architecture is living — Update as you learn
Next Steps
After architecture:
- Create Epics and Stories — Work breakdown informed by architecture
- Implementation Readiness — Gate check before Phase 4