drawio

Installation
SKILL.md

Draw.io Diagram Skill

Write native .drawio files (mxGraphModel XML). Optionally export to PNG, SVG, or PDF via the desktop CLI — exported files embed the diagram XML so they remain editable in draw.io.

Workflow

  1. Generate mxGraphModel XML for the requested diagram
  2. Write to <name>.drawio in the working directory
  3. If the user wants an export format, run the CLI with --embed-diagram, then delete the source .drawio
  4. Open the result with open <file>

Check the user's request for a format preference:

  • /drawio create a flowchartflowchart.drawio
  • /drawio png flowchart for loginlogin-flow.drawio.png
  • /drawio svg: ER diagramer-diagram.drawio.svg
  • /drawio pdf architecture overviewarchitecture-overview.drawio.pdf

If no format is mentioned, write the .drawio file and open it.

Installs
2
First Seen
Jul 14, 2026
drawio — jsolly/agent-skills