architecture-diagram
Skill18 starsChanged 3 months agoMITView on GitHub
WHAT — Create polished dark-themed architecture diagrams as self-contained HTML+SVG files (inline SVG, CSS styling, PNG/PDF export toolbar). Use when the user asks for system, infrastructure, cloud, security, or network topology diagrams rendered as a shareable visual artifact rather than code.
27 other projects use a version of this, 17 of them edited.
Adopted by
Most recently taken up by
- NousResearch/hermes-agentedited, first seen Nov 13, 2026
- rakaarwaky/agents-arwakyedited, first seen Oct 6, 2026
- stempeck/agentfactorytheir own version, first seen Oct 5, 2026
- delorenj/skillsedited, first seen Oct 2, 2026
- JameMy0001/antigravity-skills-hubedited, first seen Oct 2, 2026
- jjuniper-dev/skillstheir own version, first seen Sep 27, 2026
Used with
Projects with it also use competitor-news-monitor, document-to-action-items and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
aivrarSkillcompetitor-news-monitor
Watch named companies for material news; cited digests.
Also in 5 projects that use this
aivrarSkilldocument-to-action-items
Extract cited obligations, deadlines, tasks from documents.
Also in 5 projects that use this
john-data-chenSkillteams-meeting-pipeline
Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.
Also in 7 projects that use this
kevinnftSkilltouchdesigner-mcp
Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.
Also in 5 projects that use this
kevinnftSkillpython-debugpy
Debug Python: pdb REPL + debugpy remote (DAP).
Also in 7 projects that use this
braxtonROSE4Skillsongwriting-and-ai-music
Songwriting craft, AI music generation prompts (Suno focus), parody/adaptation techniques, phonetic tricks, and lessons learned. These are tools and ideas, not rules. Break any of them when the art calls for it.
Also in 7 projects that use this
- +4 more from aivrar
- +1 more from kevinnft
Other versions27 projects use a version of this.
Word for word · 0
None found.
Edited · 17
- NousResearch/hermes-agent★ 267k12% same
- aivrar/portable-hermes-agent★ 23212% same
- nickvasilescu/korgo-bot★ 3512% same
- wundercorp/loki★ 2412% same
- delorenj/skills★ 1512% same
- kevinnft/ai-agent-skills★ 1312% same
- Samin12/skills★ 912% same
- alwalid-khllo/syriana-agent★ 312% same
- MakiDevelop/claude-skills★ 334% same
- abduznik/abduznik-skills★ 212% same
7 more not listed
Wrote their own version · 10
- taracodlabs/aiden★ 846same name
- konraddzbik/architecture-diagram-skill★ 107same name
- proyecto26/system-design-skills★ 85same name
- aethrox/doctrine★ 18same name
- Nanford/Nanford-skills★ 17same name
- d-oit/rust-2026-template★ 11same name
- iopsystems/skills-mcp★ 4same name
- stempeck/agentfactory★ 3same name
- jjuniper-dev/skills★ 2same name
- taleshagn-horushub/thoth★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository105 other files it gives its agents.
- AGENTS.mdAGENTS.md
- reviewSkill
- mcp-auditSkill
- owasp-agentic-reviewSkill
- supply-chain-auditSkill
- threat-modelingSkill
- c4-modelSkill
- aws-well-architected-reviewSkill
- cloud-design-patternsSkill
- assistantSkill
- dev-companionSkill
- onboardingSkill
- output-handshakeSkill
- pr-fallbackSkill
- projectSkill
- workspace-knowledge-syncSkill
- workspaceSkill
- dbt-validationSkill
- snowflake-validationSkill
- adrSkill
- agreementSkill
- bugSkill
- decision-logSkill
- development-workflowSkill
- epicSkill
- incidentSkill
- management-unit-assessmentSkill
- meeting-minutesSkill
- planningSkill
- prdSkill
- project-assessment-evidenceSkill
- project-assessmentSkill
- spikeSkill
- taskSkill
- technical-unit-assessmentSkill
- trdSkill
- user-storySkill
- workflow-client-bootstrapSkill
- workflow-generic-projectSkill
- work-itemSkill
- bragSkill
- brag-slimSkill
- design-assessmentSkill
- design-improvementSkill
- figma-code-connect-componentsSkill
- figma-create-design-system-rulesSkill
- figma-create-new-fileSkill
- figma-implement-designSkill
- figmaSkill
- frontend-design-reviewSkill
- frontend-designSkill
- web-design-guidelinesSkill
- fix-merge-conflictsSkill
- gh-address-commentsSkill
- gh-contribution-plannerSkill
- gh-fix-ciSkill
- github-cli-workflowSkill
- gitlab-cli-workflowSkill
- worktreeSkill
- clickup-cliSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 27 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 44
Create professional technical architecture diagrams as single self-contained HTML files with inline SVG graphics and CSS styling.
- Distinctive: line 64
Add/reposition component boxes using the component pattern below.
- Distinctive: line 67
Update the three summary cards and legend.
- Very specific: line 183
Place legends outside all boundary boxes (regions, clusters, security groups).
“Common” is measured: kept by at least 6 in 10 of the 27 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Architecture Diagram — Self-Contained HTML+SVG Diagrams
Create professional technical architecture diagrams as single self-contained HTML files with inline SVG graphics and CSS styling. The output renders correctly when opened directly in any modern browser — no build step, no JavaScript framework, no external images.
When to use
- System, infrastructure, cloud, security, or network-topology diagrams.
- A shareable, presentation-ready visual artifact is the deliverable.
- Dark-theme technical aesthetic is desired.
For methodology (what to draw at each level), pair with architecture/c4-model;
for lightweight in-repo text diagrams, use tooling/mermaid. This skill covers
the rendered artifact case.
Workflow
- Copy
resources/template.htmlas the starting point. - Customize the
<title>, header text, and footer metadata. - Adjust the SVG
viewBoxif needed (default1000 x 680). - Add/reposition component boxes using the component pattern below.
- Draw connection arrows early in the SVG (after the background grid) so they render behind boxes.
- Update the three summary cards and legend.
- Deliver one
.htmlfile.
Design system
Semantic color palette
| Component type | Fill (rgba) | Stroke |
| Frontend | rgba(8, 51, 68, 0.4) | #22d3ee |
| Backend | rgba(6, 78, 59, 0.4) | #34d399 |
| Database | rgba(76, 29, 149, 0.4) | #a78bfa |
| AWS/Cloud | rgba(120, 53, 15, 0.3) | #fbbf24 |
| Security | rgba(136, 19, 55, 0.4) | #fb7185 |
| Message bus | rgba(251, 146, 60, 0.3) | #fb923c |
| External/Generic | rgba(30, 41, 59, 0.5) | #94a3b8 |
Typography
JetBrains Mono throughout (monospace, technical aesthetic):
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap" rel="stylesheet">Font sizes: 12px component names, 9px sublabels, 8px annotations, 7px tiny labels.
Visual elements
Background: #020617 with a subtle grid pattern:
<pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse">
<path d="M 40 0 L 0 0 0 40" fill="none" stroke="#1e293b" stroke-width="0.5"/>
</pattern>Component boxes: rounded rectangles (rx="6"), 1.5px stroke,
semi-transparent fills.
Security groups: dashed stroke (stroke-dasharray="4,4"), transparent
fill, rose color.
Region boundaries: larger dashed stroke (stroke-dasharray="8,4"), amber
color, rx="12".
Arrows: SVG marker arrowheads:
<marker id="arrowhead" markerWidth="10" markerHeight="7" refX="9" refY="3.5" orient="auto">
<polygon points="0 0, 10 3.5, 0 7" fill="#64748b" />
</marker>Draw arrows before boxes so they layer behind components.
Masking arrows behind transparent fills: semi-transparent box fills let
arrows show through. Pre-draw an opaque rect (fill="#0f172a") beneath the
styled rect:
<!-- Opaque background to mask arrows -->
<rect x="X" y="Y" width="W" height="H" rx="6" fill="#0f172a"/>
<!-- Styled component on top -->
<rect x="X" y="Y" width="W" height="H" rx="6" fill="rgba(76, 29, 149, 0.4)" stroke="#a78bfa" stroke-width="1.5"/>Auth/security flows: dashed lines, rose color (#fb7185).
Message/event buses: small connectors placed in the vertical gap between services:
<rect x="X" y="Y" width="120" height="20" rx="4" fill="rgba(251, 146, 60, 0.3)" stroke="#fb923c" stroke-width="1"/>
<text x="CENTER_X" y="Y+14" fill="#fb923c" font-size="7" text-anchor="middle">Kafka / RabbitMQ</text>Component box pattern
<rect x="X" y="Y" width="W" height="H" rx="6" fill="FILL_COLOR" stroke="STROKE_COLOR" stroke-width="1.5"/>
<text x="CENTER_X" y="Y+20" fill="white" font-size="11" font-weight="600" text-anchor="middle">LABEL</text>
<text x="CENTER_X" y="Y+36" fill="#94a3b8" font-size="9" text-anchor="middle">sublabel</text>Info card pattern
<div class="card">
<div class="card-header">
<div class="card-dot COLOR"></div>
<h3>Title</h3>
</div>
<ul>
<li>• Item one</li>
<li>• Item two</li>
</ul>
</div>Layout rules
Vertical spacing (critical)
Standard component height is 60px (80–120px for larger blocks); keep a minimum 40px vertical gap between stacked components, and place inline connectors (buses) centered inside that gap — never overlapping either component:
Component A: y=70, height=60 → ends at y=130
Gap: y=130 to y=170 → 40px gap, bus at y=140 (20px tall)
Component B: y=170, height=60 → ends at y=230Legend placement (critical)
Place legends outside all boundary boxes (regions, clusters, security
groups). Compute the lowest boundary end (y + height), start the legend at
least 20px below it, and extend the SVG viewBox height accordingly.
Page structure
- Header — title with pulsing dot indicator, subtitle, export toolbar.
- Main SVG diagram — contained in a rounded border card.
- Summary cards — grid of three cards below the diagram.
- Footer — minimal metadata line.
Export toolbar
The template ships a collapsed ⋯ toggle in the header revealing three
export actions — clipboard copy, high-DPI PNG download, and one-page PDF —
all driven by two pinned CDN scripts with Subresource Integrity hashes
(html2canvas, jsPDF). Keep these intact when customizing:
- Both
<script>tags in<head>(pinned versions, SRI hashes,crossorigin="anonymous"). id="report-container"on the outermost.containerdiv (capture target)..toolbarmarkup plus@media print { .toolbar { display: none !important; } }.- The
copyAsImage(),downloadPNG(),downloadPDF()functions before</body>.
Caveats: the clipboard API needs a user gesture and a secure context;
html2canvas renders plain SVG shapes/text reliably but not
<foreignObject>; raise capture scale above 2 for higher-resolution output.
Output contract
Exactly one self-contained .html file per diagram:
- Embedded CSS only (external exception: Google Fonts).
- Inline SVG only (no external images).
- Renders correctly opened directly in any modern browser.
References
- Template:
resources/template.html
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

