Automated summary
This skill designs the complete system architecture for a project, including components, data flow, infrastructure, database schema, and API design.
Strengths
- Covers all architectural aspects (components, data, infrastructure).
- Integrates with previous stages to ensure consistency.
- Produces detailed proposals and actionable artifacts.
- Guides subsequent development by setting clear technical decisions.
Limitations
- Requires all previous stages to be complete.
- May be overly rigid for very simple projects.
- Assumes a specific directory structure (dev-swarm).
Use this skill when starting the architecture phase of a software project to define fundamental technical decisions.
Do not use it when the project is too small to justify formal architecture documentation.
Security analysis
SafeThe skill is a process guide for designing system architecture. It contains no executable commands, no network access, no destructive actions, and no data exfiltration instructions. It only instructs reading and writing project files within the development environment.
No concerns found
How this analysis is madeExamples
Start stage 07 for my projectDesign the database schema for my e-commerce app based on the ideas and requirements from previous stages.What tech stack should I use for a real-time chat application? Include rationale for each component.name: dev-swarm-stage-architecture description: 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.
Stage 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
00-init-ideas/through06-ux/folders have content (not just.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.md00-init-ideas/*.mdthrough06-ux/*.md- All markdown files
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:
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 choice
Database Design:
database-design.md- Database schema design and data modeling approachdatabase-schema/- ER diagrams showing tables and relationships
API Architecture:
api-design.md- API architecture patterns, authentication, versioning strategyapi-endpoints.md- Complete listing of API endpoints
Infrastructure:
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 strategies
Data & Integrations:
data-flow-diagram/- Data flow diagramsintegration-architecture.md- Third-party service integrations
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
.mdfiles: Write comprehensive content with clear sections and technical details - For diagram folders: Follow
dev-swarm/docs/mermaid-diagram-guide.mdto create related diagrams files
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
07-architecture/README.mdto remove any deleted files - 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
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/complete-system-architecture-design-mm78no41/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/complete-system-architecture-design-mm78no41' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/complete-system-architecture-design-mm78no41/download' --output '.skill-downloads/complete-system-architecture-design-mm78no41/SKILL.md.part' && mv '.skill-downloads/complete-system-architecture-design-mm78no41/SKILL.md.part' '.skill-downloads/complete-system-architecture-design-mm78no41/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/complete-system-architecture-design-mm78no41/SKILL.md' && test -s '.skill-downloads/complete-system-architecture-design-mm78no41/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/dev-swarm-stage-architecture' && cp -R '.skill-downloads/complete-system-architecture-design-mm78no41' '.claude/skills/dev-swarm-stage-architecture'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/complete-system-architecture-design-mm78no41'openskills read 'complete-system-architecture-design-mm78no41'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/complete-system-architecture-design-mm78no41/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.