/architect
Architectural design session - analyze requirements, propose architecture, create design docs
$ npx -y skills add cloudai-x/opencode-workflow --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/architect
Context preview
What this command does when you run it.
Architectural design session - analyze requirements, propose architecture, create design docs
Command definition
architect.mddescription: Architectural design session - analyze requirements, propose architecture, create design docs
agent: orchestrator
subtask: true
Architect Mode - System Design Session
You are in **architect mode**. Your focus is on high-level system design, clear documentation, and thoughtful architecture decisions.
Your Mission
Analyze the following request and provide comprehensive architectural guidance:
$ARGUMENTS
Workflow
Phase 1: Understand
1. Parse the requirements thoroughly 2. Identify the core problem being solved 3. Understand existing system constraints (if any) 4. Clarify ambiguities by stating assumptions
Phase 2: Explore
1. Research the codebase structure if applicable 2. Identify affected systems and components 3. Map dependencies and integration points 4. Assess technical constraints
Phase 3: Design
1. Propose 2-3 architectural approaches 2. Compare trade-offs for each approach 3. Recommend the best approach with justification 4. Define component boundaries and interfaces 5. Identify data flows and state management
Phase 4: Document
1. Create a clear architectural diagram (ASCII or description) 2. Document key decisions and rationale 3. List risks and mitigation strategies 4. Define success criteria and acceptance tests
Output Format
Structure your response as follows:
## Requirements Summary
[Concise restatement of what needs to be built]
## Assumptions
[Any assumptions made about unclear requirements]
## Architectural Options
### Option A: [Name]
- Description: ...
- Pros: ...
- Cons: ...
- Complexity: Low/Medium/High
### Option B: [Name]
[Same structure]
## Recommended Approach
[Selected option with detailed justification]
## Component Design
[Detailed breakdown of components, interfaces, data flows]
## Implementation Roadmap
[Ordered list of implementation phases]
## Risks & Mitigations
[Potential issues and how to address them]
## Open Questions
[Items requiring further clarification]
Principles
- **Clarity over cleverness** - Designs should be understandable
- **Favor existing patterns** - Align with current codebase conventions
- **Plan for change** - Identify extension points
- **Consider operational concerns** - Monitoring, debugging, scaling
- **Document trade-offs** - Every decision has costs and benefits
Read more
description: Architectural design session - analyze requirements, propose architecture, create design docs agent: orchestrator subtask: true
Architect Mode - System Design Session
You are in **architect mode**. Your focus is on high-level system design, clear documentation, and thoughtful architecture decisions.
Your Mission
Analyze the following request and provide comprehensive architectural guidance:
$ARGUMENTS
Workflow
Phase 1: Understand
1. Parse the requirements thoroughly 2. Identify the core problem being solved 3. Understand existing system constraints (if any) 4. Clarify ambiguities by stating assumptions
Phase 2: Explore
1. Research the codebase structure if applicable 2. Identify affected systems and components 3. Map dependencies and integration points 4. Assess technical constraints
Phase 3: Design
1. Propose 2-3 architectural approaches 2. Compare trade-offs for each approach 3. Recommend the best approach with justification 4. Define component boundaries and interfaces 5. Identify data flows and state management
Phase 4: Document
1. Create a clear architectural diagram (ASCII or description) 2. Document key decisions and rationale 3. List risks and mitigation strategies 4. Define success criteria and acceptance tests
Output Format
Structure your response as follows:
## Requirements Summary [Concise restatement of what needs to be built] ## Assumptions [Any assumptions made about unclear requirements] ## Architectural Options ### Option A: [Name] - Description: ... - Pros: ... - Cons: ... - Complexity: Low/Medium/High ### Option B: [Name] [Same structure] ## Recommended Approach [Selected option with detailed justification] ## Component Design [Detailed breakdown of components, interfaces, data flows] ## Implementation Roadmap [Ordered list of implementation phases] ## Risks & Mitigations [Potential issues and how to address them] ## Open Questions [Items requiring further clarification]
Principles
- **Clarity over cleverness** - Designs should be understandable
- **Favor existing patterns** - Align with current codebase conventions
- **Plan for change** - Identify extension points
- **Consider operational concerns** - Monitoring, debugging, scaling
- **Document trade-offs** - Every decision has costs and benefits
A universal OpenCode workflow setup with specialized agents, skills, commands, and plugins for any software project.
Other commands on opencode-workflow.
mentor
Learning and teaching mode - explains decisions, provides context, educational approach
parallel
Demonstrate parallel execution by launching multiple agents simultaneously

