Skip to content

Editorial diagram design for Claude Code, Codex, GitHub Copilot, Cursor, Factory Droid, Qoder, and Pi. 45 diagram types. Self-contained HTML + SVG. No shadows. No Mermaid slop.

docs(agents): add the new-type checklist agents keep missing (#462)

Cathryn Lavery1c8a664551fc
diff --git a/AGENTS.md b/AGENTS.md
new file mode 100644
index 0000000..1e6c343
--- /dev/null
+++ b/AGENTS.md
@@ -0,0 +1,24 @@
+# Notes for coding agents
+
+Read [CONTRIBUTING.md](CONTRIBUTING.md) before changing anything. It has the gate suite and the rules for each kind of change. This file covers the parts of adding a diagram that agents keep missing.
+
+## Adding a diagram type or variant
+
+Follow "Adding a new diagram type" in CONTRIBUTING.md. The suite fails until these are done:
+
+- **Gallery.** Register every example in `skills/diagram-design/assets/index.html`. A new type gets the next number. Any other example of an existing type is a lettered variant: it goes directly after its parent with `data-parent-type` and a lettered eyebrow (`28c`). GitHub Pages publishes `skills/diagram-design/assets/` when the PR merges, so the live gallery needs no separate step.
+- **Type count (new type).** Raise `VISUAL_TYPE_COUNT` in `scripts/verify-docs-sync.py` and `scripts/verify-semantic-motion.py`, and the hardcoded count in `scripts/verify-screenshot-freshness.py` and `scripts/render-canonical-screenshots.py`. Then fix every count the suite reports: the README, SKILL.md, CONTRIBUTING, `onboarding.md` and `semantic-patterns.md`, plus a new amendment in ADR 0002.
+- **Plugin manifests.** Keep `description` and `keywords` identical across `.claude-plugin`, `.codex-plugin`, `.factory-plugin` and `.qoder-plugin`. A type whose selection-table name differs from the word used in the descriptions needs a `DESCRIPTION_ALIASES` entry in `verify-docs-sync.py`. Leave `version` alone; main bumps it after merge (ADR 0009).
+
+Nothing checks these, so do them in the same PR:
+
+- **README thumbnail (new type).** Run `scripts/render-canonical-screenshots.py`, add the cell with its full-size PNG link to the grid under "What it makes", then run `scripts/build-readme-thumbs.py`; it only builds thumbnails for PNGs the README already links. Update "01 to N" in the gallery sentence below the grid.
+- **README named variants.** Line, Scatter and Treemap have named variants (slopegraph, bubble, marimekko and others). A new one goes in the "Several types have named variants" line.
+- **README file tree (new type).** Add the new `type-*.md` to the tree under "Architecture", sorted by type name.
+- **Layout budget (new type).** Add the type's row to the complexity budget table in `skills/diagram-design/references/layout-budget.md`.
+
+Run every command in `gates.local_commands` of `.maintainer-policy.json` before you push.
+
+## After a new type merges
+
+The type count also appears in three places outside this repo: the GitHub About description, Cathryn's profile README (`cathrynlavery/cathrynlavery`) and diagramdesign.dev. No check covers them. If you are working for the maintainer, tell her the new count so she can update all three.
diff --git a/CLAUDE.md b/CLAUDE.md
new file mode 100644
index 0000000..43c994c
--- /dev/null
+++ b/CLAUDE.md
@@ -0,0 +1 @@
diff --git a/README.md b/README.md
index 70a2f5b..8e96c92 100644
--- a/README.md
+++ b/README.md
@@ -335,7 +335,7 @@ Exploded axonometric draws one object in 2:1 dimetric projection with its parts
Axonometric plan uses the same projection for one floor or one site: walls cut at desk height so every room reads from a single view, or buildings on a campus tagged by build phase. See the [office floor](skills/diagram-design/assets/example-axonometric-plan.html), the [campus](skills/diagram-design/assets/example-axonometric-plan-campus.html), the [coffee shop](skills/diagram-design/assets/example-axonometric-plan-coffee-shop.html), the [fulfillment floor](skills/diagram-design/assets/example-axonometric-plan-warehouse.html), the [phased campus animation](skills/diagram-design/assets/example-axonometric-plan-campus-animated.html), and the [reference](skills/diagram-design/references/type-axonometric-plan.md).
-**Browse the live gallery:** [cathrynlavery.github.io/diagram-design](https://cathrynlavery.github.io/diagram-design/), or open [`skills/diagram-design/assets/index.html`](skills/diagram-design/assets/index.html) locally to flip through every diagram with light / dark / full-editorial tabs. Each type has one number, 01 to 44; its variants and worked examples carry the same number with a letter. The searchable diagram navigation starts open; click the preview to collapse it and use **Diagrams** to reopen it. The active diagram name and variant controls stay visible.
+**Browse the live gallery:** [cathrynlavery.github.io/diagram-design](https://cathrynlavery.github.io/diagram-design/), or open [`skills/diagram-design/assets/index.html`](skills/diagram-design/assets/index.html) locally to flip through every diagram with light / dark / full-editorial tabs. Each type has one number, 01 to 45; its variants and worked examples carry the same number with a letter. The searchable diagram navigation starts open; click the preview to collapse it and use **Diagrams** to reopen it. The active diagram name and variant controls stay visible.
---
@@ -602,6 +602,7 @@ diagram-design/
│ │ ├── type-sankey.md
│ │ ├── type-scatter.md
│ │ ├── type-sequence.md
+│ │ ├── type-service-blueprint.md
│ │ ├── type-state.md
│ │ ├── type-story-map.md
│ │ ├── type-swimlane.md