
Architecture Diagram
Dark-themed HTML+SVG architecture diagrams with a built-in copy, PNG, and PDF export toolbar.
- skills.sh installs
- 2.2K
- GitHub stars
- 7.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers system, infrastructure, cloud, security, and network topology diagrams as self-contained HTML files with inline SVG
- Provides a color-coded component palette for frontend, backend, database, cloud, security, and message bus elements
- Enforces spacing and legend placement rules so boxes do not overlap and legends sit outside all boundary boxes
- Includes pinned html2canvas and jsPDF scripts with Subresource Integrity hashes for tamper-resistant export
Install
$ npx -y skills add cocoon-ai/architecture-diagram-generator --skill architecture-diagram -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Architecture Diagram Skill
Create professional technical architecture diagrams as self-contained HTML files with inline SVG graphics and CSS styling.
Version 1.1 · MIT License · Authored by Cocoon AI
Design System
Color Palette
Use these semantic colors for component types:
| Component Type | Fill (rgba) | Stroke |
|---|---|---|
| Frontend | rgba(8, 51, 68, 0.4) | #22d3ee (cyan-400) |
| Backend | rgba(6, 78, 59, 0.4) | #34d399 (emerald-400) |
| Database | rgba(76, 29, 149, 0.4) | #a78bfa (violet-400) |
| AWS/Cloud | rgba(120, 53, 15, 0.3) | #fbbf24 (amber-400) |
| Security | rgba(136, 19, 55, 0.4) | #fb7185 (rose-400) |
| Message Bus | rgba(251, 146, 60, 0.3) | #fb923c (orange-400) |
| External/Generic | rgba(30, 41, 59, 0.5) | #94a3b8 (slate-400) |
Typography
Use JetBrains Mono for all text (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 for component names, 9px for sublabels, 8px for annotations, 7px for tiny labels.
Details
- Repository
- github.com/cocoon-ai/architecture-diagram-generator
- Categories
- Technical Documentation, Design & UI/UX
- First seen
- May 16, 2026
Similar to Architecture Diagram
More Technical Documentation
archifySkilltt-a1i/archify193K installsCreate validated architecture, workflow, sequence, ERD, and timeline diagrams as standalone HTML with native exports.
baoyu-diagramSkilljimliu/baoyu-skills16.1K installsGenerates dark-themed SVG diagrams of any type, with light and PNG variants, from a single theme-driven template.
technical-svg-diagramsSkillsomtougeh/dotfiles146 installsGenerates clean, minimal technical SVG diagrams in a consistent Cloudflare-inspired monospace style with grid backgrounds.
diagram-designSkillcathrynlavery/diagram-design29.2K installsStandalone HTML diagram generator with inline SVG and a first-run style-guide customization gate covering 51 visual types.
Excalidraw ArchitectMCP serverbv-venky164 starsGenerates Excalidraw architecture and other diagrams from structured specs, with auto-layout and styling.