drawio-diagram
Skill by dwmkerr
Generates .drawio architecture diagrams with a consistent visual style and exports them to PNG, SVG, PDF, JPG or self-contained HTML. It is for users who need system or architecture diagrams from source material or a description.
Install drawio-diagram
Built from the published package, never by AI.
git clone --depth 1 https://github.com/dwmkerr/claude-toolkit /tmp/claude-toolkit && mkdir -p ~/.claude/skills && cp -r /tmp/claude-toolkit/plugins/dwmkerr/skills/drawio-diagram ~/.claude/skills/drawio-diagramRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/dwmkerr/claude-toolkit /tmp/claude-toolkit && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-toolkit/plugins/dwmkerr/skills/drawio-diagram ~/.gemini/antigravity-cli/skills/drawio-diagramAntigravity 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
The drawio-diagram skill generates .drawio architecture diagrams with a consistent visual style. It reads source material such as repositories, docs, READMEs or a user description, plans the containers, capabilities, external services and connections, and then writes the diagram XML. Every diagram includes a legend row near the top, and each element type uses fixed fill and stroke colours for roles such as containers, capabilities, external systems and annotations.
Diagrams can be exported to PNG, SVG, PDF or JPG with the draw.io command line tool. They can also be exported to a self-contained HTML file that loads the diagrams.net viewer script in a browser. The skill suits people who need architecture or system diagrams and want a uniform look across them.
Written from the project's SKILL.md and checked against it.
What it can do
- Generate .drawio filesCreates architecture diagram XML with a consistent set of element styles.
- Plan diagram contentIdentifies containers, capabilities, external services and connections from source material.
- Add a legendAdds a legend row near the top showing the element types used in the diagram.
- Export with draw.io CLIExports diagrams to PNG, SVG, PDF or JPG using the draw.io command line tool.
- Self-contained HTML exportCreates a standalone HTML file that renders the diagram in a browser.
- Layout guidelinesApplies rules such as legend at top, infrastructure bar at bottom and orthogonal connections.
What you need
- draw.io desktop app for CLI export
Try asking
- Create an architecture diagram of this repo as a .drawio file
- Export my system diagram to a PNG with a transparent background
- Make a self-contained HTML version of the architecture diagram
Good to know
- Transparent background export applies to PNG only.
- The .drawio source can be deleted after export because the export embeds the XML.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: plugins/dwmkerr/skills/drawio-diagram/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to drawio-diagram
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
drawio-diagram: common questions
Do I need draw.io installed to use this skill?
The CLI export commands need the draw.io app. The source says the self-contained HTML file renders in a browser without draw.io installed.
Which formats can the diagrams be exported to?
The CLI supports png, svg, pdf and jpg. The skill also creates a self-contained HTML file.
Does every generated diagram include a legend?
Yes. The source says every diagram must include a legend row near the top, showing only the element types used.
How do I install drawio-diagram?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is drawio-diagram free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is drawio-diagram safe to use?
It scores 52 of 100. Grades: maintenance A, licence A, quality C. 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 drawio-diagram?
Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.
