Official agent skill

Draw.io Diagram Generator

by github in github/awesome-copilot

Generates, edits and validates draw.io files with correct mxGraph XML, covering flowcharts, architecture, sequence, ER and UML class diagrams.

OfficialMITAuto-check passedDevelopment

Install Draw.io Diagram Generator

skills CLI
$ npx skills add github/awesome-copilot --skill draw-io-diagram-generator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install github/awesome-copilot draw-io-diagram-generator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/github/awesome-copilot.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/draw-io-diagram-generator .claude/skills/draw-io-diagram-generator && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
draw-io-diagram-generator
GitHub stars
40k
Used in
1 other repo
Token cost
~4.9k tokens
SKILL.md length
1,582 words
Files
13 (incl. scripts, references, assets)
Skills in repo
417
Repo updated
First seen
Licence
MIT

At a glance

Generates, edits and validates draw.io files with correct mxGraph XML, covering flowcharts, architecture, sequence, ER and UML class diagrams.

  • Works in 11 steps: When to Use This Skill → Prerequisites → Step-by-Step Agent Workflow → …
  • Drawing a system architecture or flowchart as a draw.io file
  • SKILL.md covers 1. When to Use This Skill, 2. Prerequisites, 3. Step-by-Step Agent Workflow and 4. Diagram-Type Recipes, plus 7 more sections
  • Runs Python scripts from its folder; calls python

What it does

The skill produces `.drawio`, `.drawio.svg` and `.drawio.png` files that open straight away in the draw.io VS Code extension, or in the web and desktop apps, with no manual fixes. Ready templates exist for flowcharts, system architecture, sequence diagrams, ER diagrams and UML class diagrams, while network topology and BPMN workflows draw on the shape libraries and mind maps are built by hand. A step-by-step workflow starts by working out the diagram type and its entities or actors before any XML is written.

Support files include reference notes on the draw.io XML schema, shape libraries and style strings, plus two scripts: `scripts/validate-drawio.py` to check a file and `scripts/add-shape.py` to insert shapes. The scripts need Python 3.8 or newer, which is optional, and the VS Code extension is needed only if you want the editor integration.

When your agent uses it

  • Drawing a system architecture or flowchart as a draw.io file
  • Producing an ER or UML class diagram from a schema or codebase
  • Editing an existing .drawio file and checking that it still validates
  • Documenting service interactions as a sequence diagram

Example prompts

  • “Create an architecture diagram of our three-tier web app as docs/architecture.drawio.”
  • “Generate an ER diagram from the tables in schema.sql.”
  • “Add a cache layer to diagrams/system.drawio and validate the file afterward.”

Requirements

  • draw.io VS Code extension, for the editor integration
  • Python 3.8 or newer, for the optional validation scripts

Workflow steps

11 steps, taken from the step headings in SKILL.md.

  1. When to Use This Skill
  2. Prerequisites
  3. Step-by-Step Agent Workflow
  4. Diagram-Type Recipes
  5. Multi-Page Diagrams
  6. Editing Existing Diagrams
  7. Best Practices
  8. Troubleshooting
  9. Validation Checklist
  10. Output Format
  11. References

What it can do on your machine

Read from SKILL.md and the folder at commit 7cce7cf. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 4 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • marketplace.visualstudio.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Draw.io Diagram Generator loads about 4.9k tokens when it runs, and up to ~15k if it reads all its reference files. Until then it costs about 105 tokens; SKILL.md has 1,582 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~105
When it runs · the whole SKILL.md, loaded when a task matches
~4.9k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~15k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from github/awesome-copilot at commit 7cce7cf, republished under its MIT licence (© github). 1,582 words, ~4,884 tokens.

