diagram-design
Skill by cathrynlavery
Creates branded diagrams as self-contained HTML files with inline SVG, using an editorial design system. Built for people who need architecture, flow, data and org charts.
Install diagram-design
Built from the published package, never by AI.
git clone --depth 1 https://github.com/cathrynlavery/diagram-design /tmp/diagram-design && mkdir -p ~/.claude/skills && cp -r /tmp/diagram-design/skills/diagram-design ~/.claude/skills/diagram-designRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/cathrynlavery/diagram-design /tmp/diagram-design && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/diagram-design/skills/diagram-design ~/.gemini/antigravity-cli/skills/diagram-designAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Diagram Design is an agent skill that generates diagrams as self-contained HTML files with inline SVG. The skill covers 54 visual types, including architecture, flowcharts, sequence diagrams, ER models, Gantt charts, Sankey diagrams and Wardley maps. Output can be HTML, SVG or PNG. It can also import .drawio, Mermaid, .excalidraw and PlantUML files.
Before the first diagram in a new project, the skill checks whether the style guide has been customized. If the default tokens are still in place, it asks the user to set up branding from a website, an installed skill, a local folder, pasted tokens, or a saved profile. It uses semantic patterns for behavior-heavy diagrams and states a density target of about 4 out of 10. The publisher is cathrynlavery, and the skill is released under the MIT license.
Written from the project's SKILL.md and checked against it.
What it can do
- Architecture and flow diagramsDraws architecture, flowchart, sequence, state machine and swimlane diagrams.
- Data and analytics chartsCreates treemap, heatmap, Sankey, waterfall, Gantt and scatter charts.
- Planning and strategy visualsProduces Wardley maps, user journeys, service blueprints, kanban boards and story maps.
- Organizational diagramsBuilds org charts, tree diagrams, nested layouts and layer stacks.
- Diagram importImports existing .drawio, Mermaid, .excalidraw and PlantUML files.
- Branded style setupWalks through customizing the style guide and saving named client profiles.
- Semantic pattern selectionChooses a behavior-based pattern first, then the nearest visual type for layout.
- Static and animated outputUses static output by default and adds motion only when requested.
Try asking
- Draw a flowchart of our customer onboarding process as a branded HTML diagram
- Turn this Mermaid sequence diagram into a styled SVG
- Create a Wardley map of our internal platform services
Good to know
- Does not include a plain-text unicode diagram tool.
- Shipped default styling is used unless the style guide is customized.
- Animation is off by default and used only when requested.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/diagram-design/SKILL.md, skills/diagram-design/scripts/drawio_extract.py, skills/diagram-design/scripts/excalidraw_extract.py, skills/diagram-design/scripts/export_pdf.py, skills/diagram-design/scripts/export_png.py, skills/diagram-design/scripts/export_svg.py, skills/diagram-design/scripts/mcp_server.py, skills/diagram-design/scripts/report_issue.py, skills/diagram-design/scripts/self_check.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md35 KB -
assets/example-arc-diagram-dark.html8 KB -
assets/example-arc-diagram-full.html11 KB -
assets/example-arc-diagram.html8 KB -
assets/example-architecture-containment-dark.html14 KB
Show all 336 files
-
assets/example-architecture-containment-full.html17 KB -
assets/example-architecture-containment.html14 KB -
assets/example-architecture-dark.html12 KB -
assets/example-architecture-delta-dark.html20 KB -
assets/example-architecture-delta-full.html22 KB -
assets/example-architecture-delta.html20 KB -
assets/example-architecture-full.html15 KB -
assets/example-architecture.html12 KB -
assets/example-axonometric-plan-campus-animated.html47 KB -
assets/example-axonometric-plan-campus-dark.html31 KB -
assets/example-axonometric-plan-campus-full.html33 KB -
assets/example-axonometric-plan-campus.html31 KB -
assets/example-axonometric-plan-coffee-shop-animated.html54 KB -
assets/example-axonometric-plan-coffee-shop-dark.html39 KB -
assets/example-axonometric-plan-coffee-shop-full.html41 KB -
assets/example-axonometric-plan-coffee-shop.html38 KB -
assets/example-axonometric-plan-dark.html28 KB -
assets/example-axonometric-plan-full.html31 KB -
assets/example-axonometric-plan-warehouse-animated.html54 KB -
assets/example-axonometric-plan-warehouse-dark.html38 KB -
assets/example-axonometric-plan-warehouse-full.html41 KB -
assets/example-axonometric-plan-warehouse.html38 KB -
assets/example-axonometric-plan.html28 KB -
assets/example-bar-dark.html9 KB -
assets/example-bar-full.html11 KB
And 306 more files on GitHub.
Alternatives to diagram-design
All alternatives →PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.
Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.
Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.
Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.
Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.
Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.
Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration
diagram-design: common questions
What diagram types does Diagram Design support?
The skill lists 54 visual types, including architecture, flowcharts, ER models, Gantt charts, Sankey diagrams, Wardley maps and org charts.
Can it import diagrams from other tools?
Yes. The source says it imports .drawio, Mermaid, .excalidraw and PlantUML files.
Does it ask about branding before drawing?
On the first diagram in a new project with default styling, it pauses and asks how to customize the style guide, unless a saved profile is found.
How do I install diagram-design?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is diagram-design free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is diagram-design safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to diagram-design?
Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.
