system-architect
Skill9 starsChanged 9 months agoMITView on GitHub
System architecture expert: high-level system design, scalability patterns, distributed systems, design patterns (GoF/DDD/CQRS/Event Sourcing), architectural decision records (ADR), trade-off analysis, capacity planning, and technology evaluation. Use when: (1) designing system architecture for new projects, (2) evaluating scalability and trade-offs, (3) writing architectural decision records, (4) choosing between monolith/microservices/serverless, (5) designing for high availability or fault tolerance, (6) reviewing architecture for bottlenecks. NOT for: writing implementation code, UI design, or DevOps tooling.
32 other projects use a version of this.
Adopted by
Most recently taken up by
- TehseenTech/manus-skillstheir own version, first seen Nov 8, 2026
- letscooktech-studio/ai-engineering-arsenaltheir own version, first seen Nov 8, 2026
- crankyjediii/vibecrafttheir own version, first seen Nov 8, 2026
- letscooktech-studio/outcomelabtheir own version, first seen Nov 8, 2026
- nizaalkhot/skillstheir own version, first seen Nov 1, 2026
- kcayme/k-agentstheir own version, first seen Nov 1, 2026
Used with
Projects with it also use database-architect, webapp-testing and 4 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
xfstudioSkilldatabase-architect
Expert database architect specializing in data layer design from
Also in 3 projects that use this
JetBrainsSkillwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
Also in 4 projects that use this
Microsoft AzureSkillgit-workflow
Squad branching model: dev-first workflow with insiders preview channel
Also in 3 projects that use this
BlockSkillfrontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
Also in 5 projects that use this
MicrosoftSkillmcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
Also in 3 projects that use this
SentrySkillskill-creator
Create new agent skills following the Agent Skills specification. Use when asked to "create a skill", "add a new skill", "write a skill", "make a skill", "build a skill", or scaffold a new skill with SKILL.md. Guides through requirements, writing, registration, and verification.
Also in 5 projects that use this
Other versions32 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 32
- nahisaho/MUSUBI★ 74same name
- wonderslife/pdd-skills★ 41same name
- NatureBlueee/Nature-use-skills★ 39same name
- georgekhananaev/claude-skills-vault★ 28same name
- wonderslife/pdd-skills-v3★ 15same name
- letscooktech-studio/ai-engineering-arsenal★ 7same name
- letscooktech-studio/outcomelab★ 7same name
- vignesh2027/Claude-Agentic-Skills2.0-version★ 6same name
- catch-the-wave/fullstack-ios-claude-skills★ 5same name
- Kshitijpalsinghtomar/depth-skills★ 5same name
22 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository14 other files it gives its agents.
- ai-ml-engineerSkill
- backend-developerSkill
- cloud-architectSkill
- code-reviewerSkill
- database-administratorSkill
- data-engineerSkill
- devops-engineerSkill
- frontend-developerSkill
- fullstack-developerSkill
- mobile-developerSkill
- qa-test-engineerSkill
- security-engineerSkill
- senior-java-developerSkill
- tech-leadSkill
The file
Files
System Architect
Expert guidance for designing scalable, maintainable, and resilient software systems.
Core Competencies
1. Architecture Decision Framework
When making architecture decisions, evaluate:
1. Requirements:
- Functional: What must the system do?
- Non-functional: Performance, scalability, availability, security
- Constraints: Budget, team size, timeline, existing tech
2. Trade-off Analysis (pick 2 of 3):
- Speed of development ←→ System complexity
- Consistency ←→ Availability (CAP theorem)
- Cost ←→ Performance
3. Document as ADR:
Title: ADR-001: Use PostgreSQL for primary data store
Status: Accepted
Context: We need ACID transactions for order processing...
Decision: Use PostgreSQL 17 with read replicas...
Consequences: + Strong consistency, mature ecosystem
- Higher operational cost than DynamoDB
- Must manage connection pooling2. Architecture Styles
Monolith:
When: Small team (<8), early stage, unclear domain boundaries
Pro: Simple deployment, easy debugging, low latency
Con: Scaling entire app, deployment coupling
Modular Monolith:
When: Growing team, clear domains but not ready for distributed
Pro: Domain isolation + monolith simplicity
Con: Requires discipline to maintain module boundaries
Microservices:
When: Large org, independent team deployments, domain expertise
Pro: Independent scaling/deployment, technology freedom
Con: Network complexity, distributed transactions, observability
Serverless:
When: Event-driven, variable traffic, minimize ops
Pro: Zero idle cost, auto-scaling, managed infra
Con: Cold starts, vendor lock-in, debugging difficulty
Event-Driven:
When: Async workflows, loose coupling, audit requirements
Pro: Decoupled services, natural audit trail, replay
Con: Eventual consistency, complex debugging, ordering3. Scalability Patterns
Vertical: Bigger machine (quick win, ceiling)
Horizontal: More machines (stateless services, load balancer)
Read Scaling:
Cache layer (Redis) → 100x read reduction to DB
Read replicas → Distribute read queries
CDN → Static assets at edge
Materialized views → Pre-computed aggregations
Write Scaling:
Write-behind cache → Batch writes
Sharding → Distribute by key
CQRS → Separate read/write models
Event sourcing → Append-only, derive state
Compute Scaling:
Queue + Workers → Decouple producer/consumer
Auto-scaling groups → Scale on CPU/memory/queue depth
Edge computing → Process near users4. System Design Template
1. REQUIREMENTS (5 min)
Functional: Core features, user flows
Non-functional: QPS, latency p99, data size, availability
Constraints: Budget, team, compliance
2. HIGH-LEVEL DESIGN (10 min)
Draw: Client → LB → API → Service → DB
Identify: Components, data flow, boundaries
3. DATA MODEL (10 min)
Entities, relationships, access patterns
Choose: SQL vs NoSQL based on patterns
Estimate: Storage growth, query patterns
4. DETAILED DESIGN (15 min)
Deep dive critical path
API contracts, caching strategy, async flows
Handle: Failures, edge cases, hot spots
5. SCALE & RELIABILITY (10 min)
Bottleneck identification
Scaling strategy per component
Failure modes and recovery5. Design Patterns
Domain-Driven Design (DDD)
Strategic:
Bounded Context: Clear boundary around a domain model
Ubiquitous Language: Shared vocabulary between dev + business
Context Map: How bounded contexts relate
Tactical:
Entity: Identity-based object (User, Order)
Value Object: Immutable, equality by value (Money, Address)
Aggregate: Consistency boundary (Order + OrderItems)
Repository: Persistence abstraction
Domain Event: Something notable that happened
Domain Service: Logic that doesn't belong to an entityCQRS + Event Sourcing
Command Side: Query Side:
Command → Validate Event → Projection
→ Execute → Materialized View
→ Emit Event → Optimized for reads
Event Store:
OrderCreated { orderId, items, total, timestamp }
PaymentReceived { orderId, amount, method, timestamp }
OrderShipped { orderId, trackingNo, timestamp }
Benefits:
- Full audit trail
- Rebuild state from events
- Separate read/write optimization
- Temporal queries ("state at time T")6. Reliability Patterns
Circuit Breaker:
Closed → failures exceed threshold → Open (fail fast)
Open → timeout expires → Half-Open (test request)
Half-Open → success → Closed
Retry with Backoff:
1st retry: 100ms
2nd retry: 200ms
3rd retry: 400ms
Add jitter: ±50ms (prevent thundering herd)
Bulkhead:
Isolate resources per tenant/service
One failure doesn't exhaust all connections
Timeout:
Always set timeouts on external calls
client: 3s, service-to-service: 1s, DB: 500ms
Graceful Degradation:
Feature flags to disable non-critical features
Fallback: cache → stale data → default → error7. Capacity Planning
Estimation Framework:
Users: DAU → Peak concurrent → QPS
Storage: Records/day × record size × retention
Bandwidth: QPS × avg response size
Compute: QPS / requests-per-instance = instances
Example (Social Media Feed):
100M DAU, 20% peak = 20M concurrent
Each user: 10 feed requests/hour = 55K QPS
Feed response: ~50KB = 2.75 GB/s bandwidth
Storage: 500M posts/day × 1KB = 500GB/day = 182TB/yearWorkflow
1. Gather requirements → functional + non-functional
2. Identify bounded contexts → domain decomposition
3. Choose architecture style → monolith/micro/serverless
4. Design data model → entities, access patterns
5. Design APIs → contracts between components
6. Plan for scale → caching, queues, sharding
7. Plan for failure → circuit breakers, retries, fallbacks
8. Document as ADRs → decisions + rationale
9. Review with team → challenge assumptionsReferences
- System design examples: See references/system-design-examples.md
- Pattern catalog: See references/pattern-catalog.md
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.

