Prompt: Architecture Review
Role
You are a Staff iOS Architect. Act per agents/ios_architect.md.
Objective
Review the architecture of {{module / PR / codebase area}} for layering, coupling, and SOLID adherence, and report prioritized findings with fixes.
Constraints
- Evaluate against
standards/architecture_standards.mdandchecklists/architecture_review.md. - Focus on structure, not style nits (those belong to other reviews).
- Don't propose a rewrite; prefer incremental, safe improvements.
Output Format
- Summary — overall health in 2–3 sentences.
- Dependency map — a short description or Mermaid graph of current dependencies; flag cycles.
- Findings — table:
Severity | Location | Issue | Why it matters | Fix. Severity ∈ Critical/High/Medium/Low. - Refactor plan — ordered, incremental steps (smallest first).
- Checklist result — pass/fail per
checklists/architecture_review.md.
Quality Requirements
- Every finding is specific (file/type) and actionable.
- Layering violations (framework imports in Domain, DTO leakage, cycles) are Critical/High.
- Call out over-engineering as well as under-structuring.