
Architecture Diagram
Generates self-contained HTML files with SVG architecture diagrams in a dark theme. Ships with a complete design system: semantic color palette for different component types (frontend in cyan, databases in violet, AWS in amber), JetBrains Mono typography, and precise spacing rules to avoid layout collisions. Every diagram includes a built-in export toolbar that captures high-DPI PNGs or PDFs using html2canvas and jsPDF with SRI-locked CDN imports. The template is opinionated about visual consistency, which is exactly what you want when you need to crank out clean system diagrams without fighting CSS for an hour. Works well for cloud architecture, microservices, and network topology docs.
- skills.sh installs
- 2.2K
- GitHub stars
- 7.6K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add cocoon-ai/architecture-diagram-generator --skill architecture-diagram --agent claude-codeInstalls into .claude/skills of the current project.
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.
Sponsors
Details
- Repository
- github.com/cocoon-ai/architecture-diagram-generator
- Categories
- Frontend Development, Security, Code Review & Quality, Automation & Workflows, Cloud & Infrastructure
- First seen
- May 16, 2026