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
View on GitHub

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 -y

Installs 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 TypeFill (rgba)Stroke
Frontendrgba(8, 51, 68, 0.4)#22d3ee (cyan-400)
Backendrgba(6, 78, 59, 0.4)#34d399 (emerald-400)
Databasergba(76, 29, 149, 0.4)#a78bfa (violet-400)
AWS/Cloudrgba(120, 53, 15, 0.3)#fbbf24 (amber-400)
Securityrgba(136, 19, 55, 0.4)#fb7185 (rose-400)
Message Busrgba(251, 146, 60, 0.3)#fb923c (orange-400)
External/Genericrgba(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