Awesome-omni-skill dev-swarm-stage-architecture
Design the complete system architecture including components, data flow, infrastructure, database schema, and API design. Use when starting stage 07 (architecture) or when user asks about system design, tech stack, or database schema.
git clone https://github.com/diegosouzapw/awesome-omni-skill
T=$(mktemp -d) && git clone --depth=1 https://github.com/diegosouzapw/awesome-omni-skill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/development/dev-swarm-stage-architecture" ~/.claude/skills/diegosouzapw-awesome-omni-skill-dev-swarm-stage-architecture && rm -rf "$T"
skills/development/dev-swarm-stage-architecture/SKILL.mdStage 07 - Architecture
Design the complete system architecture including components, data flow, infrastructure, and technical decisions that will guide all subsequent development work.
When to Use This Skill
- User asks to start stage 07 (architecture)
- User wants to design system architecture or select tech stack
- User asks about database design, API architecture, or infrastructure
Your Roles in This Skill
See
dev-swarm/docs/general-dev-stage-rule.md for role selection guidance.
Role Communication
See
dev-swarm/docs/general-dev-stage-rule.md for the required role announcement format.
Pre-Stage Check
Before starting, verify previous stages:
- Check if
through00-init-ideas/
folders have content (not just06-ux/
).gitkeep - If any previous stage is empty and has no
:SKIP.md- Ask user: "Stage {XX} is not complete. Would you like to skip it or start from that stage first?"
Instructions
Step 1: Context Review
Read all files to understand the project:
ideas.md
through00-init-ideas/*.md
- All markdown files06-ux/*.md
Step 2: Create Stage Proposal
General 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:
2.1 Stage Goal
Brief the goal in 2-3 paragraphs:
- What this stage aims to achieve (define system architecture, tech stack, data models, APIs)
- Why architecture design is critical before development begins
- How this builds upon previous stages (UX flows, PRD requirements, MVP scope, tech research findings)
- What deliverables will be produced
2.2 File Selection
Select files from these options based on project needs:
System Architecture:
- Overall system architecture describing components and interactionssystem-architecture.md
- High-level system architecture diagramsarchitecture-diagram/
- C4 model diagrams: Context, Containers, Components Technology Stack:C4-component-diagram/
- Selected languages, frameworks, libraries, and toolstech-stack.md
- Detailed reasoning for each technology choicetech-stack-rationale.md
Database Design:
- Database schema design and data modeling approachdatabase-design.md
- ER diagrams showing tables and relationshipsdatabase-schema/
API Architecture:
- API architecture patterns, authentication, versioning strategyapi-design.md
- Complete listing of API endpointsapi-endpoints.md
Infrastructure:
- Overview of infrastructure componentsinfrastructure-design.md
- Infrastructure topology diagrams Security & Scalability:infrastructure-diagram/
- Security design including authentication and authorizationsecurity-architecture.md
- Scalability considerations and strategiesscalability-plan.md
Data & Integrations:
- Data flow diagramsdata-flow-diagram/
- Third-party service integrationsintegration-architecture.md
For each selected file, provide:
- Short description
- Why it's essential for this project
- Key information it should include
2.3 Request User Approval
Ask user: "Please check the Stage Proposal in
07-architecture/README.md. Update it directly or tell me how to update it."
Step 3: Execute Stage Plan
Once user approves
07-architecture/README.md:
3.1 Create All Planned Files
Create each file listed in the approved README:
- For
files: Write comprehensive content with clear sections and technical details.md - For diagram folders: Follow
to create related diagrams filesdev-swarm/docs/mermaid-diagram-guide.md
Quality Guidelines:
- Base architecture decisions on PRD requirements, UX designs, and tech research findings
- Ensure tech stack choices align with team capabilities and validated assumptions
- Design for MVP scope first, with considerations for future scalability
- Include clear component boundaries and interfaces
- Document all major architectural decisions and trade-offs
- Reference any constraints or recommendations from tech research stage
3.2 Request User Approval for Files
After creating all files:
- Provide a summary of what was created
- Highlight key architectural decisions and trade-offs
- Ask: "Please review the architecture design. You can update or delete files, or let me know how to modify them."
Step 4: Finalize Stage
Once user approves all files:
4.1 Documentation Finalization
- Sync
to remove any deleted files07-architecture/README.md - Ensure all files are complete and well-formatted
- Check that all diagrams render correctly
4.2 Prepare for Next Stage
- Summarize key architectural decisions for reference in tech-specs stage
- Identify any technical risks or open questions
4.3 Announce Completion
Inform user:
- "Stage 07 (Architecture) is complete"
- Summary of deliverables created
- Key architectural decisions made
- "Ready to proceed to Stage 08 (Tech Specs) when you are"
Stage Completion Rules
See
dev-swarm/docs/general-dev-stage-rule.md for stage completion, commit, and skip rules.
Key Principles
- Document architectural decisions and trade-offs
- Design for MVP scope first
- Consider security and scalability from the start
- Support smooth transition to tech specs