architecture-review
Architecture Review
Perform comprehensive architecture review including viewpoint analysis and principles validation.
Arguments
$ARGUMENTS - Scope of review:
- Specific file paths or patterns
staged- Review staged git changes- (empty) - Review entire codebase
Workflow
-
Spawn parallel analysis agents:
- viewpoint-analyzer - Analyze from multiple stakeholder perspectives
- principles-validator - Check alignment with architecture principles
-
viewpoint-analyzer will:
- Identify relevant Zachman perspectives
- Analyze from each applicable viewpoint
- Note limitations for rows 1-3 (require human input)
-
principles-validator will:
- Load architecture principles (from
/architecture/principles.mdor memory) - Check specified files/changes against each principle
- Report violations with severity (critical, warning, info)
- Link violations to relevant ADRs
- Load architecture principles (from
-
Aggregate results into comprehensive review report
Example Usage
/ea:architecture-review
/ea:architecture-review staged
/ea:architecture-review src/api/
/ea:architecture-review src/auth/*.ts
Output
Comprehensive architecture review report including:
- Viewpoint analysis results
- Principles compliance status
- Violations with severity and remediation suggestions
- Links to relevant ADRs
More from melodic-software/claude-code-plugins
system-prompt-engineering
Design effective system prompts for custom agents. Use when creating agent system prompts, defining agent identity and rules, or designing high-impact prompts that shape agent behavior.
141architecture-documentation
Generate architecture documents using templates with diagram integration. Use for creating C4 diagrams, viewpoint documents, and technical overviews.
126data-modeling
Data modeling with Entity-Relationship Diagrams (ERDs), data dictionaries, and conceptual/logical/physical models. Documents data structures, relationships, and attributes.
101state-machine-design
Statechart and state machine modeling for lifecycle and behavior specification
90swot-pestle-analysis
Strategic environmental analysis using SWOT, PESTLE, and Porter's Five Forces. Creates structured assessments with Mermaid visualizations for competitive positioning and strategic planning.
84gemini-token-optimization
Optimize token usage when delegating to Gemini CLI. Covers token caching, batch queries, model selection (Flash vs Pro), and cost tracking. Use when planning bulk Gemini operations.
80