Download SKILL.mdSave it as .claude/skills/draw-io-diagram-generator/SKILL.md (or your agent's skills folder). This skill also uses 12 other files; get the full folder from GitHub.
name
draw-io-diagram-generator
description
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.

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 (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 TypeTemplate AvailableDescription
Flowchartassets/templates/flowchart.drawioProcess flows with decisions and branches
System Architectureassets/templates/architecture.drawioMulti-tier / layered service architecture
Sequence Diagramassets/templates/sequence.drawioActor lifelines and timed message flows
ER Diagramassets/templates/er-diagram.drawioDatabase tables with relationships
UML Class Diagramassets/templates/uml-class.drawioClasses, interfaces, enums, relationships
Network Topology(use shape library)Routers, servers, firewalls, subnets
BPMN Workflow(use shape library)Business process events, tasks, gateways
Mind Map(manual)Central topic with radiating branches

2. Prerequisites

  • If running with VS Code integration enabled, Install the drawio extension: draw.io VS Code extension — hediet.vscode-drawio (extension id). Install with:
    ext install hediet.vscode-drawio
  • Supported file extensions: .drawio, .drawio.svg, .drawio.png
  • Python 3.8+ (optional) — for the validation and shape-insertion scripts in scripts/

3. Step-by-Step Agent Workflow

Follow these steps in order for every diagram generation task.

Step 1 — Understand the Request

Ask or infer:

  1. Diagram type — What kind of diagram? (flowchart, architecture, UML, ER, sequence, network...)
  2. Entities / actors — What are the main components, actors, classes, or tables?
  3. Relationships — How are they connected? What direction? What cardinality?
  4. Output path — Where should the .drawio file be saved?
  5. Existing file — Are we creating new or editing an existing file?

If the request is ambiguous, infer the most sensible diagram type from context (e.g. "show the tables" → ER diagram, "show how the API call flows" → sequence diagram).

Step 2 — Select a Template or Start Fresh
  • Use a template when the diagram type matches one in assets/templates/. Copy the template structure and replace placeholder values.
  • Start fresh for novel layouts. Begin with the minimal valid skeleton:
xml
<!-- Set modified="" to the current ISO 8601 timestamp when generating a new file -->
<mxfile host="Electron" modified="" version="26.0.0">
  <diagram id="page-1" name="Page-1">
    <mxGraphModel dx="1422" dy="762" grid="1" gridSize="10" guides="1"
                  tooltips="1" connect="1" arrows="1" fold="1"
                  page="1" pageScale="1" pageWidth="1169" pageHeight="827"
                  math="0" shadow="0">
      <root>
        <mxCell id="0" />
        <mxCell id="1" parent="0" />
        <!-- Your cells go here -->
      </root>
    </mxGraphModel>
  </diagram>
</mxfile>

Rule: ids 0 and 1 are ALWAYS required and must be the first two cells. Never reuse them.

Step 3 — Plan the Layout

Before generating XML, sketch the logical placement:

  • Organise into rows or tiers (use swimlanes for layers)
  • Horizontal spacing: 40–60px between same-row shapes
  • Vertical spacing: 80–120px between tier rows
  • Standard shape size: 120x60 px for process boxes, 160x80 px for swimlanes
  • Default canvas: A4 landscape = 1169 x 827 px
Step 4 — Generate the mxGraph XML

Vertex cell (every shape):

xml
<mxCell id="unique-id" value="Label"
        style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;"
        vertex="1" parent="1">
  <mxGeometry x="100" y="100" width="120" height="60" as="geometry" />
</mxCell>

Edge cell (every connector):

xml
<mxCell id="edge-id" value="Label (optional)"
        style="edgeStyle=orthogonalEdgeStyle;html=1;"
        edge="1" source="source-id" target="target-id" parent="1">
  <mxGeometry relative="1" as="geometry" />
</mxCell>

Critical rules:

  • Every cell id must be globally unique within the file
  • Every vertex must have an mxGeometry child with x, y, width, height, as="geometry"
  • Every edge must have source and target matching existing vertex ids — exception: floating edges (e.g. sequence diagram lifelines) use sourcePoint/targetPoint inside <mxGeometry> instead; see §4 Sequence Diagram
  • Every cell's parent must reference an existing cell id
  • Use html=1 in style when the label contains HTML (<b>, <i>, <br>)
  • Escape XML special characters in labels: & => &amp;, < => &lt;, > => &gt;
Step 5 — Apply Correct Styles

Use the standard semantic color palette for consistency:

PurposefillColorstrokeColor
Primary / Info#dae8fc#6c8ebf
Success / Start#d5e8d4#82b366
Warning / Decision#fff2cc#d6b656
Error / End#f8cecc#b85450
Neutral#f5f5f5#666666
External / Partner#e1d5e7#9673a6

Common style strings by diagram type:

# Rounded process box (flowchart)
rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;

# Decision diamond
rhombus;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;

# Start/End terminal
ellipse;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;

# Database cylinder
shape=mxgraph.flowchart.database;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;

# Swimlane container (tier)
swimlane;startSize=30;fillColor=#dae8fc;strokeColor=#6c8ebf;fontStyle=1;

# UML class box
swimlane;fontStyle=1;align=center;startSize=40;fillColor=#dae8fc;strokeColor=#6c8ebf;

# Interface / stereotype box
swimlane;fontStyle=3;align=center;startSize=40;fillColor=#f5f5f5;strokeColor=#666666;

# ER table container
shape=table;startSize=30;container=1;collapsible=1;childLayout=tableLayout;

# Orthogonal connector
edgeStyle=orthogonalEdgeStyle;html=1;

# ER relationship (crow's foot)
edgeStyle=entityRelationEdgeStyle;html=1;endArrow=ERmany;startArrow=ERone;

See references/style-reference.md for the complete style key catalog and references/shape-libraries.md for all shape library names.

Step 6 — Save and Validate
  1. Write the file to the requested path with .drawio extension
  2. Run the validator (optional but recommended):
    bash
    python .github/skills/draw-io-diagram-generator/scripts/validate-drawio.py <path-to-file.drawio>
  3. Tell the user how to open the file:

    "Open <filename> in VS Code — it will render automatically with the draw.io extension. You can use draw.io's web app or desktop app as well if you prefer."

  4. Provide a brief description of what is in the diagram so the user knows what to expect.

4. Diagram-Type Recipes

Flowchart

Key elements: Start (ellipse) => Process (rounded rectangle) => Decision (diamond) => End (ellipse)

xml
<!-- Start node -->
<mxCell id="start" value="Start"
        style="ellipse;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;"
        vertex="1" parent="1">
  <mxGeometry x="500" y="80" width="120" height="60" as="geometry" />
</mxCell>

<!-- Process -->
<mxCell id="p1" value="Process Step"
        style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;"
        vertex="1" parent="1">
  <mxGeometry x="500" y="200" width="120" height="60" as="geometry" />
</mxCell>

<!-- Decision -->
<mxCell id="d1" value="Condition?"
        style="rhombus;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;"
        vertex="1" parent="1">
  <mxGeometry x="460" y="320" width="200" height="100" as="geometry" />
</mxCell>

<!-- Arrow: start to p1 -->
<mxCell id="e1" value=""
        style="edgeStyle=orthogonalEdgeStyle;html=1;"
        edge="1" source="start" target="p1" parent="1">
  <mxGeometry relative="1" as="geometry" />
</mxCell>
Architecture Diagram (3-tier)

Use swimlane containers for each tier. All service boxes are children of their swimlane.

xml
<!-- Tier swimlane -->
<mxCell id="tier1" value="Client Layer"
        style="swimlane;startSize=30;fillColor=#dae8fc;strokeColor=#6c8ebf;fontStyle=1;"
        vertex="1" parent="1">
  <mxGeometry x="60" y="100" width="1050" height="130" as="geometry" />
</mxCell>

<!-- Service inside tier (parent="tier1", coords are relative to tier) -->
<mxCell id="webapp" value="Web App"
        style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;"
        vertex="1" parent="tier1">
  <mxGeometry x="80" y="40" width="120" height="60" as="geometry" />
</mxCell>

Connectors between tiers use absolute coordinates with parent="1".

Sequence Diagram

Key elements: Actors (top), Lifelines (dashed vertical lines), Activation boxes, Message arrows.

  • Lifelines: edge="1" with endArrow=none and dashed=1, no source/target — use sourcePoint/targetPoint in geometry
  • Synchronous message: endArrow=block;endFill=1
  • Return message: endArrow=open;endFill=0;dashed=1
  • Self-call: loop the edge via two Array points to the right and back

Minimal XML snippet:

xml
<!-- Actor (stick figure) -->
<mxCell id="actorA" value="Client"
        style="shape=mxgraph.uml.actor;pointerEvents=1;dashed=0;whiteSpace=wrap;html=1;aspect=fixed;"
        vertex="1" parent="1">
  <mxGeometry x="110" y="80" width="60" height="80" as="geometry" />
</mxCell>

<!-- Service box -->
<mxCell id="actorB" value="API Server"
        style="rounded=1;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;"
        vertex="1" parent="1">
  <mxGeometry x="480" y="100" width="160" height="60" as="geometry" />
</mxCell>

<!-- Lifeline — floating edge: uses sourcePoint/targetPoint, NOT source/target attributes -->
<mxCell id="lifA" value=""
        style="edgeStyle=none;dashed=1;endArrow=none;"
        edge="1" parent="1">
  <mxGeometry relative="1" as="geometry">
    <mxPoint x="140" y="160" as="sourcePoint" />
    <mxPoint x="140" y="700" as="targetPoint" />
  </mxGeometry>
</mxCell>

<!-- Activation box (thin rectangle on lifeline) -->
<mxCell id="actA1" value=""
        style="fillColor=#dae8fc;strokeColor=#6c8ebf;"
        vertex="1" parent="1">
  <mxGeometry x="130" y="220" width="20" height="180" as="geometry" />
</mxCell>

<!-- Synchronous message -->
<mxCell id="msg1" value="POST /orders"
        style="edgeStyle=elbowEdgeStyle;elbow=vertical;html=1;endArrow=block;endFill=1;"
        edge="1" source="actA1" target="actorB" parent="1">
  <mxGeometry relative="1" as="geometry" />
</mxCell>

<!-- Return message (dashed) -->
<mxCell id="msg2" value="201 Created"
        style="edgeStyle=elbowEdgeStyle;elbow=vertical;dashed=1;html=1;endArrow=open;endFill=0;"
        edge="1" source="actorB" target="actA1" parent="1">
  <mxGeometry relative="1" as="geometry" />
</mxCell>

Note: Lifelines are floating edges that use sourcePoint/targetPoint in <mxGeometry> instead of source/target attributes. This is the standard draw.io pattern for sequence diagrams.

ER Diagram

Use shape=table containers with childLayout=tableLayout. Rows are shape=tableRow cells with portConstraint=eastwest. Columns inside each row are shape=partialRectangle.

Relationship arrows use edgeStyle=entityRelationEdgeStyle:

  • One-to-One: startArrow=ERone;endArrow=ERone
  • One-to-Many: startArrow=ERone;endArrow=ERmany
  • Many-to-Many: startArrow=ERmany;endArrow=ERmany
  • Mandatory: ERmandOne, Optional: ERzeroToOne
UML Class Diagram

Class boxes are swimlane containers. Attributes and methods are plain text cells. Dividers are zero-height swimlane children.

Arrow styles by relationship type:

RelationshipStyle String
Inheritance (extends)edgeStyle=orthogonalEdgeStyle;html=1;endArrow=block;endFill=0;
Realization (implements)edgeStyle=orthogonalEdgeStyle;dashed=1;html=1;endArrow=block;endFill=0;
CompositionedgeStyle=orthogonalEdgeStyle;html=1;startArrow=diamond;startFill=1;endArrow=none;
AggregationedgeStyle=orthogonalEdgeStyle;html=1;startArrow=diamond;startFill=0;endArrow=none;
DependencyedgeStyle=orthogonalEdgeStyle;dashed=1;html=1;endArrow=open;endFill=0;
AssociationedgeStyle=orthogonalEdgeStyle;html=1;endArrow=open;endFill=0;

5. Multi-Page Diagrams

Add multiple <diagram> elements for complex systems:

xml
<mxfile host="Electron" version="26.0.0">
  <diagram id="overview" name="Overview">
    <!-- overview mxGraphModel -->
  </diagram>
  <diagram id="detail" name="Detail View">
    <!-- detail mxGraphModel -->
  </diagram>
</mxfile>

Each page has its own independent cell id namespace. The same id value can appear in different pages without conflict.


6. Editing Existing Diagrams

When modifying an existing .drawio file:

  1. Read the file first to understand existing cell ids, positions, and parent hierarchy
  2. Identify the target diagram page — by index or name attribute
  3. Assign new unique ids that do not collide with existing ids
  4. Respect the container hierarchy — children of a swimlane use coordinates relative to their parent
  5. Verify edges — after repositioning nodes, confirm edge source/target ids remain valid

Use scripts/add-shape.py to safely add a single shape without editing raw XML:

bash
python .github/skills/draw-io-diagram-generator/scripts/add-shape.py docs/arch.drawio "New Service" 700 380

Show full SKILL.md (593 more words)Show less

7. Best Practices

Layout

  • Align shapes to the 10px grid (all coordinates divisible by 10)
  • Group related shapes inside swimlane containers
  • One diagram topic per page; use multi-page files for complex systems
  • Aim for 40 or fewer cells per page for readability

Labels

  • Add a title text cell (text;strokeColor=none;fillColor=none;fontSize=18;fontStyle=1) at top of every page
  • Always set whiteSpace=wrap;html=1 on vertex shapes
  • Keep labels concise — 3 words or fewer per shape where possible

Style consistency

  • Use the semantic color palette from Section 3 Step 5 consistently across a project
  • Prefer edgeStyle=orthogonalEdgeStyle for clean right-angle connectors
  • Do not inline arbitrary HTML in labels unless necessary

File naming

  • Use kebab-case: order-service-flow.drawio, database-schema.drawio
  • Place diagrams alongside the code they document: docs/ or architecture/

8. Troubleshooting

ProblemLikely CauseFix
File opens blank in VS CodeMissing id=0 or id=1 cellAdd both root cells before any other cells
Shape at wrong positionChild inside container — coords are relativeCheck parent; adjust x/y relative to container
Edge not visiblesource or target id does not match any vertexVerify both ids exist exactly as written
Diagram shows "Compressed"mxGraphModel is base64-encodedOpen in draw.io web, File > Export > XML (uncompressed)
Shape style not renderingTypo in shape= nameCheck references/shape-libraries.md for exact style string
Label shows escaped HTMLhtml=0 on a cell with HTML labelAdd html=1; to the cell style
Container children overlap container edgeContainer height too smallIncrease container height in mxGeometry

9. Validation Checklist

Before delivering any generated .drawio file, verify:

  • File starts with <mxfile> root element
  • Every <diagram> has a non-empty id attribute
  • <mxCell id="0" /> is the first cell in every diagram
  • <mxCell id="1" parent="0" /> is the second cell in every diagram
  • All cell id values are unique within each diagram
  • Every vertex cell has vertex="1" and a child <mxGeometry as="geometry">
  • Every edge cell has edge="1" and either: (a) source/target pointing to existing vertex ids, or (b) <mxPoint as="sourcePoint"> and <mxPoint as="targetPoint"> in its <mxGeometry> (floating edge — used for sequence diagram lifelines)
  • Every cell (except id=0) has a parent pointing to an existing id
  • html=1 is in the style for any label containing HTML tags
  • XML is well-formed (no unclosed tags, no unescaped &, <, > in attribute values)
  • A title label cell exists at the top of each page

Run the automated validator:

bash
python .github/skills/draw-io-diagram-generator/scripts/validate-drawio.py <file.drawio>

10. Output Format

When delivering a diagram, always provide:

  1. The .drawio file written to the requested path
  2. A one-sentence summary of what the diagram shows
  3. How to open it:

    "Open <filename> in VS Code — the draw.io extension will render it automatically. Or you can open it in the draw.io web app or desktop app if you prefer."

  4. How to edit it (if the user is likely to customise):

    "Click any shape to select it. Double-click to edit the label. Drag to reposition."

  5. Validation status — whether the validator script was run and passed

11. References

All companion files are in .github/skills/draw-io-diagram-generator/:

FileContents
references/drawio-xml-schema.mdComplete mxfile / mxGraphModel / mxCell attribute reference, coordinate system, reserved cells, validation rules
references/style-reference.mdAll style keys with allowed values, vertex and edge style keys, shape catalog, semantic color palette
references/shape-libraries.mdAll shape library categories (General, Flowchart, UML, ER, Network, BPMN, Mockup, K8s) with style strings
assets/templates/flowchart.drawioReady-to-use flowchart template
assets/templates/architecture.drawio4-tier system architecture template
assets/templates/sequence.drawio3-actor sequence diagram template
assets/templates/er-diagram.drawio3-table ER diagram with crow's foot relationships
assets/templates/uml-class.drawioInterface + 2 classes + enum with relationship arrows
scripts/validate-drawio.pyPython script to validate XML structure of any .drawio file
scripts/add-shape.pyPython CLI to add a new shape to an existing diagram
scripts/README.mdHow to use the scripts with examples

© github, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 12 other files (scripts, references, assets) in skills/draw-io-diagram-generator of github/awesome-copilot.

  • SKILL.md
  • 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

Open the folder on GitHubat commit 7cce7cf

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in github/awesome-copilot, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Draw.io Diagram Generator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Draw.io Diagram Generator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Draw.io Diagram Generator this skillgithub/awesome-copilot40k1 repos~4.9kAutomated safety check: PassMIT
Diagram Designcathrynlavery/diagram-design45k1 repos~7.5kAutomated safety check: PassMIT
Draw.io Diagram StudioAgents365-ai/drawio-skill10k—~2.4kAutomated safety check: NotesMIT
Drawio Diagram BuilderWill-hxw/drawio-diagram-builder412—~5.9kAutomated safety check: PassMIT
Generate Readmedivar-ir/ai-doc-gen766—~996Automated safety check: PassMIT
draw.io Architecture DiagrammingHoangNguyen0403/agent-skills-standard571—~1.3kAutomated safety check: PassMIT

Similar skills

  • Diagram Design

    cathrynlavery/diagram-design

    Creates branded diagrams, from architecture, flowchart and sequence to charts and maps, as self-contained HTML with inline SVG, with import from draw.io, Mermaid and Excalidraw.

    45k GitHub starsUsed in 1 repo~7.5k tokens
    DevelopmentAuto-check passed
  • Draw.io Diagram Studio

    Agents365-ai/drawio-skill

    Creates and edits editable draw.io diagrams from descriptions, code, infrastructure files, SQL and API schemas, with sync, review, test and export tools.

    10k GitHub stars~2.4k tokensUpdated 6 days ago
    DevelopmentAuto-check: notes
  • Drawio Diagram Builder

    Will-hxw/drawio-diagram-builder

    Create, edit, replicate, and iteratively refine editable research and technical diagrams in diagrams.net/draw.io (.drawio XML) from prompts, papers, repositories, screenshots, or existing diagrams.

    412 GitHub stars~5.9k tokensUpdated 3 mo ago
    DevelopmentAuto-check passed
  • Generate Readme

    divar-ir/ai-doc-gen

    Generate or refresh a comprehensive, professional README.md for a repository, with architecture overview, mermaid and optional C4 diagrams, repository structure, dependencies, and API documentation.

    766 GitHub stars~996 tokensUpdated 2 mo ago
    DevelopmentAuto-check passed
  • draw.io Architecture Diagramming

    HoangNguyen0403/agent-skills-standard

    Draws architecture diagrams as editable draw.io files from a JSON spec, with a fixed house style, one C4 level per diagram and evidence-tagged shapes.

    571 GitHub stars~1.3k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Draw

    ZimoLiao/scholaraio

    A skill your agent uses when the user wants diagrams, flowcharts, architecture visuals, data relationships, timelines, concept maps, Mermaid, Graphviz, drawio, or polished paper figures generated…

    576 GitHub stars~1.3k tokensUpdated 13 days ago
    DevelopmentAuto-check: notes

More from github/awesome-copilot

All 417 skills in this repo
  • Acquire Codebase Knowledge

    github/awesome-copilot

    Official

    Maps an unfamiliar codebase into seven evidence-backed documents in docs/codebase/, using a scan script and templates, for onboarding or architecture write-ups.

    40k GitHub starsUsed in 1 repo~2.3k tokens
    Auto-check passed
  • Azure Architecture Autopilot

    github/awesome-copilot

    Official

    Designs Azure infrastructure from a natural-language description, or diagrams an existing resource group, then refines the design through conversation and deploys it with Bicep.

    40k GitHub starsUsed in 1 repo~1.9k tokens
    Auto-check passed
  • Credit Risk Data Cleaning

    github/awesome-copilot

    Official

    Cleans raw credit data and screens variables before loan modeling, dropping unstable, noisy or redundant features and writing an Excel report of every step.

    40k GitHub starsUsed in 1 repo~1.5k tokens
    Auto-check passed
  • Daily Focus Board

    github/awesome-copilot

    Official

    Builds a warm, browser-based daily focus board the user updates by talking to their agent, with Eisenhower priorities, a brain-dump box and kind not-today carryover.

    40k GitHub stars~3k tokensUpdated today
    Auto-check passed
  • Python Pypi Package Builder

    github/awesome-copilot

    Official

    End-to-end skill for building, testing, linting, versioning, and publishing a production-grade Python library to PyPI.

    40k GitHub starsUsed in 1 repo~4.6k tokens
    Auto-check passed
  • Official

    Analyze Terraform plan JSON output for AzureRM Provider to distinguish between false-positive diffs (order-only changes in Set-type attributes) and actual resource changes.

    40k GitHub starsUsed in 1 repo~547 tokens
    Auto-check passed

Categories

Questions about Draw.io Diagram Generator

What does Draw.io Diagram Generator do?

Generates, edits and validates draw.io files with correct mxGraph XML, covering flowcharts, architecture, sequence, ER and UML class diagrams. io VS Code extension, or in the web and desktop apps, with no manual fixes. Ready templates exist for flowcharts, system architecture, sequence diagrams, ER diagrams and UML class diagrams, while network topology and BPMN workflows draw on the shape libraries and mind maps are built by hand.

When should I use Draw.io Diagram Generator?

Draw.io Diagram Generator fits situations like: drawing a system architecture or flowchart as a draw.io file; producing an ER or UML class diagram from a schema or codebase; editing an existing .drawio file and checking that it still validates; documenting service interactions as a sequence diagram.

How do I install Draw.io Diagram Generator in Claude Code?

Run `npx skills add github/awesome-copilot --skill draw-io-diagram-generator -a claude-code`. Or copy the skill folder (skills/draw-io-diagram-generator in github/awesome-copilot) into .claude/skills/draw-io-diagram-generator in your project. Claude Code loads it when a task matches its description.

How do I install Draw.io Diagram Generator in Codex?

Run `npx skills add github/awesome-copilot --skill draw-io-diagram-generator -a codex`. Or copy the skill folder (skills/draw-io-diagram-generator in github/awesome-copilot) into .agents/skills/draw-io-diagram-generator in your project. Codex loads it when a task matches its description.

Can I use Draw.io Diagram Generator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add github/awesome-copilot --skill draw-io-diagram-generator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/draw-io-diagram-generator, .gemini/skills/draw-io-diagram-generator, .github/skills/draw-io-diagram-generator and .opencode/skills/draw-io-diagram-generator in your project.

What does Draw.io Diagram Generator need to run?

Going by SKILL.md and its folder, Draw.io Diagram Generator needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: draw.io VS Code extension, for the editor integration; Python 3.8 or newer, for the optional validation scripts.

Does Draw.io Diagram Generator access the network?

SKILL.md names 1 domain. As links in the text: marketplace.visualstudio.com. This is read from the text; nothing was executed.

Is Draw.io Diagram Generator safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Draw.io Diagram Generator use?

Draw.io Diagram Generator is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Draw.io Diagram Generator use?

About 4.9k tokens (SKILL.md is roughly 20k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 9.9k tokens, read only when the agent opens those files.

What are the alternatives to Draw.io Diagram Generator?

Skills that share tags, products or a category with Draw.io Diagram Generator: Diagram Design (cathrynlavery/diagram-design, 45k stars), Draw.io Diagram Studio (Agents365-ai/drawio-skill, 10k stars), Drawio Diagram Builder (Will-hxw/drawio-diagram-builder, 412 stars) and Generate Readme (divar-ir/ai-doc-gen, 766 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Draw.io Diagram Generator?

github (a GitHub organization, an official publisher) maintains it in github/awesome-copilot, which has 39,792 GitHub stars. The repository holds 417 skills in this directory. The repository was last updated on October 8, 2026.

Source: github/awesome-copilot on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.