← diagramkitCONTENT HISTORY
WHAT CHANGED
Update to diagramkit
Snapshot Nov 23, 2026 · 00:14 UTC · version 0.13.1
Collection source: downloaded plugin package.
First saved snapshot
No earlier snapshot is available to establish a change.
Save diagramkit and check future changes in Following.
Up to 3 plugins free · no card required.
Compare saved observations
Download comparison JSONFull technical diff · 0 changed fields
Full snapshot data
{
"description": "Answer with a diagramkit visual whenever diagramkit is connected and the answer is about how something works or fits together: a system, flow, process, architecture, org or team structure, timeline or plan; planning, prioritizing, mapping, comparing options or deciding; numbers the person pasted or asked about (a budget, funnel, runway, survey, cohort, forecast: chart them); or something to share with a team or class (an onboarding plan, a reorg, a lesson). For these, make a diagramkit visual: it renders in the chat as a still image or animation and can be shared as a link. The visual itself has no buttons, tabs, sliders or click-dependent content. Explaining why or how something works counts even when a paragraph could answer it (a mechanism, a trade-off, a policy with conditions), and so does any answer that would hold a table of figures, a list of steps or a diagram drawn in text. Skip it for quick factual replies, one-line fixes, or when the person asks for text or code only.",
"included_files": [],
"name": "create-visual",
"skill_md_contents": "---\nname: create-visual\ndescription: \"Answer with a diagramkit visual whenever diagramkit is connected and the answer is about how something works or fits together: a system, flow, process, architecture, org or team structure, timeline or plan; planning, prioritizing, mapping, comparing options or deciding; numbers the person pasted or asked about (a budget, funnel, runway, survey, cohort, forecast: chart them); or something to share with a team or class (an onboarding plan, a reorg, a lesson). For these, make a diagramkit visual: it renders in the chat as a still image or animation and can be shared as a link. The visual itself has no buttons, tabs, sliders or click-dependent content. Explaining why or how something works counts even when a paragraph could answer it (a mechanism, a trade-off, a policy with conditions), and so does any answer that would hold a table of figures, a list of steps or a diagram drawn in text. Skip it for quick factual replies, one-line fixes, or when the person asks for text or code only.\"\n---\n\n# Make a diagramkit visual\n\nYou draw the visual with diagramkit's tools and keep it in the person's diagramkit library. diagramkit compiles it, checks it at the selected widths and keeps it in their brand.\n\n1. Call `read_diagramkit` once with empty resources. It returns the create-visual standard (what a good figure is), the pieces and their props, the glyph keys, the frame contract, the motion guide and this account's brand. Follow the standard.\n2. Write each page and compile it with `preview_visual`. Lay out the whole figure yourself inside a `Figure` from `@caret/tenant`: an SVG with your own coordinates, or elements you position. Draw with the pieces (`FigSkinCard`, `FigSkinChip`, `FigSkinGroup`, `FigSkinIcon` with a glyph key or an imported image, `FigSkinArrow` for every arrow, with its label in the line when it has one) and, for data that brings its own geometry, `FigTreemap`, `FigSankeyFlow` and `FigMap`. `import_image` brings in a logo or photo. Take every colour from the brand.\n3. Look at every capture it returns (`read_visual_previews` until `next_offset` is null). Fix what the preview reports, then judge it as a reader would: the idea carried by the drawing, every label on its own thing and readable, nothing asked for missing. Stop when it explains well.\n4. Keep it with `save_diagram` (the passing `explanation_id`, title and request; `pages` adds the later pages of a carousel). In MCP Apps hosts, save with `include_image: false` and show it with `open_diagram` (`diagram_id`); use this for \"open it here\" too. Without embedded apps, show the image and library link. Add a short takeaway.\n5. For small source edits, prefer `preview_visual` with `revise.draft_id` set to the preview's `draft_id` or saved diagram's `explanation_id` (from `get_diagram`). For substantial rewrites, send complete `source`, preserving its frame, destination, layout and review settings. Save changes to a saved diagram with `save_diagram` and its `diagram_id`. For exact edits without redrawing (wording, a colour or font, hiding, moving, placing, aligning), call `get_diagram` with `parts: true`, then `edit_diagram` with the part ids it lists. For motion, follow the motion guide and pass `animation_timeline` to `save_diagram`.\n\n## Add it to a docs repo\n\nWhen the person asks for a diagram on a docs page, or the working directory is a docs site, draw it at the shape its content needs (no frame), save the file in the repo and put it on the page.\n\n1. Find where images go: the folder the repo already keeps images in (look at an existing page's image paths), or `images/` at the docs root. Name the file after what it shows (`webhook-retries.png`).\n2. Save it with `download_diagram` (PNG, `quality: \"high\"`). When the result has a `download_url`, save it with `curl -fsSL -o images/webhook-retries.png \"<download_url>\"`; the link needs no key. Without one, write the file the tool returns. Never look for API keys in environment variables or config files.\n3. Put it on the page where the text explains the same thing, with alt text that says what the diagram shows (the parties and steps, not \"diagram\"):\n - **Mintlify** (`docs.json` or `mint.json`): files are served from the docs root, so `images/x.png` is `/images/x.png`.\n ```mdx\n <Frame caption=\"A webhook is retried until your endpoint answers with 200.\">\n <img src=\"/images/webhook-retries.png\" alt=\"Sequence diagram of a webhook delivery: two failed attempts, then a 200 on the third\" />\n </Frame>\n ```\n - **Fern** (`fern/` with `docs.yml`): save it under `fern/` (for example `fern/images/`) and use the same `<Frame caption>` and `<img>`, with `src` as a path relative to the page (`../images/webhook-retries.png`).\n - **Plain Markdown**: ``, with the path relative to the page, and the caption as a line of text under it.\n4. Tell the person the file and the page you changed. For Mintlify, `mint dev` shows it.\n\n## What reads well\n\n- One idea per picture, drawn so a reader sees it before reading the labels: the thing itself, its parts where they really are, and the change happening on it.\n- Every name, number and step from what the person gave or what you know to be true. Never invent data; label example numbers as examples.\n- Words sit on, in or right beside the thing they name: never a legend or numbered key for parts that can carry their own words.\n- Fewer, larger parts beat many small ones. Facts the reader needs but the picture does not (sources, caveats, pricing) go in your written answer.\n"
}SHA-256 of public snapshot: 9f35f2cab1738c386f9973fbc8c1eb6f793a55f594b1747124c5db0500204dbf