← ClaudeAtlas

iw-draw-iolisted

Generates and exports draw.io diagrams programmatically using the CLI-Anything drawio harness for XML creation and the draw.io desktop CLI for PNG/SVG/PDF export. Use when asked to create draw.io diagrams, architecture diagrams in .drawio format, export diagrams to PNG/SVG/PDF, or when user says "draw.io", "drawio diagram", "create diagram", "export diagram", "/iw-draw-io". Prefer this over Mermaid for rich architecture diagrams, multi-page diagrams, and diagrams that need desktop editing later.
innovation-ways/iw-ai-core · ★ 0 · Data & Documents · score 70
Install: claude install-skill innovation-ways/iw-ai-core
# Draw.io Diagram Generator Generate professional draw.io diagrams with Innovation Ways brand styling, then export to PNG/SVG/PDF. ## Pre-flight Check ### 1. CLI-Anything drawio harness installation Check if the drawio harness is installed: ```bash cli-anything-drawio --help ``` If the command is not found, install it: ```bash pip install -e ~/.claude/plugins/marketplaces/cli-anything/drawio/agent-harness/ ``` Verify installation: ```bash cli-anything-drawio --help ``` If installation fails (e.g., the harness directory does not exist), fall back to **Method B: Direct XML** — write `.drawio` XML directly using the reference in `references/drawio-xml-reference.md`. This always works regardless of harness installation. ### 2. Draw.io desktop (for export only) The draw.io desktop app is installed on Windows at: ``` /mnt/c/Program Files/draw.io/draw.io.exe ``` This is required ONLY for PNG/SVG/PDF export. Diagram creation (`.drawio` files) works without it. ## Step 1: Determine Diagram Type and Content Based on `$ARGUMENTS`, determine: 1. **What to diagram** — system architecture, data flow, sequence, ER, deployment, etc. 2. **Scope** — how many components, what level of detail 3. **Output formats** — `.drawio` (always) + PNG/SVG/PDF (if requested or default to PNG) If `$ARGUMENTS` is insufficient, ask clarifying questions. ## Step 2: Load Brand Colors Read `iw-development-fw/templates/brand/brand.json` to extra