drawio-diagram
Installation
SKILL.md
drawio-diagram
Generate .drawio architecture diagrams with a consistent visual style. Always include a legend. Supports export to PNG, SVG, PDF, and self-contained HTML.
Workflow
- Understand the subject — read source material (repos, docs, README, user description)
- Plan the diagram — identify containers, capabilities, external services, and connections
- Generate the
.drawiofile — use the XML structure and style conventions below - Add a legend — always include a legend row at the top of the diagram
- Export — offer to export to PNG/SVG/PDF via draw.io CLI, or to self-contained HTML
XML Structure
Every .drawio file must follow this structure: