/system-design-skills:architecture-diagramfrom system-design-skills
Generates self-contained dark-theme HTML+SVG architecture diagrams from component lists and connections, with PNG/PDF export. Use when a system design is stable enough to visualize.
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.
Turn a stabilized design — a list of components and the connections between them — into a polished, self-contained HTML + SVG diagram. Components are boxes, arrows are communication/data flow, dashed boundaries are regions or trust zones. This is the diagramming engine for the whole plugin; the orchestrator and building blocks hand off here when it's time to draw.
Self-contained by design: one HTML file with inline SVG and CSS, a system monospace font (no web-font fetch), and no dependency to render — it draws fully offline. The only external calls are two pinned, SRI-protected CDN scripts that power the optional PNG/PDF export; remove them and the diagram still renders — only the export buttons are lost.
At step 3 (high-level design) and step 6 (deep-dive) of the reasoning loop, and any time a design is clear enough to draw: the component list and their connections are known. Also for failure-path diagrams (step 5) — showing a degradation flow is part of the design.
Before the design has stabilized — don't draw boxes that aren't yet justified (that's failure mode #7). A quick ASCII sketch in the conversation is fine for early thinking; render with this skill once the components have earned their place.
system-design design-doc already produces this.assets/template.html to a working file. It carries the
dark theme, grid background, fonts, the export toolbar, and the summary-card
layout — keep those intact.references/design-system.md (draw arrows before boxes so they sit behind;
mask arrows behind semi-transparent fills; keep ≥40px vertical gaps; legends
go outside boundary boxes).open <file>.html to view; the toolbar exports PNG/PDF.These align with how the building blocks think about a system.
| Component type | Fill (rgba) | Stroke | Used for |
|---|---|---|---|
| Frontend / client | rgba(8,51,68,0.4) | #22d3ee | web/mobile clients, edge |
| Backend / service | rgba(6,78,59,0.4) | #34d399 | app/API services, workers |
| Database / store | rgba(76,29,149,0.4) | #a78bfa | SQL/NoSQL, object store |
| Cache | rgba(8,51,68,0.4) | #38bdf8 | Redis/Memcached, CDN cache |
| Message bus / queue | rgba(251,146,60,0.3) | #fb923c | Kafka, SQS, queues, streams |
| Cloud / managed | rgba(120,53,15,0.3) | #fbbf24 | managed services, regions |
| Security / auth | rgba(136,19,55,0.4) | #fb7185 | gateways, auth, firewalls |
| External / generic | rgba(30,41,59,0.5) | #94a3b8 | third parties, DNS |
Full styling, arrow markers, masking, spacing, and legend rules are in
references/design-system.md.
.html file: inline CSS, inline SVG, no external images.<foreignObject> (renders inconsistently in html2canvas) — use plain
<rect>/<text>.Do:
Don't:
<foreignObject> (html2canvas renders it inconsistently) — use plain <rect>/<text>.For iterating with the user, an interactive variant adds layer toggles,
connection-type filters, zoom, and click-to-comment that builds a feedback prompt
with a Copy button. See references/interactive.md. It degrades gracefully: the
Copy-Prompt button always works. A live "Send to Claude" button is possible only
if a separate prompt-transport plugin (e.g. playground-sync) is installed — this
plugin does not require or bundle one.
system-design — invoked by the orchestrator at the "draw it" steps; its diagramming notes feed what to draw at each step.architecture-diagram". This skill renders for all of them; it owns diagram generation and they point here rather than ship their own.references/design-system.md — colors, arrow markers, z-order/masking, spacing, legend placement, the export toolbar internals. Read before drawing.references/interactive.md — the optional interactive/commentable diagram pattern and the (optional) send-to-Claude transport. Read only if building an interactive map.assets/template.html — the self-contained dark-theme HTML+SVG starting point with the export toolbar. Copy and customize it.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"./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