System Design
by @mikeclaw007
Deep system design workflow—requirements, capacity, APIs, data, consistency, failure modes, trade-offs, and evolution. Use when preparing interviews, RFCs, g...
clawhub install system-design📖 About This Skill
name: system-design description: Deep system design workflow—requirements, capacity, APIs, data, consistency, failure modes, trade-offs, and evolution. Use when preparing interviews, RFCs, greenfield systems, or major redesigns (microservices, multi-region, real-time).
System Design (Deep Workflow)
System design is structured decision-making under constraints. The output is not a diagram—it is clarity on requirements, explicit trade-offs, and a path to evolve when load and features change.
When to Offer This Workflow
Trigger conditions:
Initial offer:
Use seven stages: (1) clarify requirements, (2) capacity & SLO sketch, (3) high-level architecture, (4) data model & storage, (5) APIs & traffic patterns, (6) reliability & failure modes, (7) trade-offs & evolution. Ask interview mode (time-boxed) vs real project (depth).
Stage 1: Clarify Requirements
Goal: Functional and non-functional requirements explicit.
Functional
Non-functional
Out of Scope
Exit condition: Problem statement one paragraph; constraints bullet list.
Stage 2: Capacity & SLO Sketch
Goal: Back-of-envelope math to sanity-check bottlenecks.
Rough math
SLO mindset
Exit condition: Identified likely bottleneck class: DB, network, fan-out, storage.
Stage 3: High-Level Architecture
Goal: Boxes and arrows with reasons.
Typical layers
Principles
Exit condition: Diagram + why not simpler (monolith) answered in one paragraph.
Stage 4: Data Model & Storage
Goal: Choose stores for access patterns, not buzzwords.
Questions
Consistency
Exit condition: Schema sketch or entity list; read/write paths for top 3 operations.
Stage 5: APIs & Traffic Patterns
Goal: Interface design and operational behavior.
REST vs RPC vs GraphQL
Realtime
Rate limiting & auth
Exit condition: Example APIs or events for core flows; pagination strategy.
Stage 6: Reliability & Failure Modes
Goal: Failure is normal—design degradation.
Consider
Observability
Exit condition: Top 5 failure scenarios + mitigation each.
Stage 7: Trade-offs & Evolution
Goal: Show maturity—v1 vs v2 path.