What problem does it solve? Creating diagrams by hand-positioning shapes in draw.io is slow and error-prone, and exporting editable diagram files from the command line requires knowing the draw.io Desktop CLI's quirks. This Skill automates authoring diagrams as Mermaid or mxGraphModel XML, converting them to native .drawio files, applying ELK auto-layouts, and exporting to PNG, SVG, PDF, or shareable browser URLs. ## Core Features & Use Cases - Mermaid or XML authoring: Write concise Mermaid for standard diagram types (flowcharts, sequence, ER, class, state, gantt, C4) and let the draw.io CLI convert and lay it out, or author raw mxGraphModel XML for custom styling and shape libraries like AWS and Azure. - ELK auto-layout and export: Apply layout presets (verticalFlow, horizontalFlow, tree, radial, organic) or orthogonal edge routing to XML diagrams, then export to PNG/SVG/PDF with the diagram XML embedded so the output stays editable in draw.io. - Browser URL output: Compress the diagram XML with Node.js zlib and generate an app.diagrams.net URL that opens the diagram directly in the browser, with platform-specific handling for macOS, Linux, Windows, and WSL2. - Use Case: Ask for a PNG flowchart of a login process; the Skill writes Mermaid, converts it to a .drawio file via the CLI, exports an editable PNG, and opens the result. ## Quick Start Create a flowchart of the user login process and export it as a PNG file.