From system-design-skills
Guides architectural scaling by diagnosing the current bottleneck and walking the next step on the ladder (replicas, cache, CDN, sharding, etc.) without over-building.
How this skill is triggered — by the user, by Claude, or both
Slash command
/system-design-skills:scaling-evolutionThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Grow a design one bottleneck at a time. A system that serves 1k users and one
Grow a design one bottleneck at a time. A system that serves 1k users and one that serves 10M users are different architectures, but you do not jump between them — you walk a path where each step removes the current ceiling and exposes the next. Getting this wrong means either over-building day one (paying multi- region complexity for 1k users) or freezing when load doubles because the design was a memorized end-state, not a sequence of justified moves (GUIDE #7).
A load increase is on the table ("what if traffic 10×?", "scale to millions"), the user asks where the bottleneck is or what breaks first, or a single-box design has outgrown one machine. Reach here to sequence the next two or three moves — never the whole roadmap at once.
Do not pre-build steps the numbers do not yet demand (YAGNI). Sharding, multi-region, and a message queue are late moves; proposing them for a system that fits on two boxes is the over-indexing this skill defends against. If the current load fits comfortably on a vertically-scaled box with a replica, stop — that is the cheapest design that meets the constraint, and it wins. Naming the next five tiers when only one is needed is a red flag, not foresight.
The path is driven entirely by numbers and constraints, so pin these down before
moving (most come from requirements-scoping and back-of-the-envelope):
consistency-coordination).Each rung removes one ceiling. Apply the next rung the numbers justify, not
the whole ladder. Full triggers and worked thresholds are in
references/scaling-ladder.md.
data-storage owns replication). Breaks when writes
saturate the primary, or replica lag breaks freshness.caching). Highest-leverage move for read-heavy systems. Breaks
when writes are the bottleneck, or the working set no longer fits.content-delivery). Breaks when the bottleneck is dynamic
requests, not static assets.load-balancing). This is the unlock for cheap
horizontal scale. Breaks when the data tier (now the bottleneck) can't keep up.messaging-streaming). Breaks when even the sync path or storage
is the limit.data-storage owns sharding/partitioning;
consistency-coordination owns consistent hashing). The most complex move —
last, not first.Vertical scaling (scale up: more CPU/RAM) is the cheap early move with no app changes but a hard ceiling and no redundancy. Horizontal scaling (scale out: more boxes) is the durable answer — better availability, near-unlimited headroom — but demands statelessness and adds coordination cost. Climb vertically until the knee, then go horizontal.
"Add more servers" without a diagnosis is guessing (GUIDE #3, #7). Classify the pressure first, then act on that resource:
Treat each rung as a hypothesis, not a destination: "this design holds until writes exceed X / a region is lost / the working set outgrows RAM." Saying the breaking point out loud is the move that distinguishes reasoning from defending a diagram. When a constraint changes (load doubles, latency target tightens, a DC is lost), revisit the assumption and climb — calmly, not by patching the old shape onto a problem it no longer fits.
Distilled from the ladder, the diagnosis step, and where the technique misleads.
Do
resilience-failure.Don't
consistency-coordination).Numbers decide which rung is next; don't restate the tables — read
back-of-the-envelope. The ceilings that trigger a climb: a single RDBMS node
handles roughly 1k QPS, a key-value node ~10k, a cache node
~100k–1M; one ~64-core box is ~64k req/s of pure compute before IO. When
an estimate crosses one of these, that crossing is the next bottleneck. Peak is
typically ~2× average, so size to peak. A useful framing: the rung you need is
roughly set by the order of magnitude of target QPS and dataset size — 1k QPS
fits one box, ~10k wants replicas and a cache, ~100k+ forces a stateless
horizontal tier, and a dataset past one node's RAM forces sharding. Each extra
"nine" of availability costs a disproportionate jump in redundancy (replicas →
multi-AZ → multi-region) — tie the target to the requirement, not ambition
(→ back-of-the-envelope, resilience-failure).
To visualize the current architecture and the one-rung-ahead version side by
side (so the breaking point and the next move are explicit), use the in-plugin
architecture-diagram skill. Sketch only the rung you're on plus the next one —
not the whole ladder.
back-of-the-envelope — depends on it for the ceilings; a number crossing one names the next bottleneck.data-storage — owned-concept lives there: replication and sharding/partitioning, the heaviest rungs.caching — pairs with this as the cache rung; owns what to cache and how it fails under load.load-balancing — feeds into the stateless horizontal tier; sits at its front.content-delivery — pairs with this as the CDN/edge rung for static and geo-distributed content.resilience-failure — pairs with every rung; each one adds a failure mode to degrade gracefully.consistency-coordination — owned-concept lives there: the freshness/coordination cost of replicas, multi-region, and shards.system-design — orchestrated by it; this skill runs at its "scale the design" step.references/scaling-ladder.md — the full rung-by-rung ladder with concrete
trigger thresholds, the compute/storage/network diagnosis checklist, the
vertical-vs-horizontal decision, and the multi-region sync gotchas. Read when
sequencing the next moves or diagnosing what breaks first.npx claudepluginhub proyecto26/system-design-skills --plugin system-design-skillsGuides scaling systems from startup (0-10K users) to enterprise (1M+), with stage architectures, metrics, bottlenecks diagnosis, and capacity planning.
Analyze and predict system scalability. Model growth, identify bottlenecks, project infrastructure costs. Use when planning for growth or investigating performance limits.
Reviews system architecture for scalability bottlenecks across compute, database, caching, networking, storage, and background processing. Produces prioritized improvements for traffic growth or performance diagnosis.