Quality critique

From markus41/claude · View interactive version

Quality critique is an AI agent skill from the GitHub repository markus41/claude. Visual quality critique checklist for draw.io diagrams — run before writing any .drawio file

How to use this skill

Skill file

Diagram Quality Critique

Run this critique on every generated diagram XML BEFORE writing the file.

Fix all issues found before saving — do not write substandard diagrams.

Critique Checklist

1. Structure (must pass — blank file prevention)

2. Layout Quality

3. Edge/Connection Quality (critical — prevents ugly routing)

4. Visual Quality

5. Sophistication

6. Platform Compatibility

Contrast Reference

| 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 |

Auto-Fix Patterns

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 |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.