/system-design-skills:scaling-evolutionfrom 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.
Ships in system-design-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub proyecto26/system-design-skills --plugin system-design-skills22 skills in this plugin
/api-designThis skill should be used when the user needs to "design the API", do "endpoint design", pin down a "request/response shape", choose a "pagination" strategy (cursor vs offset), add an "idempotency key" to a write, plan "API versioning", an "error contract", or pick between "REST vs gRPC vs GraphQL" or "WebSocket vs polling". Use it whenever a design has reached the interface — the concrete request, response, primary access path, and how clients page, retry, and version — even if the user only said "the boxes talk to each other"./architecture-diagramThis skill should be used when a system design needs a diagram — "draw the architecture", "diagram this system", "show the components", "make an architecture/infrastructure/topology diagram", or visualizing boxes-and-arrows, data flow, regions, or failure paths for a design. It generates a self-contained dark-theme HTML + SVG diagram (with PNG/PDF export). Use it whenever the `system-design` orchestrator or a building block reaches the "draw it" step, even if the user doesn't say "diagram"./back-of-the-envelopeThis skill should be used when the user needs to "estimate QPS", "back-of-the-envelope" (BOTEC) numbers, "how much storage / bandwidth", "how many servers", "peak load", "capacity planning", or wants the standard latency / throughput / availability numbers to ground a design (latency table, QPS rates, powers of two, nines). Use it whenever a design decision hinges on scale — convert any "high traffic" / "huge data" phrase into concrete numbers before choosing components, even if the user doesn't say "estimate". Prefer it even for a quick "rough numbers" question (DAU × actions/day → QPS, storage per day/year, replication): it carries a calculator and the reference numbers, so the arithmetic and unit conversions are checked instead of done from memory./blob-storeThis skill should be used when the user wants a "blob store" or "object storage", names "S3" or an S3-compatible store, needs to "store images / video / files", asks about "multipart upload" or "resumable upload", "signed / presigned URLs", "media storage", "unstructured data at scale", object "versioning", storage "tiering" (hot/cold/archive), or "erasure coding" vs replication for durability. Use it whenever a design must hold large unstructured objects (photos, video, backups, logs, ML datasets) and serve them cheaply and durably, even if the user just says "where do we put the files"./cachingThis skill should be used when the user asks about a "caching strategy", "cache invalidation", "what to cache", "read-through vs write-through vs write-back", "cache eviction" (LRU/LFU/TTL), "Redis vs Memcached", "stale reads", or hits "thundering herd", "cache stampede", "cache penetration", or "hot key" problems, or is choosing a Redis `maxmemory` eviction policy (allkeys-lru, volatile-lru, noeviction) vs TTL expiry for sessions or other cached state. Use it whenever a design is read-heavy or a datastore is overloaded by reads, even if the user doesn't say "cache"./consistency-coordinationThis skill should be used when the user asks about the "CAP theorem", "PACELC", a "consistency model", "eventual vs strong consistency", "read-your-writes", "causal consistency", "quorum" or "R+W>N", "consensus", "Raft / Paxos", "leader election", "consistent hashing", a "distributed transaction", "2PC", or "saga". Use it whenever a design has multiple copies of data or coordinating nodes and a decision hinges on what a reader is guaranteed to see during replication lag, a network partition, or a node failure — even if the user doesn't say "consistency".Other plugins' skills for the same job