Diagrams
Choose a visual model only when it explains a relationship more clearly than the surrounding text.
Diagram choice and appearance
Why
A content-source diagram and a directory tree answer different questions. Consistent colors and a small scope keep either view legible in a copied reference pack.
Rules
MUST select the diagram form according to the relationship being explained.[review]
MUST apply the Catppuccin Mocha palette to Mermaid output.[review]
MUST style semantic classes such assource,core, andstorage, rather than default classes or per-node overrides.[review]
MUST shorten labels and split views that exceed the table's target sizes.[review]
MUST explain the distinction when solid and dashed connections share a diagram.[review]
MUST omit activation boxes and mirrored actors from sequence diagrams.[review]
MUST use verbs to describe ER relationships.[review]
MAY show a directory layout as a fenced text tree.[review]
Example
[review]
Markdown formatting and installed-link tests cover their configured contracts. Rendered inspection and review establish diagram readability, palette, and semantic classes.
Enforcement
Markdown formatting and installed-link tests cover their configured contracts. Rendered inspection and review establish diagram readability, palette, and semantic classes.