by MitchStares
Agent skill that draws editorial diagrams as native, editable draw.io files: 52 types, brand profiles, a checker and CLI export.
# Add to your Claude Code skills
git clone https://github.com/MitchStares/drawio-designGuides for using ai agents skills like drawio-design.
See how drawio-design compares with popular alternatives.
drawio-design is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by MitchStares. Agent skill that draws editorial diagrams as native, editable draw.io files: 52 types, brand profiles, a checker and CLI export. It has 124 GitHub stars.
drawio-design's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/MitchStares/drawio-design" and add it to your Claude Code skills directory (see the Installation section above).
drawio-design is primarily written in Python. It is open-source under MitchStares on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh drawio-design against similar tools.
No comments yet. Be the first to share your thoughts!
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
An agent skill that draws editorial diagrams as native, editable draw.io files.
52 visual types · brand profiles · light and dark · a technical checker · PNG, SVG and PDF export
Install · Gallery · Usage · Brand profiles · Development
Ask your coding agent for a diagram. You get a .drawio file with real vertices and connected orthogonal edges. Open it in draw.io, drag a box, and its arrows follow. Every image on this page came from a file that you can edit.
drawio-design is a port of diagram-design by Cathryn Lavery. It keeps her design system, her rules and her 52 visual types, and changes the medium from HTML/SVG to draw.io.
| Without it | With drawio-design |
|---|---|
| The agent writes Mermaid or loose SVG. Nobody can edit the result in the tool the team uses. | The output is an uncompressed .drawio file. It opens in draw.io desktop, diagrams.net, the VS Code extension and the Confluence and Jira apps. |
| Every box has the same weight, and colour marks everything as "important". | The accent goes on one or two focal elements. Shape and fill carry the node type. |
| draw.io's router produces stacked, wandering connectors. | Every bend has an explicit point. Ports fan out along a box edge. A checker fails diagonals and shared ports. |
| Someone types brand colours and fonts in by hand, diagram by diagram. | A profile holds the brand. The same script draws the default skin, a dark skin or your client's brand. |
| Nobody looks at the picture before it ships. | The agent renders a preview, looks at it and names the defects before it delivers. |
Pick the line for your agent. Each one installs the same skill from skills/drawio-design/.
| Agent | Command |
|---|---|
| Any agent (Claude Code, Codex, Cursor, Copilot, Gemini CLI, OpenCode and many more) | npx skills add MitchStares/drawio-design |
| Claude Code (plugin, with updates) | /plugin install drawio-design --marketplace MitchStares/drawio-design |
| Codex (plugin) | codex plugin marketplace add MitchStares/drawio-design |
| Gemini CLI (extension) | gemini extensions install https://github.com/MitchStares/drawio-design |
| claude.ai and Claude desktop | Download drawio-design.zip from the latest release. Upload it under Customize → Skills. |
On Claude Code before 2.1.275, install the plugin in two steps:
/plugin marketplace add MitchStares/drawio-design
/plugin install drawio-design@mitchstares-skills
Requirements: Python 3.10 or later. For PNG, SVG and PDF export, also install draw.io desktop and the three default fonts. docs/install.md has the per-agent details, the font setup for each OS, updates and troubleshooting.
Ask in plain words. The skill picks the visual type, states its plan, builds the file, checks it and looks at a render.
Draw our checkout flow as a swimlane: customer, web app, payments API, warehouse.
Turn docs/architecture.mmd into a draw.io architecture diagram with a dark variant.
Make a Gantt chart of the Q3 plan in plan.md, then export it as a PNG at 2x.
Set up a diagram profile from https://example.com and use it for this repo.
docs/usage.md explains the workflow, the 52 types, imports, export and editing.
See all 75 examples in the gallery →
| Group | Types |
|---|---|
| Systems | Architecture, architecture delta, IT current state, high-level, deployment, layer stack, exploded axonometric, dependency and arc |
| Data platforms | Medallion, data flow, DP integration, DP security matrix |
| Process | Flowchart, process, steps, swimlane, sequence, state machine, loop, user journey, service blueprint, event modeling, fishbone, kanban, story map |
| Data models | ER, database schema, UML class, SBGN, requirement traceability |
| Structure | Tree, org chart, nested, pyramid and funnel, Venn, treemap and marimekko, unit grid |
| Time | Timeline, Gantt, schedule network, git graph |
| Charts | Bar and dumbbell, waterfall, line (slopegraph, ridgeline, streamgraph, bump), scatter (bubble, beeswarm, box plot), heatmap, radar, polar, quadrant, Sankey |
| Strategy and places | Wardley map, axonometric plan |
your request
│
├─ 1. Resolve the profile project marker → saved profile → shipped default
├─ 2. Choose pattern and type one of 52, with its type reference
├─ 3. Build with ddio Python → uncompressed .drawio
├─ 4. Check check_drawio.py: grid, text fit, palette, ports, export
├─ 5. Render and look a preview PNG, defects named and fixed
└─ 6. Deliver the .drawio PNG, SVG or PDF only on request
scripts/ddio.py builds the file. It reads colours, fonts and sizes from the active profile, so no diagram has a hard-coded hex value.scripts/check_drawio.py checks any .drawio file: the 4px grid, text fit, colours outside the palette, diagonal edges, shared ports and export safety.scripts/export.py calls the draw.io desktop CLI. It finds draw.io on PATH or in the standard install folder.scripts/check_profile.py and scripts/brand_sheet.py check a brand profile for structure, WCAG contrast and fonts, and preview every type in it.scripts/*_extract.py read draw.io, Mermaid, Excalidraw and PlantUML sources. The agent redraws from the digest. It does not convert the source.A profile is one Markdown style guide: colour roles, type roles and node treatments. Profiles live in ~/.diagram-design/profiles/, so the original diagram-design skill and this skill share them. A file named .diagram-design in a project selects one:
profile: acme
The skill can build a profile from a website, a design system folder or pasted tokens. docs/brand-profiles.md explains how.
drawio-design/
├── skills/drawio-design/ ← the skill: everything an install copies
│ ├── SKILL.md
│ ├── scripts/ ddio library, checker, export, profile tools, importers
│ ├── references/ type references and shared rules
│ ├── examples/ one worked example per type, light and dark
│ │ └── src/ the Python that builds each example
│ └── assets/ starting templates
├── .claude-plugin/ Claude Code plugin, marketplace and icon
├── plugin.json Codex plugin
├── .agents/plugins/ Codex marketplace
├── gemini-extension.json Gemini CLI extension
├── docs/ guides, gallery and images
├── tools/ repo tools: validate, gallery, zip, icon
└── .github/workflows/ validate on push, release zip on tag
MIT. See LICENSE.
The design system, the type references, the rules and the import extractors are the work of Cathryn Lavery in diagram-design. This port keeps her copyright notice (LICENSE.original). The draw.io port, the ddio library, the checker and the examples are by Mitchell Stares.
The default fonts are [Geist and Geist Mono](https://