Design system architecture from an approved PRD. Phase 3 (Solutioning).
From bmad-coworknpx claudepluginhub bspann/bmad-cowork --plugin bmad-coworkThis skill uses the workspace's default tool permissions.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Enables AI agents to execute x402 payments with per-task budgets, spending controls, and non-custodial wallets via MCP tools. Use when agents pay for APIs, services, or other agents.
Use when designing the system architecture based on an approved PRD. This is Phase 3 (Solutioning) of the BMad Method.
Trigger with: "create architecture", "system design", "tech stack", "data model", "Phase 3"
Agent: Architect (Archie)
Input: _bmad-output/planning-artifacts/prd.md, _bmad-output/planning-artifacts/project-brief.md
Output: _bmad-output/planning-artifacts/architecture.md
Read the PRD and project brief. Read _bmad/config.yaml for any pre-selected stack preferences. Read _bmad/context.md for accumulated decisions.
From the PRD, extract:
Propose the tech stack with justification. Consider:
Create ADR-001: Tech Stack Selection with: Context, Decision, Consequences, Alternatives Considered.
Design high-level architecture:
Design the data model:
Define the API surface:
Define:
Address:
Use this structure:
# Architecture Document: [Project Name]
## Overview
[High-level architecture summary]
## Architecture Decision Records
### ADR-001: Tech Stack Selection
### ADR-002: [Next significant decision]
## Tech Stack
| Layer | Technology | Justification |
|-------|-----------|---------------|
## System Architecture
### Component Diagram
### Communication Patterns
### Deployment Topology
## Data Architecture
### Entity Descriptions
### Key Relationships
### Migration Strategy
## API Design
### Endpoint Inventory
### Authentication
### Error Handling
## Infrastructure
### Environments
### CI/CD
### Monitoring
## Security Architecture
### Authentication Flow
### Authorization Model
### Data Protection
## Performance Considerations
## Open Architecture Questions
Present to user. Iterate until approved. Architecture MUST be approved before epics/stories can be created.
_bmad-output/planning-artifacts/architecture.md_bmad/bmm-workflow-status.yaml: set phase_3_solutioning.architecture to "complete"_bmad/context.md/bmad-cowork:ux-design), TEA test design (/bmad-cowork:tea-test-design), or create epics (/bmad-cowork:epics)"