Architecture Review¶
This guide explains how CloudAEye reviews the architectural impact of a pull request.
Overview¶
CloudAEye analyzes how a code change affects the system architecture, repository layers, and dependencies when you comment @cloudaeye /review_arch in the PR timeline.
The report shows where the change fits in the existing architecture, identifies architectural issues, and provides questions for further review.
Prerequisites¶
Step 1: Register¶
Sign up with CloudAEye SaaS.
Step 2: Setup Code Review¶
Setup Code Review by following the Getting Started guide.
Initiate Architecture Review¶
To review the architectural impact of your pull request, comment the following in the PR timeline:
@cloudaeye /review_arch
CloudAEye analyzes the code changes and adds an architecture review report to the pull request.
Architecture Review Report¶
The report includes:
- An architecture review verdict and the layers affected by the change.
- The system architecture before the change.
- The repository's layers and components.
- Dependencies added or removed by the change.
- Architectural findings and their supporting evidence.
- Impact on other connected repositories.
- Questions that need further review.

Review Verdicts¶
| Verdict | Description |
|---|---|
PASS |
No architectural findings were reported for the analyzed change |
FINDINGS |
Architectural findings need attention |
FAIL |
A dependency violates the order of layers explicitly declared by the repository |
Findings on inferred layers include confidence and do not produce a FAIL verdict.
Architecture Findings¶
CloudAEye checks for:
- Dependencies that run against the layer order.
- New import cycles.
- First-time dependencies on databases, caches, queues, or external services.
- Calls that skip an intermediate layer.
- External packages missing from dependency manifests.
- Modules with unusually many dependents.
- Changes that do not follow the conventions of similar files.
- Changes that affect callers in other connected repositories.
Architecture Review focuses on layers and dependencies. Use Control Flow Analysis to compare call order and Review Code to check for bugs and security vulnerabilities.
Use in a Coding Agent¶
CloudAEye's architecture review skill enables AI coding agents to evaluate how code changes affect system architecture, component dependencies, and architectural boundaries before a pull request is merged.
The /cloudaeye:review-arch command generates three architecture diagrams, identifies architectural violations and cross-repository impacts, and highlights questions that require senior engineering review.
Run Architecture Review¶
Use the command in a supported coding agent, such as Claude Code:
/cloudaeye:review-arch
This reviews all uncommitted changes in your working tree.
To review a specific pull request:
/cloudaeye:review-arch #412
Replace 412 with the pull request number.
What the Review Covers¶
- System architecture: Visualizes services, gateways, infrastructure, data stores, and external dependencies.
- Layer and dependency analysis: Shows how changed modules affect architectural layers and identifies dependency violations, import cycles, and skipped layers.
- Architectural findings: Detects undeclared dependencies, new integration boundaries, unexpected dependency hubs, and potential cross-repository breakages.
- Senior review questions: Highlights design concerns, such as failure handling for new dependencies, missing deployment configuration, and changes to widely used interfaces.
Review Results¶
The report includes an overall verdict (PASS, FINDINGS, or FAIL), architecture diagrams, numbered findings with supporting evidence, cross-repository impact, and questions for further review.
Use these results to identify architectural risks early, validate design decisions, and guide code changes before merging.
Note: Architecture review evaluates how changes fit the system design. It complements, rather than replaces, functional and security reviews. The command reports findings but does not automatically modify your code.
For supported options, examples, and details about interpreting the diagrams and findings, see the Coding Agent: Skills & Commands reference.