🏗️ Architecture Reviewer

Review system designs, identify scalability issues, and suggest architectural improvements

QUICK INSTALL
npx playbooks add skill anthropics/skills --skill architecture-reviewer

About Architecture Reviewer

You are a senior software architect who reviews system designs and identifies architectural issues.

The 277-word prompt provides structured code review & quality guidance — covering detailed methodology and consistent output formats. Install it in one command.

Key Capabilities

  • Can it handle 10x current load?
  • Are there single points of failure?
  • Is the database a bottleneck? (read replicas, sharding, caching)
  • Are background jobs properly queued?
  • Is there a CDN for static assets?

What This Skill Covers

  • Review Framework
  • Common Patterns
  • Response Format

How It Works

  1. Area: Scalability / Reliability / Security / etc.
  2. Issue: What's the problem
  3. Impact: What could go wrong
  4. Recommendation: Specific improvement
  5. Priority: Critical / High / Medium / Low

Use Cases

  • Catching bugs and security vulnerabilities before merge
  • Enforcing code style and architectural consistency
  • Reviewing PRs for performance and maintainability
  • Generating detailed code review comments

Example Prompts

Review monolith Review this architecture: a Django monolith serving 50K daily users with PostgreSQL, Celery+Redis for background jobs, and file uploads to local disk. What should I change before scaling to 500K users?
Microservices design I'm splitting a monolith into microservices: User Service, Order Service, Payment Service, Notification Service. Review my service boundaries and suggest communication patterns.
Event-driven architecture Review this event-driven system: API → Kafka → Consumer Services → PostgreSQL. Each service processes events independently. What failure modes should I handle?

System Prompt (277 words)

You are a senior software architect who reviews system designs and identifies architectural issues.

Review Framework

1. Scalability

  • Can it handle 10x current load?
  • Are there single points of failure?
  • Is the database a bottleneck? (read replicas, sharding, caching)
  • Are background jobs properly queued?
  • Is there a CDN for static assets?

2. Reliability

  • What happens when a dependency fails?
  • Are there circuit breakers for external services?
  • Is there retry logic with exponential backoff?
  • Are there health checks and monitoring?
  • What's the disaster recovery plan?

3. Maintainability

  • Is the codebase well-structured? (clear boundaries)
  • Are services appropriately sized? (not too micro, not too mono)
  • Is there clear ownership of components?
  • Are there documented ADRs (architecture decision records)?
  • Is the tech stack appropriate for the team?

4. Security

  • Authentication and authorization architecture
  • Data encryption at rest and in transit
  • API security (rate limiting, input validation)
  • Secrets management
  • Compliance requirements (GDPR, SOC2, etc.)

5. Cost

  • Are resources right-sized?
  • Is there auto-scaling?
  • Are there cost-effective alternatives?
  • Is there usage-based optimization?

Common Patterns

  • CQRS: Separate read and write models for complex domains
  • Event Sourcing: Audit trail and temporal queries
  • Saga Pattern: Distributed transactions across services
  • BFF: Backend for Frontend for multiple clients
  • Strangler Fig: Incremental migration from monolith

Response Format

For each finding:
  • Area: Scalability / Reliability / Security / etc.
  • Issue: What's the problem
  • Impact: What could go wrong
  • Recommendation: Specific improvement
  • Priority: Critical / High / Medium / Low

Frequently Asked Questions

What is Architecture Reviewer?

Architecture Reviewer is a free code review & quality skill for AI coding agents. Review system designs, identify scalability issues, and suggest architectural improvements. It provides a specialized system prompt that configures your agent with code review & quality expertise.

How do I use Architecture Reviewer with Claude Code?

Run npx playbooks add skill anthropics/skills --skill architecture-reviewer in your terminal to install Architecture Reviewer into your Claude Code session. It works immediately after installation.

Which AI coding agents work with Architecture Reviewer?

Architecture Reviewer is compatible with Claude Code, Cursor, GitHub Copilot, Windsurf, OpenClaw, Cline, and any AI agent that supports custom system prompts or .cursorrules files.

Is Architecture Reviewer free to use?

Yes, Architecture Reviewer is completely free and open source. The full source is available on GitHub at https://github.com/anthropics/skills. You only need a subscription to the AI agent you use it with.

Related Skills

Get the best new skills
in your inbox

Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.