/blueprint:diagram [what the figure shows]from blueprint
Makes standalone figures in Blueprint, publica.la's house style for engineering visuals, rendered to PNG and PDF. Use for system overviews, figures for customer documents and security reviews, spec sheets, social cards and 16:9 slides. Sequence, state and flow diagrams inside a doc whose site renders Mermaid stay in Mermaid.
Ships in blueprint. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You write a figure as a small HTML source, and the renderer turns it into a PNG. The style lives in one stylesheet, so every figure stays consistent and a style change reaches every figure on its next render.
Before the first figure, read ${CLAUDE_PLUGIN_ROOT}/references/blueprint.md for the look and the vocabulary, ${CLAUDE_PLUGIN_ROOT}/references/truth.md for what a figure may claim and name, and ${CLAUDE_PLUGIN_ROOT}/references/writing.md for its text.
Put the source next to the doc that uses it, as img/<name>.diagram.html. Start from the closest example in ${CLAUDE_SKILL_DIR}/examples/, and view its PNG first: layered (a system in layers), flow (steps left to right), card (a 1200x630 social card or cover) and video (a 16:9 slide built on numbers).
Render it. The PNG lands next to the source, at 2x. --pdf adds a PDF, for audits and printouts.
bun ${CLAUDE_PLUGIN_ROOT}/renderer/render.ts path/to/figure.diagram.html --pdf
The render fails, and writes nothing, when a check breaks. Its message names the element and the fix.
Look at the PNG (read it as an image) and go through "Checked by you". Render again until it passes.
Reference the PNG from the doc with alt text that says what the figure shows: .
Commit the source and the PNG together. The source is what the next person edits.
The renderer runs on Bun with Chrome or Chromium. It looks at CHROME_PATH, Playwright's browsers (PLAYWRIGHT_BROWSERS_PATH) and the usual install locations. Claude Code installs its two packages with the plugin. If a render fails on a missing package, run bun install --cwd ${CLAUDE_PLUGIN_ROOT} once.
Checked by the renderer:
split end at the same height.publica.la never renders in uppercase.quote or code.Checked by you:
examples/card.diagram.html (opens in a new tab)examples/card.png (opens in a new tab)examples/flow.diagram.html (opens in a new tab)examples/flow.png (opens in a new tab)examples/layered.diagram.html (opens in a new tab)examples/layered.png (opens in a new tab)examples/video.diagram.html (opens in a new tab)examples/video.png (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub publicala/claude-plugins --plugin blueprint2 skills in this plugin