drawio
Skill by sparklabx
Builds draw.io diagrams for cloud architecture and business processes using the drawio-ai layout engine. It is for engineers and architects who want a validated .drawio file. The default output is a .drawio file, with PNG or SVG only on request.
Install drawio
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sparklabx/drawio-ai-kit /tmp/drawio-ai-kit && mkdir -p ~/.claude/skills && cp -r /tmp/drawio-ai-kit/skills/drawio ~/.claude/skills/drawioRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sparklabx/drawio-ai-kit /tmp/drawio-ai-kit && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/drawio-ai-kit/skills/drawio ~/.gemini/antigravity-cli/skills/drawioAntigravity 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 skill tells an AI assistant how to create draw.io diagrams. It covers cloud architecture for AWS, Azure, GCP and Databricks, including multi-cloud, hybrid and DR setups, and business processes such as BPMN and swimlane workflows. The assistant writes a small Node script that uses the drawio-ai engine, which places boxes and routes arrows. The user declares what sits inside what, without x or y coordinates.
The workflow looks up icon names with drawio-ai search, starts from a matching template, and then runs validation and a render self-check that lists any issues. The default output is a .drawio file, and a PNG or SVG is made only on request. The skill suits users who want diagrams built from real stencils and checked before delivery. It is released under the MIT license at version 2.0.0.
Written from the project's SKILL.md and checked against it.
What it can do
- Cloud architecture diagramsBuilds AWS, Azure, GCP and Databricks diagrams, including multi-cloud, hybrid, landing zone and VPC layouts.
- BPMN and swimlane diagramsBuilds business process and workflow diagrams with roles, using the BPMN reference.
- Icon searchRuns drawio-ai search so the assistant uses only icon names the engine returns.
- Template scaffoldingCopies the closest template, such as build_vpc.mjs, with drawio-ai scaffold.
- ValidationRuns drawio-ai validate on the .drawio file to check for errors, warnings and advice.
- Render self-checkRuns drawio-ai run, which builds, validates and renders a PNG with an issues list.
- Terraform importFollows a workflow file for building diagrams from a Terraform or Terramate repo.
What you need
- drawio-ai-kit npm package, installed with npm i -g drawio-ai-kit
- Node.js
- draw.io desktop app, required only for PNG rendering
Try asking
- Draw an AWS 3-tier web app in one VPC across 2 availability zones as a .drawio file.
- Make a BPMN diagram of our order approval process with roles as swimlanes.
- Diagram our hybrid DR setup across Azure and GCP and check it for issues.
Good to know
- Default output is a .drawio file. PNG or SVG is made only on request.
- PNG rendering needs the draw.io desktop app. Without it, no PNG is made.
- The build and fix loop runs at most 5 times.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/drawio/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB -
references/api.md7 KB -
references/aws-architecture.md4 KB -
references/azure-architecture.md4 KB -
references/bpmn.md6 KB
Show all 13 files
-
references/databricks-architecture.md6 KB -
references/diagram-types.md5 KB -
references/gcp-architecture.md5 KB -
references/principles.md8 KB -
references/style-guide.md2 KB -
workflows/build.md5 KB -
workflows/delegate.md2 KB -
workflows/from-iac.md1 KB
Alternatives to drawio
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: common questions
Does the skill write draw.io XML by hand?
No. The source says the assistant must not hand-write draw.io XML or x/y coordinates. The drawio-ai engine places boxes and routes arrows.
Which clouds and diagram types are covered?
The source lists AWS, Azure, GCP and Databricks, plus multi-cloud and hybrid setups. It also covers BPMN and swimlane business process diagrams.
Where does the output file go?
It goes in the user's project folder, next to the build script. The source says it must never be written inside the kit folder.
How do I install drawio?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is drawio free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is drawio safe to use?
It scores 77 of 100. Grades: maintenance B, 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 drawio?
Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.
