/drawio-diagramming:quality-critiquefrom drawio-diagramming
Validates draw.io diagram XML against a visual quality checklist covering structure, layout, edges, styling, and platform compatibility.
Ships in drawio-diagramming. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Run this critique on every generated diagram XML BEFORE writing the file. Fix all issues found before saving — do not write substandard diagrams.
<mxfile> wrapping <diagram> wrapping <mxGraphModel>background="none" set on <mxGraphModel> (transparent, not white)id="0" and id="1" parent="0" presentparent references point to existing cellssource/target on edges point to existing verticesrounded=1;jettySize=auto; (no sharp 90-degree bends)strokeWidth=2;exitX/exitY/entryX/entryYjumpStyle=arc;jumpSize=16;dashed=1;dashPattern=8 4;shadow=1; for depthhtml=1;) with <b> for titles#333333 for light fills, #FFFFFF for dark fills)fontStyle=1; (bold)container=1;collapsible=1;)<object> tags where appropriate (services, APIs).drawio.svg with --embed-diagram for editability| Fill Color | Recommended fontColor | Example |
|---|---|---|
#DAE8FC (blue) | #333333 | Services |
#D5E8D4 (green) | #333333 | Data stores |
#FFF2CC (yellow) | #333333 | Decisions |
#F8CECC (red) | #333333 | Errors |
#E1D5E7 (purple) | #333333 | External |
#F5F5F5 (gray) | #333333 | Containers |
#08427B (C4 blue) | #FFFFFF | C4 person |
#438DD5 (C4 mid) | #FFFFFF | C4 system |
#1B1B1B (dark) | #FFFFFF | Dark mode |
#143642 (blueprint) | #DADADA | Blueprint |
When critique finds issues, apply these automatic fixes:
| Issue | Fix |
|---|---|
Missing rounded=1 on edge | Add rounded=1;jettySize=auto; to edge style |
Missing shadow=1 on shape | Add shadow=1; to vertex style |
| Missing layers | Add <mxCell id="layer-notes" value="Annotations" parent="0"/> |
background not set | Add background="none" to <mxGraphModel> |
No html=1 on labeled shape | Add html=1; and wrap value in <b> tags |
| Sharp edge corners | Add rounded=1; to edge style |
| Thin primary edges | Add strokeWidth=2; to primary flow edges |
| No title | Add text cell on annotations layer |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub thelobbi/claude --plugin drawio-diagramming15 skills in this plugin
/agentic-patternsPatterns from "Agentic Design Patterns" (Gulli & Sauco, 2025) applied to AI-powered diagram generation and multi-platform embedding/ai-generationAI-Powered Diagram GenerationAI-powered diagram generation using draw.io's built-in AI features and LLM integration/conditional-formattingConditional Formatting and Data-Driven DiagramsData-driven conditional formatting, live data binding, and dynamic diagram updates for draw.io/data-structuresData Structure DiagramsComputer science data structure visualization in draw.io — arrays, linked lists, trees, graphs, hash tables, heaps, stacks, queues/desktop-integrationdraw.io Desktop Integrationdraw.io desktop app integration for Claude Code — OS detection, editor paths, CLI export, file watching, and iterative AI+human workflows/diagram-catalogMaster Diagram Reference CatalogMaster reference catalog of 190+ diagram types organized by category with selection guide, complexity ratings, stencil references, and XML examplesOther plugins' skills for the same job