tech-diagram
Skill159 starsChanged 9 months agoMITView on GitHub
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.
In this repository55 other files it gives its agents.
- ab-testing-frameworkSkill
- account-structure-reviewSkill
- aeo-geo-optimizerSkill
- brand-dnaSkill
- brand-voice-guidelinesSkill
- brazeSkill
- cold-email-outreachSkill
- competitor-ads-analystSkill
- content-creatorSkill
- content-pipelineSkill
- content-workflowSkill
- copywriting-frameworksSkill
- cro-auditorSkill
- cross-platform-auditSkill
- customer-journey-mappingSkill
- data-viz-deckSkill
- dep-auditSkill
- email-composerSkill
- facebook-adsSkill
- frontend-designSkill
- github-readmeSkill
- google-adsSkill
- google-analyticsSkill
- google-tag-managerSkill
- html-report-builderSkill
- icp-researchSkill
- klaviyo-analystSkill
- klaviyo-developerSkill
- landing-page-optimizerSkill
- linkedin-adsSkill
- llms-txtSkill
- looker-studioSkill
- market-researchSkill
- microsoft-adsSkill
- pricing-strategySkill
- pro-deck-builderSkill
- programmatic-seoSkill
- pro-report-builderSkill
- release-notesSkill
- remotion-videoSkill
- repo-healthSkill
- repo-scaffoldSkill
- research-digestSkill
- retention-churn-preventionSkill
- safe-pushSkill
- schema-markup-generatorSkill
- seo-content-writerSkill
- shopifySkill
- social-media-strategySkill
- social-previewSkill
- sync-reposSkill
- technical-seo-auditSkill
- tiktok-adsSkill
- utm-attribution-strategySkill
- wasted-spend-finderSkill
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 9 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 32
Before/after split comparisons
- Very specific: line 72
Use --text-secondary for labels and annotations
- Very specific: line 73
Use --border-subtle for connecting lines and borders
- Distinctive: line 122
One concept per diagram: If it needs two diagrams, make two files.
- Distinctive: line 123
Labels on everything: Every box, arrow, and region should be labeled.
- Distinctive: line 124
Consistent spacing: Use CSS grid or flexbox, not absolute positioning.
- Distinctive: line 130
No raster images (PNG/JPG) — use inline SVG for all icons
- Distinctive: line 131
No external CSS/JS — everything embedded
- Distinctive: line 132
No gradients as primary fill — use flat colors with subtle borders
- Distinctive: line 133
No more than 8 items in a single row — wrap or use grid
- Distinctive: line 134
No decorative elements that do not convey information
- Very specific: line 139
Single file: All CSS inline in <style>, all SVG inline
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Technical Diagram Generator
Generate technical architecture diagrams and system illustrations as standalone HTML files with embedded CSS + inline SVG. No external dependencies.
Install
git clone https://github.com/thatrebeccarae/claude-marketing.git && cp -r claude-marketing/skills/tech-diagram ~/.claude/skills/Core Capabilities
- Pipeline flow diagrams (data pipelines, CI/CD, ETL)
- Layer/stack diagrams (tech stack, OSI model, infrastructure)
- Component diagrams (microservices, system architecture)
- Before/after split comparisons
- Timeline diagrams (roadmaps, migration phases)
- Metric callout rows (KPI summaries)
Design System
Color Tokens
: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;
}Color Rules
- Dark mode is default for all diagrams
- Each pipeline stage or layer gets a distinct accent color
- Use
--text-secondaryfor labels and annotations - Use
--border-subtlefor connecting lines and borders - Semantic colors: green = healthy/success, red = error/alert, orange = warning
Typography
| 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 |
Canvas
Width: 1200px (default, responsive down to 800px)
Height: auto (content-driven)
Padding: 48pxComponent Library
Pipeline Flow
Horizontal or vertical sequence of stages with connecting arrows. Each stage has an icon area, label, and description.
Layer/Stack Diagram
Vertical stack of labeled layers with optional descriptions. Top = highest abstraction, bottom = lowest.
Component Diagram
Grid or freeform layout of service boxes with connection lines. Each component shows name, tech, and status.
Before/After Split
Side-by-side comparison with a vertical divider. Left = before state, right = after state.
Timeline
Horizontal or vertical sequence of milestones with dates, descriptions, and status indicators.
Metric Callout Row
Horizontal row of KPI cards with large numbers, labels, and optional trend indicators.
Key Principles
- One concept per diagram. If it needs two diagrams, make two files.
- Labels on everything. Every box, arrow, and region should be labeled.
- Consistent spacing. Use CSS grid or flexbox, not absolute positioning.
- No external deps. Everything inline — CSS in
<style>, icons as inline SVG. - Print-friendly. Include
@media printwith light background override.
Anti-Patterns
- No raster images (PNG/JPG) — use inline SVG for all icons
- No external CSS/JS — everything embedded
- No gradients as primary fill — use flat colors with subtle borders
- No more than 8 items in a single row — wrap or use grid
- No decorative elements that do not convey information
File Conventions
- Filename:
{project}-{diagram-type}.html(e.g.,pipeline-architecture.html) - Single file: All CSS inline in
<style>, all SVG inline - Responsive: Works at 800-1400px width range
For complete HTML/CSS patterns and full examples, see REFERENCE.md.
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.

