drawio-diagram
Installation
SKILL.md
DrawIO Diagram Skill
Create diagrams and open them in the Draw.io editor via the bundled CLI.
CLI Location
{SKILL_DIR}/scripts/drawio-cli.js
Execute with: node {SKILL_DIR}/scripts/drawio-cli.js <command> --content "<content>"
Available Commands
| Command | Input | Use Case |
|---|---|---|
open-drawio-xml |
Draw.io XML (mxGraph format) | Full control over layout, styling, custom shapes |
open-drawio-csv |
CSV with draw.io directives | Org charts, hierarchies from tabular data |
open-drawio-mermaid |
Mermaid.js syntax | Quick flowcharts, sequence/class/state/ER diagrams |