architect
/architect Workflow
Section titled “/architect Workflow”This workflow defines the technical architecture based on the PRD.
Prerequisites
Section titled “Prerequisites”- A
PRD.mdfile should exist or the user should provide detailed requirements.
-
System Design
- Use key:
senior-architect - Goal: Define system components, data flow, and technology choices.
- Output: High-level architecture description.
- Use key:
-
Visual Context
- Use key:
c4-context - Goal: Generate a C4 Context diagram to visualize system boundaries.
- Instruction: Use Mermaid.js syntax for diagrams.
- Use key:
-
Database Design
- Use key:
database-engineer(New Skill) - Goal: Design the database schema (ERD or JSON structure).
- Output: SQL schema or collection design.
- Use key:
-
Security Review
- Use key:
api-security-best-practices - Goal: Review the proposed architecture for potential security flaws early.
- Output: Security recommendations.
- Use key:
-
Documentation
- Use key:
architecture - Goal: Document the Architecture Decision Records (ADRs) and final design.
- Instruction: Create
ARCHITECTURE.mdwith the full design.
- Use key:
Iron Rules
Section titled “Iron Rules”- If there is anything unclear, ask the user instead of inventing new stuff. Unless the user explicitly tells the AI to invent or suggest ideas.
Gap Analysis Rule
Section titled “Gap Analysis Rule”Always identify gaps and suggest next steps to users. In case there is no gaps anymore, then AI should clearly state that there is no gap left.