Design the complete system architecture including components, data flow, infrastructure, database schema, and API design...
Design the complete system architecture including components, data flow, infrastructure, and technical decisions that will guide all subsequent development work.
See dev-swarm/docs/general-dev-stage-rule.md for role selection guidance.
See dev-swarm/docs/general-dev-stage-rule.md for the required role announcement format.
Before starting, verify previous stages:
00-init-ideas/ through 06-ux/ folders have content (not just .gitkeep)SKIP.md:Read all files to understand the project:
ideas.md00-init-ideas/*.md through 06-ux/*.md - All markdown filesGeneral Rules: See dev-swarm/docs/general-dev-stage-rule.md → "Create Stage Proposal Rules" section.
If this stage is skipped (has SKIP.md), execute the next non-skipped stage's agent skill. Otherwise, create the file 07-architecture/README.md with the following content:
Brief the goal in 2-3 paragraphs:
Select files from these options based on project needs:
System Architecture:
system-architecture.md - Overall system architecture describing components and interactionsarchitecture-diagram/ - High-level system architecture diagramsC4-component-diagram/ - C4 model diagrams: Context, Containers, Components
Technology Stack:tech-stack.md - Selected languages, frameworks, libraries, and toolstech-stack-rationale.md - Detailed reasoning for each technology choiceDatabase Design:
database-design.md - Database schema design and data modeling approachdatabase-schema/ - ER diagrams showing tables and relationshipsAPI Architecture:
api-design.md - API architecture patterns, authentication, versioning strategyapi-endpoints.md - Complete listing of API endpointsInfrastructure:
infrastructure-design.md - Overview of infrastructure componentsinfrastructure-diagram/ - Infrastructure topology diagrams
Security & Scalability:security-architecture.md - Security design including authentication and authorizationscalability-plan.md - Scalability considerations and strategiesData & Integrations:
data-flow-diagram/ - Data flow diagramsintegration-architecture.md - Third-party service integrationsFor each selected file, provide:
Ask user: "Please check the Stage Proposal in 07-architecture/README.md. Update it directly or tell me how to update it."
Once user approves 07-architecture/README.md:
Create each file listed in the approved README:
.md files: Write comprehensive content with clear sections and technical detailsdev-swarm/docs/mermaid-diagram-guide.md to create related diagrams filesQuality Guidelines:
After creating all files:
Once user approves all files:
07-architecture/README.md to remove any deleted filesInform user:
See dev-swarm/docs/general-dev-stage-rule.md for stage completion, commit, and skip rules.