Generate technical architecture diagrams, pipeline flows, layer/stack diagrams, and system illustrations as standalone HTML files. Uses a dark-mode design system with embedded CSS and inline SVG. Use when the user needs architecture diagrams, system illustrations, flow charts, or technical visualizations.
Generate technical architecture diagrams and system illustrations as standalone HTML files with embedded CSS + inline SVG. No external dependencies.
git clone https://github.com/thatrebeccarae/claude-marketing.git && cp -r claude-marketing/skills/tech-diagram ~/.claude/skills/
:root {
/* Dark mode (default canvas) */
--bg-deep: #0d1117;
--bg-surface: #161b22;
--bg-elevated: #21262d;
--border-subtle: rgba(240, 246, 252, 0.1);
--text-bright: #f0f6fc;
--text-secondary: #8b949e;
--text-muted: #6e7681;
/* Accent palette */
--accent-blue: #58a6ff;
--accent-green: #3fb950;
--accent-purple: #bc8cff;
--accent-orange: #d29922;
--accent-red: #f85149;
--accent-cyan: #39d2c0;
--accent-pink: #f778ba;
/* Light mode (optional, for embedded diagrams) */
--bg-light: #ffffff;
--bg-light-surface: #f6f8fa;
--text-light-primary: #1f2328;
--text-light-secondary: #656d76;
}
--text-secondary for labels and annotations--border-subtle for connecting lines and borders| Role | Font | Weight | Size |
|---|---|---|---|
| Diagram title | system-ui | 600 | 28-32px |
| Section/stage label | system-ui | 600 | 16-18px |
| Description text | system-ui | 400 | 13-14px |
| Annotation | monospace | 400 | 12px |
| Metric value | monospace | 700 | 36-48px |
Width: 1200px (default, responsive down to 800px)
Height: auto (content-driven)
Padding: 48px
Horizontal or vertical sequence of stages with connecting arrows. Each stage has an icon area, label, and description.
Vertical stack of labeled layers with optional descriptions. Top = highest abstraction, bottom = lowest.
Grid or freeform layout of service boxes with connection lines. Each component shows name, tech, and status.
Side-by-side comparison with a vertical divider. Left = before state, right = after state.
Horizontal or vertical sequence of milestones with dates, descriptions, and status indicators.
Horizontal row of KPI cards with large numbers, labels, and optional trend indicators.
<style>, icons as inline SVG.@media print with light background override.{project}-{diagram-type}.html (e.g., pipeline-architecture.html)<style>, all SVG inlineFor complete HTML/CSS patterns and full examples, see REFERENCE.md.