| name | architecture-design |
| description | Design system architecture with components, data flow, and boundaries. Use for non-trivial features. |
Architecture Design
Design the component structure and interactions for a feature or system.
Process
- Review spec.md requirements
- Identify components and their responsibilities
- Define data flow between components
- Establish boundaries (APIs, databases, external services)
- Document patterns and trade-offs
Output
Create architecture.md using the template in templates/architecture.md.
Tips
- Use Mermaid diagrams for visual clarity
- Keep components single-responsibility
- Consider existing patterns in the codebase
- Document why decisions were made, not just what
- Identify integration points with existing code