system-architecture-review
Skill2 starsChanged 4 months agoMITView on GitHub
Conduct comprehensive system architecture reviews covering scalability, reliability, security, and cost. Use when asked to review architecture, design a system, evaluate trade-offs, or assess technical proposals against industry best practices.
In this repository6 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- code-reviewerSkill
- deep-researchSkill
- deployment-checklistSkill
- find-skillSkill
- my-workflowSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 3 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 43
SPOF analysis: Every component → is it a single point of failure?
- Very specific: line 73
Collect artifacts: Use file_read to load architecture docs, diagrams, ADRs, API specs
- Very specific: line 74
Map the system: Use list_files and glob_tool to discover codebase structure
- Very specific: line 76
Load the checklist: Read references/review_checklist.md for the detailed item-by-item checklist
- Distinctive: line 79
Trace critical paths: Follow a request from entry to response.
- Very specific: line 81
Cross-reference with checklist: Use references/review_checklist.md systematically
- Very specific: line 82
Search for anti-patterns: Use grep_tool to find known bad patterns in code
- Very specific: line 87
Use the report template: Read templates/architecture_report.md for the output format
- Very specific: line 97
Always use the template from templates/architecture_report.md:
- Distinctive: line 136
Missing back-pressure: No rate limiting or circuit breaking between services
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
System Architecture Review Skill
Purpose
Provide rigorous, structured reviews of software system architectures — whether existing systems being audited or new designs being proposed. This skill enforces a systematic methodology that catches design flaws before they become production incidents.
When to Use
- "Review this architecture"
- "Is this system design sound?"
- "Evaluate the trade-offs between X and Y"
- "What are the risks in this proposal?"
- "Design a system for [requirements]"
Review Dimensions (in priority order)
1. Correctness & Completeness (Critical)
Does the design solve the stated problem? Are there gaps?
- Requirements coverage: Map every requirement to a design component. Flag uncovered requirements.
- Data consistency: Where is the source of truth? What consistency model (strong, eventual, causal)? Are there split-brain risks?
- Failure modes: For each component, ask: "What happens when this fails?" Trace the blast radius.
- Edge cases: Peak load 10x normal, network partition, clock skew, distributed transaction failure.
2. Scalability (Critical)
Will this system handle growth without rewriting?
- Bottleneck identification: Database connection pool, single-threaded queue consumer, shared state.
- Horizontal vs vertical: Which components scale out? Which scale up? Are there hard limits?
- Data growth: 1 year projection at current growth rate. Does the schema/index strategy hold?
- Caching strategy: What's cached? Where? TTL? Invalidation strategy? Cache stampede protection?
3. Reliability & Resilience (Critical)
How does the system behave under stress and failure?
- SPOF analysis: Every component → is it a single point of failure? Can it be made redundant?
- Circuit breakers: Are downstream failures isolated? Timeouts configured? Retry with backoff?
- Graceful degradation: What features can be sacrificed to keep core functionality running?
- Data durability: Replication factor, backup strategy, RPO/RTO targets, recovery tested?
4. Security (High)
- Trust boundaries: Draw the lines. What crosses them? Is authentication enforced at every boundary?
- Least privilege: Does each service have only the permissions it needs? Database credentials per service?
- Secret management: How are secrets rotated? Are any hardcoded? Environment variables vs vault?
- Attack surface: Public endpoints, third-party dependencies, supply chain risk.
5. Observability (High)
- Logging: Structured? Correlation IDs propagated across services? Log levels appropriate?
- Metrics: RED metrics (Rate, Errors, Duration) for every service. Business KPIs instrumented?
- Alerting: Alert on symptoms (SLO breaches), not causes. Runbooks exist for each alert?
- Tracing: Distributed tracing configured? Sampling rate appropriate for the traffic level?
6. Cost & Operations (Medium)
- Cost drivers: What scales with users? Compute, storage, bandwidth, API calls to third parties?
- Operational toil: What manual interventions does this design require? Can they be automated?
- Deployment complexity: How many services? Orchestration? Rollback strategy?
7. Maintainability (Medium)
- Coupling: Shared databases? Synchronous chains? Cascading failures from tight coupling?
- Technology diversity: Is each technology choice justified? Too many languages/frameworks?
- Documentation: Architecture Decision Records (ADRs) for key choices?
Workflow
Phase 1: Information Gathering
- Collect artifacts: Use
file_readto load architecture docs, diagrams, ADRs, API specs - Map the system: Use
list_filesandglob_toolto discover codebase structure - Identify stakeholders: Who are the users? What are their SLO expectations?
- Load the checklist: Read
references/review_checklist.mdfor the detailed item-by-item checklist
Phase 2: Deep Analysis
- Trace critical paths: Follow a request from entry to response. Note every hop.
- Stress-test the design mentally: "What happens at 10x load? During a regional outage?"
- Cross-reference with checklist: Use
references/review_checklist.mdsystematically - Search for anti-patterns: Use
grep_toolto find known bad patterns in code
Phase 3: Report Generation
- Prioritize findings: Critical (must fix before production) > High > Medium > Low
- Write actionable recommendations: Each finding must include a concrete fix, not just criticism
- Use the report template: Read
templates/architecture_report.mdfor the output format - Distinguish facts from opinions: Clearly mark inferences and assumptions
Phase 4: Validation
- Self-review: Would I bet my reputation on this review? What did I miss?
- Check for balance: Did I acknowledge what the design does well?
- Estimate effort: For each recommendation, ballpark the implementation effort (S/M/L/XL)
Output Format
Always use the template from templates/architecture_report.md:
# Architecture Review: [System Name]
## Executive Summary
[3-5 sentence verdict. Start with the most important finding.]
## Risk Matrix
| Dimension | Score (1-5) | Key Concern |
|-----------|-------------|-------------|
| Correctness | ? | ? |
| Scalability | ? | ? |
| Reliability | ? | ? |
| Security | ? | ? |
| Observability | ? | ? |
| Cost/Ops | ? | ? |
| Maintainability | ? | ? |
## Critical Findings (must fix before production)
### [Finding 1] — Severity: Critical
**Problem**: ...
**Impact**: ...
**Recommendation**: ...
**Effort**: [S/M/L/XL]
## High-Priority Findings
...
## What This Architecture Does Well
...
## Appendix: Assumptions & Methodology
...Anti-Patterns to Flag
- Distributed monolith: Services that share a database and can't deploy independently
- Single point of failure: Any component whose failure takes down the system
- Missing back-pressure: No rate limiting or circuit breaking between services
- Secret in plaintext: API keys, passwords, or tokens in code or config files
- Synchronous chains: A→B→C→D synchronous call chain where any link failure cascades
- No kill switches: Missing feature flags or emergency disable mechanisms
- Log-and-forget: Errors logged but not alerted on — silent failures
References
references/review_checklist.md— comprehensive 50-point architecture review checklistreferences/common_anti_patterns.md— catalog of common architectural mistakes with examplestemplates/architecture_report.md— the standard report template to use for all reviews
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

