MitchStares/drawio-design
Python-backed agent skill for native, editable draw.io diagrams
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
drawio-design is a file-based agent skill backed by local Python scripts. Installers distribute the same bundle from skills/drawio-design/, which contains SKILL.md, scripts, type references, templates, and examples. The integration is through the coding agent's skill, plugin, or extension mechanism; there is no documented MCP server, transport, or endpoint.
The agent selects a style profile in project-marker, saved-profile, then bundled-default order, chooses a diagram type, and uses scripts/ddio.py to write an uncompressed .drawio file. Native vertices and attached orthogonal edges preserve editability. Explicit waypoints define the route, and ports are spread along node edges. scripts/check_drawio.py applies structural checks; the workflow then calls for the agent to inspect a rendered preview before handing over the editable source.
Key Capabilities & Differentiators
The 52 visual types cover systems and data architecture, process, data modeling, time, charts, and strategy. The bundle includes worked Python examples and light and dark treatments. A .diagram-design marker selects a Markdown profile from ~/.diagram-design/profiles/, shared with the upstream diagram-design skill. The builder reads colors, fonts, and sizes from the active profile; check_profile.py checks profile structure, WCAG contrast, and fonts, while brand_sheet.py previews the types in that profile.
The file checker tests the 4 px grid, text fit, palette use, diagonal edges, shared ports, and export safety. Extractors can read draw.io, Mermaid, Excalidraw, and PlantUML, but they produce a digest for the agent to redraw rather than a converted file. The primary deliverable is native .drawio; PNG, SVG, and PDF are optional exports, not replacements for the editable source.
Trade-offs & Limitations
The key choice is what the team needs to edit. Mermaid is a better fit when the maintained artifact is diagram text; direct editing in draw.io avoids the agent layer for one-off work. This skill fits teams that want agent-assisted authoring followed by native canvas editing, especially when multiple diagrams need a consistent style. The generated .drawio file is uncompressed, but it is not the same authoring surface as a concise text diagram definition.
Explicit waypoints give authors more control over routing; after substantial manual changes, inspect the lines again even though the edges remain attached. A checker pass does not establish semantic accuracy or visual clarity. Where desktop rendering or fonts are unavailable, generation and structural checking can still produce a source file, but the preview review is incomplete. The MIT license permits commercial reuse subject to notice preservation; redistributed fonts have separate license terms.
Hardware & Deployment Guide
Use Python 3.10 or later. Installation paths include npx skills add MitchStares/drawio-design, native plugin or extension packaging for Claude Code, Codex, and Gemini CLI, and a release ZIP for manual upload to claude.ai or Claude Desktop. Building and checking the source file are local Python steps, with no documented GPU requirement. That does not make the host agent offline: model execution and source-data handling depend on the chosen host.
For rendered previews and PNG, SVG, or PDF export, provide draw.io Desktop and the default fonts: Geist, Geist Mono, and Instrument Serif. scripts/export.py looks for draw.io on PATH or in standard install locations. Validate font availability and rendering in the actual export environment before putting it into CI. Release v0.3.0 moved the skill into skills/drawio-design/ and updated packaging and documentation without changing the diagram rules or builder API.
ddio.py writes uncompressed .drawio files with editable vertices, attached edges, and explicit bend points.check_drawio.py checks the 4 px grid, text fit, palette use, diagonal edges, shared ports, and export safety..diagram-design marker selects a Markdown profile; check_profile.py checks profile structure, WCAG contrast, and fonts.skills/drawio-design/; export.py uses draw.io Desktop for PNG, SVG, and PDF.Engineering and documentation teams that want agents to draft architecture, process, or planning diagrams under shared style rules, then hand off native draw.io files for human editing.
You need an MCP endpoint, text-only diagram authoring, lossless import and round-trip synchronization, or automated visual sign-off without a desktop renderer.
Quick Start & Installation
/plugin marketplace add MitchStares/drawio-design /plugin install drawio-design@mitchstares-skills
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| drawio-design ★ | 180 | +56 | Python | MIT | Python-backed agent skill for native, editable draw.io diagrams |
| archify | 103.1k | +2k | JavaScript | Apache-2.0 | Agent skill and Node CLI for source-backed, interactive architecture diagrams. |
| diagram-design | 78.7k | +4.2k | HTML | MIT | An Agent Skill for turning diagram prompts into branded HTML and SVG |
| graphify | 156.8k | +2.4k | Python | Apache-2.0 | Local AST graphs for dependency tracing, with CLI and MCP access. |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/MitchStares/drawio-design.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about drawio-design
Do I need to configure an MCP server?
.drawio file. There is no documented MCP transport, endpoint, or server registration step.What hardware and runtime dependencies should I plan for?
Can we use it commercially and run it on our own machines?
LICENSE.original. If bundling the default fonts, comply with their separate SIL Open Font License terms. Review the coding agent's data handling separately.When should we choose this over Mermaid?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy