Agent skill · Design & Presentation

draw-io-diagram-generator

Use when creating, editing, or generating draw.io diagram files (.drawio, .drawio.svg, .drawio.png). Covers mxGraph XML authoring, shape libraries, style strings, flowcharts, system architecture, sequence diagrams, ER diagrams, UML class diagrams, network topology, layout strategy, the hediet.vscode-drawio VS Code extension, and the full agent workflow from request to a ready-to-open file.

GitHub68,948★ · +463/wk · 2 repos on radarProfile →
copilotships scriptsMIT
Install
npx skills add github/awesome-copilot --skill draw-io-diagram-generator --agent copilot

Same command for any agent — swap --agent for claude-code, codex, cursor.

Facts
Files in the skill folder: 13
SKILL.md size: 19 KB
Bundled scripts: yes
Path: skills/draw-io-diagram-generator/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 37,432 · +281 this week
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Draw.io Diagram Generator This skill enables you to generate, edit, and validate draw.io (`.drawio`) diagram files with correct mxGraph XML structure. All generated files open immediately in the [Draw.io VS Code extension](https://marketplace.visualstudio.com/items?itemName=hediet.vscode-drawio) (`hediet.vscode-drawio`) without any manual fixes required. You can also open the files in the draw.io web app or desktop app if you prefer. --- ## 1. When to Use This Skill **Trigger phrases (load this skill when you see these)** - "create a diagram", "draw a flowchart", "generate an architecture diagram" - "design a sequence diagram", "make a UML class diagram", "build an ER diagram" - "add a .drawio file", "update the diagram", "visualise the flow" - "document the architecture", "show the data model", "diagram the service interactions" - Any request to produce or modify a `.drawio`, `.drawio.svg`, or `.drawio.png` file **Supported diagram types** | Diagram Type | Template Available | Description | |---|---|---| | Flowchart | `assets/templates/flowchart.drawio` | Process flows with decisions and branches | | System Architecture | `assets/templates/architecture.drawio` | Multi-tier / lay

What's inside
Steps it walks through
  1. 1. When to Use This Skill
  2. 2. Prerequisites
  3. 3. Step-by-Step Agent Workflow
  4. Step 1 — Understand the Request
  5. Step 2 — Select a Template or Start Fresh
  6. Step 3 — Plan the Layout
  7. Step 4 — Generate the mxGraph XML
  8. Step 5 — Apply Correct Styles
  9. Step 6 — Save and Validate
  10. 4. Diagram-Type Recipes
  11. Flowchart
  12. Architecture Diagram (3-tier)
  13. Sequence Diagram
  14. ER Diagram
Ships with 12 files
  • assets/templates/architecture.drawio
  • assets/templates/er-diagram.drawio
  • assets/templates/flowchart.drawio
  • assets/templates/sequence.drawio
  • assets/templates/uml-class.drawio
  • references/drawio-xml-schema.md
  • references/shape-libraries.md
  • references/style-reference.md
  • scripts/.gitignore
  • scripts/README.md
  • scripts/add-shape.py
  • scripts/validate-drawio.py
Commands it runs
python .github/skills/draw-io-diagram-generator/scripts/validate-drawio.py <path-to-file.drawio>
python .github/skills/draw-io-diagram-generator/scripts/add-shape.py docs/arch.drawio "New Service" 700 380
python .github/skills/draw-io-diagram-generator/scripts/validate-drawio.py <file.drawio>
More from awesome-copilot
All skills →
About this skill
What does the draw-io-diagram-generator skill do?

Use when creating, editing, or generating draw.io diagram files (.drawio, .drawio.svg, .drawio.png). Covers mxGraph XML authoring, shape libraries, style strings, flowcharts, system architecture, sequence diagrams, ER diagrams, UML class diagrams, network topology, layout strategy, the hediet.vscode-drawio VS Code extension, and the full agent workflow from request to a ready-to-open file.

How do I install it?

Run `npx skills add github/awesome-copilot --skill draw-io-diagram-generator --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From github/awesome-copilot, a repository with 37,432 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going