Visual quality critique checklist for draw.io diagrams — run before writing any .drawio file
From drawio-diagrammingnpx claudepluginhub markus41/claude --plugin drawio-diagrammingThis skill uses the workspace's default tool permissions.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Guides agent creation for Claude Code plugins with file templates, frontmatter specs (name, description, model), triggering examples, system prompts, and best practices.
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 |