From grc-diagrams
Always use when the user asks to create, generate, draw, or design a diagram, flowchart, architecture diagram, ER diagram, sequence diagram, class diagram, network diagram, mockup, wireframe, UI sketch, GRC workflow, control map, audit process, risk register flow, compliance architecture, or mentions draw.io, drawio, drawoi, .drawio files, or diagram export to PNG/SVG/PDF.
How this skill is triggered — by the user, by Claude, or both
Slash command
/grc-diagrams:drawioThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generate draw.io diagrams as native `.drawio` files. Optionally export to PNG, SVG, or PDF with the diagram XML embedded so the exported file remains editable in draw.io.
Generate draw.io diagrams as native .drawio files. Optionally export to PNG, SVG, or PDF with the diagram XML embedded so the exported file remains editable in draw.io.
This skill is based on the draw.io CLI workflow from jgraph/drawio-mcp/skill-cli and adapted for GRC professionals.
.drawio file in the current working directory using the Write tool.npx @drawio/postprocess is already available. Skip silently if it is unavailable. Do not install it or ask the user about it.png, svg, or pdf, locate the draw.io CLI, export with embedded XML, then delete the source .drawio file after a successful export..drawio file and tell the user they can install the draw.io desktop app to enable export or open the .drawio file directly.Check the user's request for a format preference.
create a flowchart -> flowchart.drawiopng flowchart for login -> login-flow.drawio.pngsvg: ER diagram -> er-diagram.drawio.svgpdf architecture overview -> architecture-overview.drawio.pdfIf no format is mentioned, write the .drawio file.
| Format | Embed XML | Notes |
|---|---|---|
drawio | Native | Editable source file |
png | Yes, -e | Viewable everywhere, editable in draw.io |
svg | Yes, -e | Scalable, editable in draw.io |
pdf | Yes, -e | Printable, editable in draw.io |
jpg | No | Lossy and not editable |
Use double extensions for exported editable files: name.drawio.png, name.drawio.svg, name.drawio.pdf.
Try drawio on PATH first. Then use platform fallbacks:
/Applications/draw.io.app/Contents/MacOS/draw.iodrawioC:\Program Files\draw.io\draw.io.exe/mnt/c/Program Files/draw.io/draw.io.exeDetect WSL2 with:
grep -qi microsoft /proc/version 2>/dev/null && echo WSL2
Export command:
drawio -x -f <format> -e -b 10 -o <output> <input.drawio>
WSL2 example:
"/mnt/c/Program Files/draw.io/draw.io.exe" -x -f png -e -b 10 -o diagram.drawio.png diagram.drawio
Open commands:
open <file>xdg-open <file>cmd.exe /c start "" "$(wslpath -w <file>)"start <file>A .drawio file is native mxGraphModel XML. Always generate XML directly. Mermaid and CSV formats require conversion and should not be saved as native .drawio files.
Every diagram must have this structure:
<mxGraphModel adaptiveColors="auto">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
</root>
</mxGraphModel>
Cell id="0" is the root layer. Cell id="1" is the default parent layer. All diagram elements use parent="1" unless the diagram intentionally uses multiple layers.
For complete draw.io XML guidance, fetch and follow:
https://raw.githubusercontent.com/jgraph/drawio-mcp/main/shared/xml-reference.md
Use it for styles, edge routing, containers, layers, tags, metadata, dark mode colors, and XML well-formedness rules.
<!-- -->) in the output.&, <, >, ".id values for each mxCell.id="0" and id="1".<mxGeometry relative="1" as="geometry"/>.npx claudepluginhub vantainc/claude-grc-engineering --plugin grc-diagrams4plugins reuse this skill
First indexed Jul 18, 2026
Guides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.
Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.
Dispatches multiple subagents concurrently for independent tasks without shared state. Use when facing 2+ unrelated failures or subsystems that can be investigated in parallel.