visual-diagram
Skill2 starsChanged 22 days agoMITView on GitHub
Use when a figure shows a process or a structure: an md-deck flow or columns, or an article diagram or cover. Reading order, short labels, a corner index outside the name, an ordinary dashed edge, one gap emphasis (style=gap), a dashed quieter card, content-height compare cards, split complex branches, and a text equivalent. Palette lives in visual-color. Markup lives in md-deck. Do not put customer names or subject claims here.
In this repository14 other files it gives its agents.
- AGENTS.mdAGENTS.md
- confluence-operationsSkill
- devto-articleSkill
- download-website-to-markdownSkill
- english-tech-blog-structureSkill
- linkedin-articleSkill
- llm-evaluationSkill
- md-deckSkill
- pdf-to-markdownSkill
- repo-security-auditSkill
- sales-agentSkill
- threat-model-attack-reviewSkill
- visual-colorSkill
- zenn-articleSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 9 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 25
Read left to right, then top to bottom.
- Distinctive: line 26
Use few shape types. Keep lines from crossing or overlapping.
- Distinctive: line 27
Do not carry meaning by colour alone.
- Distinctive: line 28
Prefer a short node label on a new diagram.
- Distinctive: line 32
Keep each label next to what it names.
- Distinctive: line 35
Put a missing hand-off on the connection where it happens: the same dashed link, with the annotation on that link, plus the gap colour from …
- Distinctive: line 38
When a box stands for something that lives somewhere (evidence, data, documents), say where.
- Distinctive: line 39
Put important information in the text as well as in the figure.
- Distinctive: line 56
Not part of the source list above.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Visual diagram
Authoring rules for a process or structure figure, on a slide or in an article. This skill does not ship CSS. It is independent of any one deck, article, or subject.
Palette: visual-color. Slide markup: md-deck.
When to use
- An md-deck
::: flowor::: columnsthat shows a process or a comparison - An article diagram or cover that shows steps, a branch, or a structure
Principles
- Read left to right, then top to bottom. Show a clear start.
- Use few shape types. Keep lines from crossing or overlapping.
- Do not carry meaning by colour alone. Pair a colour with a label or a shape.
- Prefer a short node label on a new diagram. When a branch gets hard to follow, split it into more than one diagram.
- When rebuilding a figure from a transcript or other source, the source wording wins over a length cap. Wrap with a newline. Do not cut a sentence, and do not drop a note or a side arrow, only to meet a cap such as ≤12. On an md-deck label the newline is
\n. - Centre the figure as one group. Put a box that relates to one other box directly under or beside it.
- Draw an arrow straight when its two ends line up. Every arrow needs a visible shaft; an arrowhead alone reads as a triangle.
- Keep each label next to what it names. Do not repeat the same words as a group label and an arrow label.
- Put a step number outside the name. On a slide that is a leading circled digit with a real title (
① Intake), or{1}/{①}. A word badge such as{draft}or{v1}stays with the name. A title that is only the circled digit stays the name. ASCII digits inside the title are not an index. One index per box. - Draw a secondary or optional connection as one ordinary dashed link. That stroke uses the arrow colour from visual-color.
- Put a missing hand-off on the connection where it happens: the same dashed link, with the annotation on that link, plus the gap colour from visual-color. One gap emphasis. Other connections stay solid, or stay ordinary dashes. Draw the gap as that link.
- A quieter compare card uses a dashed outline on that card, and may also be muted. The outline follows the dashed-outline tokens (darker and thicker than the card border). A dashed card outline and a dashed flow edge are different marks.
- In a compare, keep each card at content height. Stretch the row only when the layout asks to fill. Do not thin the body copy to make the row look dense.
- When a box stands for something that lives somewhere (evidence, data, documents), say where.
- Put important information in the text as well as in the figure. The diagram is not the only copy of a fact.
- In an article, add a linear equivalent in reading order: a list or headings.
How consumers apply
- md-deck. Keep the generator recipes in md-deck:
::: columns panelfor a 2-box compare,::: flow widefor a 3-step row, a branch as separate edges into a stack, a corner index (① Nameor{1}/{①}) orsteps, an ordinary dashed link (..>or-.[label].->, arrow colour), one gap emphasis ([style=gap]on that dashed link), and## Quiet {.dashed}for a quieter card. Markup: DIAGRAMS.md. Do not invent a new diagram language. - Articles. Draw the same reading order, the same short labels, one index outside the name, an ordinary dash in the arrow colour, one gap emphasis in the gap colour, and a dashed outline on a quieter card. Keep compare cards at content height. Follow the figure with the list or headings that restate it.
Sources
- Diagram design (ONS Service Manual) — primary: reading order, a clear start, few shapes, lines that do not overlap.
- Digital Agency design system: images — do not convey critical information by the image alone.
- Charts and flowcharts (UMass Dartmouth) — give a flowchart a text equivalent.
- Flowchart accessibility (MNIT) — split a complex flow; provide an alt or text version.
Related
Not part of the source list above.
- IEICE WIT presentation guidelines — delivery checklist for a spoken presentation.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

