| name | review-architecture |
| description | Audit a domain or the full repository for architecture compliance using the shared architecture checklist and repository rules. |
| metadata | {"short-description":"Architecture compliance audit"} |
Review Architecture
Default Flow Position
- Step:
self-review (architecture commitments)
- Routes after: completion gate (
/sync-guidelines if drift; otherwise /review-pr)
- Recursion guard: do not invoke
/review-architecture recursively, do not invoke /plan-feature from inside
Procedure
- Read
AGENTS.md and docs/ai/shared/skills/review-architecture.md for the full procedure.
- Read
docs/ai/shared/architecture-review-checklist.md and docs/ai/shared/project-dna.md as the shared architecture rule sources.
- Resolve the audit target and load the shared rule sources (Phase 0).
- Audit the target against the 10 architecture checklist categories (Phase 1).
- Determine
Drift Candidates and whether Sync Required is true or false (Phase 2).
- Report using the protocol output contract:
Scope, Effect Answer, Sources Loaded, Findings (open only), Coverage (OK/SKIP), Drift Candidates, Verdict: N/A (audit-only scope), Next Actions, Completion State, Sync Required (Phase 3). Effect Answer is mandatory — see docs/ai/shared/review-protocol.md §3 for the contract and Guard H context.
For cross-tool review prompts, use the Cross-Tool Review Prompt Template
section in docs/ai/shared/skills/review-architecture.md; do not duplicate it here.