Agent skill that turns natural language, code, Terraform/K8s, SQL, OpenAPI, AsyncAPI, Protobuf and GraphQL sources into editable, tested draw.io architecture diagrams: incremental sync, multi-view projection, drift diff, CI architecture tests, whiteboard derasterize, interactive HTML/PPTX/Mermaid exports.
Python agent-skillsarchitecturearchitecture-diagramasyncapibpmnc4-modelclaude-codediagramdiagrams-as-codedrawioflowchartgithub-actionsgraphqlimage-to-diagramkubernetesmcp-serverprotobufsysmlterraformuml
Prerequisites — draw.io desktop
The draw.io desktop app must be installed for diagram export:
macOS
# Recommended — Homebrew
brew install --cask drawio
# Verify
drawio --version
Windows
Download and install from: https://github.com/jgraph/drawio-desktop/releases
# Verify
"C:\Program Files\draw.io\draw.io.exe" --version
Linux
Download .deb or .rpm from: https://github.com/jgraph/drawio-desktop/releases
# Headless export (required on Linux servers without display)
sudo apt install xvfb # Debian/Ubuntu
xvfb-run -a drawio --version
| Platform | Extra step |
|---|---|
| macOS | No extra steps after Homebrew install |
| Windows | Use full path if not in PATH |
| Linux | Wrap commands with xvfb-run -a for headless export |