SKILL.md
DOT Quality Standards
Overview
Every DOT diagram makes structural claims. Those claims must be verifiable, complete, and unambiguous. Quality enforcement ensures diagrams communicate correctly — not just render correctly.
Core principle: A diagram that renders without errors can still be wrong. Structural claims require titles, color requires legends, and shapes must match their semantic meaning.
The Iron Law
NO DIAGRAM WITHOUT A TITLE, NO COLOR WITHOUT A LEGEND
These are not suggestions. A diagram without a title is anonymous — reviewers cannot reference it. A diagram with unexplained color is ambiguous — different readers draw different conclusions.
Quality Checklist
Must Have — FAIL if missing
- Graph has a
label=attribute set to a meaningful title -
labelloc=tis set (title appears at top, not bottom) - Every node has either a meaningful ID or an explicit
label= - All edges convey accurate relationships (not aspirational or assumed)
Should Have — WARN if missing
-
rankdiris set explicitly (LR, TB, BT, or RL) — don't rely on defaults - Default node and edge attributes are declared at the top with
node [...]andedge [...] - Shape vocabulary is consistent with the shape-meaning table below
- If any color is used, a subgraph documents all colors used
