/system-design-skills:system-designfrom system-design-skills
Guides open-ended system design problems through a structured reasoning loop: clarify requirements, estimate scale, propose architecture, evaluate trade-offs, stress-test failures, and iterate. Useful for design interviews or scoping backend/distributed systems.
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.
Drive an open-ended design problem from a vague prompt to a justified, stress-tested architecture — by reasoning, not by recalling a diagram. This skill owns the method and the routing; the actual component recipes live in focused building-block skills it pulls in as needed.
The single most important idea, from which everything here follows:
Do not memorize architectures; learn the forces that shape them. There is no single correct solution — success depends on the assumptions you make explicit.
A design that works for 1,000 users may fail at 1,000,000. Treat every architecture as a hypothesis that holds until a constraint changes, and be ready to redraw it calmly when one does.
Work this loop out loud. It is a loop, not a checklist — late steps routinely send you back to early ones, and that is the point.
requirements-scopingback-of-the-envelopeapi-design, plus the building blocks below.tradeoff-framework.mdresilience-failureThese six steps are the same four activities the GUIDE names —
ask refining questions → handle the data → discuss components → discuss
trade-offs — with estimation and failure-testing made explicit. See
references/reasoning-loop.md for the full walk-through and time budgeting.
This plugin is a wiki of composable parts. As each concern comes up in the loop, invoke the focused skill (via the Skill tool) rather than reconstructing its recipe from memory — load it so the options, trade-off table, behavior under stress, and cloud-provider variants come from the skill itself. That invocation is how composition works at runtime: a bare skill name below is a skill to trigger, not a file to read. Invoke each as its concern becomes active:
| When the problem turns to… | Use skill |
|---|---|
| What features / constraints / scope? | requirements-scoping |
| How many QPS, how much storage, how many servers? | back-of-the-envelope |
| Endpoints, request/response, pagination, idempotency | api-design |
| Monolith vs microservices, service boundaries, gateway, discovery | service-decomposition |
| SQL vs NoSQL, schema, indexing, sharding, replication | data-storage |
| What to cache, eviction, invalidation, hot keys | caching |
| Distributing traffic, L4/L7, health checks | load-balancing |
| Async work, queues vs streams, delivery guarantees | messaging-streaming |
| CAP, consistency models, quorum, consensus, hashing | consistency-coordination |
| Fault tolerance, circuit breakers, degradation, rate limiting | resilience-failure |
| Static/media delivery, edge, geo-routing | content-delivery |
| How the design evolves with 10×/100× growth | scaling-evolution |
| How clients resolve the service, geo/failover routing | dns |
| Unique IDs at scale (Snowflake/UUID/ticket) | sequencer |
| Storing large/unstructured objects (images, video, files) | blob-store |
| Metrics/logs/traces, health checks, SLOs, alerting | observability |
| High-volume log collection/shipping/retention | distributed-logging |
| Full-text search, inverted index, autocomplete | distributed-search |
| Background / scheduled / recurring jobs | task-scheduling |
| Counting likes/views at huge write rates | sharded-counters |
| Drawing/visualizing the architecture | architecture-diagram |
Full descriptions, the bottom-up layering, and "which block answers which
question" are in references/building-blocks-index.md (the canonical 21-block
catalog). Trigger a block directly when the user asks about just that part — the
orchestrator is not required for every question.
The GUIDE catalogs ten failure modes. They are not about wrong answers; they are
about wrong signals. Keep these reflexes (full list and antidotes in
references/failure-modes.md):
A design discussion is a working session, not a lecture. Propose, invite the
critique, and adapt in real time. When a constraint changes, name which earlier
assumption it invalidates and redesign that part — defending a sunk design is a
worse signal than a flawed first idea. See references/collaboration-playbook.md
for how to narrate, handle curveballs, and pivot.
When requirements are genuinely ambiguous and the answer changes the design, ask the user a clarifying question rather than guessing silently.
assets/requirements-template.md (functional /
non-functional / out-of-scope / assumptions).assets/design-doc-template.md — it threads the
reasoning loop, so the trade-offs and failure story are first-class, not
footnotes.architecture-diagram skill — a self-contained
dark-theme HTML+SVG generator that ships in this plugin (no external
dependency). A quick ASCII sketch is fine for early thinking; render properly
once the design is clear. See references/diagramming.md for what to draw at
each step and how to specify a diagram to that skill.docs/design/<system>.md; ask the user where if
unsure). Keep trade-off exploration and constraint back-and-forth in the
conversation; commit the settled artifacts (scope, design, key decisions, data
model, diagram) to the file.references/failure-modes.md, and state the weakest
dimension + what would raise it.What the user reads must show the reasoning, not just contain it. Every design answer (first pass or revision) includes, in the reply itself:
Decision | Solves | Worsens | Change it when…. The last column is a
concrete trigger — a number or observable signal ("write QPS > 50k on one
shard", "a second team needs independent deploys"), never "if needed".A pros/cons list, or trade-offs for only one choice, does not meet the bar.
Two entry points drive this skill as a repeatable process:
/design <system> — the slash command that runs the full loop on a problem.system-design-orchestrator — the agent the command dispatches to; it loads
this skill, then invokes the building-block skills as each concern arises.Both compose the same blocks listed above — invoke a block skill when its concern is active rather than reconstructing its recipe from memory.
references/reasoning-loop.md — the six-step loop in depth, with the news-feed walk-through and 45-minute time budget. Read when running a full design.references/failure-modes.md — the ten failure modes and their antidotes. Read to self-check a design or diagnose why one isn't landing.references/tradeoff-framework.md — the solves/worsens/when-to-change method and common axis trade-offs (latency↔throughput, consistency↔availability, cost↔complexity). Read at step 4.references/building-blocks-index.md — the full wiki index: every block, what it answers, and how blocks combine. Read to route.references/collaboration-playbook.md — narrating, handling curveballs, pivoting on constraint changes. Read when the discussion gets adversarial.references/diagramming.md — what to draw at each loop step and how to specify a diagram to the architecture-diagram skill. Read when drawing.references/worked-example-news-feed.md — one end-to-end pass of the loop, shown as reasoning (not a template to memorize).assets/requirements-template.md — functional / non-functional / scope / assumptions capture.assets/design-doc-template.md — a design write-up structured around the reasoning loop.assets/design-doc-template.md (opens in a new tab)assets/requirements-template.md (opens in a new tab)references/building-blocks-index.md (opens in a new tab)references/collaboration-playbook.md (opens in a new tab)references/diagramming.md (opens in a new tab)references/failure-modes.md (opens in a new tab)references/reasoning-loop.md (opens in a new tab)references/tradeoff-framework.md (opens in a new tab)references/worked-example-news-feed.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
22 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.npx claudepluginhub proyecto26/system-design-skills --plugin system-design-skillsOther plugins' skills for the same job