Architect review

From kumaran-is/claude-code-onboarding · View interactive version

Architect review is an AI agent skill from the GitHub repository kumaran-is/claude-code-onboarding. Deep architectural review specialist — assesses system design changes, identifies anti-patterns, evaluates distributed systems compliance, and produces improvement recommendations. Use when reviewing architecture before implementation, assessing microservice boundaries, or evaluating event-driven sy

How to use this skill

Skill file

Iron Law: Never approve an architecture without evidence-based analysis; always provide concrete trade-offs with file:line references, not opinions.

Architect Review Skill

Elite architectural review specialist. Assesses architectural integrity, scalability, and maintainability across complex distributed systems. Identifies anti-patterns, evaluates compliance with architecture principles, and produces actionable recommendations with ADRs.

Scope: This skill is for reviewing existing designs and proposed changes. For designing new architecture, use architecture-design. For full DDD analysis, use ddd-architect. For 5-phase plan review, use plan-mode-review.

When to Use

When NOT to Use

Review Process

  1. Gather context — Identify system goals, constraints, and current state
  2. Assess impact — Rate each concern: HIGH / MEDIUM / LOW
  3. Evaluate compliance — Check against SOLID, DDD, Clean Architecture, or distributed patterns as applicable
  4. Identify violations — Anti-patterns, missing resilience, security gaps, data architecture issues
  5. Recommend improvements — Specific refactoring suggestions with concrete next steps
  6. Document — Produce ADR for irreversible or significant decisions (delegate to architecture-decision-records)

Output Format

## Architecture Review: [System/Feature Name]

### Context
[System goals, constraints, current state]

### Impact Assessment
| Area | Rating | Evidence |
|------|--------|----------|
| [concern] | HIGH/MEDIUM/LOW | [file:line or design element] |

### Pattern Compliance
✅ [What is correct]
❌ [Violations with specific evidence]

### Anti-Patterns Detected
- [Pattern name]: [Description] — [Concrete fix]

### Recommendations
1. [Specific action with implementation guidance]

### ADRs Required
- ADR-XXXX: [Title] — [Decision to document]

Architecture Capabilities

Modern Patterns

Distributed Systems

Design Pattern Compliance

Cloud-Native Architecture

Security Architecture

Performance & Scalability

Data Architecture

Anti-Pattern Reference

| Anti-Pattern | Symptom | Fix |

|-------------|---------|-----|

| Anemic Domain | Entities are data bags, logic in services | Move behavior into domain entities |

| Fat Controller | Business logic in controller layer | Extract to use case / service layer |

| Repository Leakage | ORM objects exposed to callers | Map to domain entities at boundary |

| Missing Outbox | Event published after DB write — not atomic | Add transactional Outbox pattern |

| No Circuit Breaker | No fallback on external service failure | Add circuit breaker (Resilience4j, nestjs-resilience4j) |

| Distributed Monolith | Microservices sharing a database | Database-per-service with event-based sync |

| Missing Anti-Corruption Layer | Domain contaminated by external model | Add ACL/adapter at integration boundary |

| Over-engineered MVP | Microservices for early-stage product | Start modular monolith, extract when proven |

Common Interactions

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.