agentleFS
yohei1126yohei1126/agent-skills/visual-diagram/SKILL.md

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.

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
  1. Distinctive:

    Read left to right, then top to bottom.

    line 25
  2. Distinctive:

    Use few shape types. Keep lines from crossing or overlapping.

    line 26
  3. Distinctive:

    Do not carry meaning by colour alone.

    line 27
  4. Distinctive:

    Prefer a short node label on a new diagram.

    line 28
  5. Distinctive:

    Keep each label next to what it names.

    line 32
  6. Distinctive:

    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 …

    line 35
  7. Distinctive:

    When a box stands for something that lives somewhere (evidence, data, documents), say where.

    line 38
  8. Distinctive:

    Put important information in the text as well as in the figure.

    line 39
  9. Distinctive:

    Not part of the source list above.

    line 56

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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 ::: flow or ::: columns that 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 panel for a 2-box compare, ::: flow wide for a 3-step row, a branch as separate edges into a stack, a corner index (① Name or {1} / {①}) or steps, 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

Related

Not part of the source list above.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.