/excalidraw-pages:excalidraw-pagefrom excalidraw-pages
Generate self-contained HTML pages in a fixed Excalidraw-style design system — warm paper background, ink text, hand-drawn Mermaid diagrams (rough/sketch look), wobbly sketch-border cards, marker highlights, hand-written headings, status pills, wireframe boxes, phase timelines, and a sticky section TOC. The design is locked; only the content changes. Use this whenever the user asks for a plan page, rewrite plan, architecture doc, design review, proposal, project recap, or any visual HTML explainer in a "sketch", "whiteboard", "hand-drawn", "excalidraw", or "x-cali" style — and whenever they say "like the CMD plan page" or "the usual plan design". Prefer it over ad-hoc styling any time a planning/architecture document needs to ship as a polished HTML page.
Ships in excalidraw-pages. 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.
Produce documents that look hand-drawn on paper but behave like a polished web page: interactive zoomable diagrams, sticky navigation, light/dark support, zero external build steps. One file in, one file out.
assets/template.html (next to this
file). Copy it to the output location — ~/.agent/diagrams/<descriptive-name>.html
unless the user asks for a different path — and edit the copy. Never write the page
from memory: the template is the design system, and retyping it drifts.<div class="main"> is placeholder demo
content. Replace it with the real document. Update the <title>, the h1, the
.subtitle, and the TOC links. The blocks marked DESIGN CORE (the <style> block
and both <script> blocks) stay byte-identical..sec-head with id="s1"…"sN" plus a
.sec-sub intro line; the TOC (nav.toc, first child of .wrap) carries one link
per section with matching href="#sN". Fewer than 4 sections → delete the TOC
entirely (it adds clutter below that).references/components.md for copy-paste markup
of every component and its usage rules.open <path> on macOS) and report
the path.The whole point of this skill is that every page looks like it came from the same sketchbook. Treat the following as fixed:
--bg + ink --text with the five Excalidraw accents
(blue/red/green/orange/violet) and a yellow --marker. Light and dark are both
defined; never hardcode colors that bypass the variables.border-radius pairs on
.sk / .sk.alt / .mermaid-wrap — don't straighten them, and alternate
.sk / .sk.alt between neighboring cards so borders don't repeat.look: 'handDrawn', ELK layout, and a theme wired to
the palette — already configured in the DESIGN CORE script. Flowchart,
sequenceDiagram, gitGraph, and erDiagram all render pre-themed.fadeUp entrances via --i, and
prefers-reduced-motion respect.data-a="…" on cards and .callout--… / .st-… / .tag--… variants..tag chips to mark process ownership (🤖 agent / ✋ human / ⚙ deterministic) and
model names — put the legend near the top when tags are used..mk marker highlights are for the handful of phrases the reader must remember —
more than ~2 per section and they stop working.<details> so
the page's hierarchy stays: overview and architecture dominate, reference collapses..chips — the first viewport
should make the main idea obvious.Duplicate the whole .diagram-shell section per diagram; only the
<script type="text/plain" class="diagram-source"> content changes. The init script
picks up every shell automatically — no per-diagram JS.
flowchart TD; use LR only for short linear flows.<br/> in quoted labels — never \n.style NODE fill:@violet-fill,stroke:@violet,color:@ink. Tokens (@blue, @blue-fill,
@red, @green, @orange, @violet, their -fill pairs, and @ink) are substituted
at render time for the active theme, so styled nodes stay readable when the user
toggles light/dark. Raw hex would freeze a node in one theme's colors..node — Mermaid owns that class internally.min-width: 0 (already on .main, .sk, .w-col) — keep it
when adding new grid content, or long code strings will blow the layout open..tbl-wrap (it provides the scroll container).references/components.md — the full component catalog: exact markup for hero,
cards, tags, chips, tables, status pills, callouts, diagram shells (all four diagram
types), wireframes, phase timeline, details/tree, checklist, footer, TOC rules.
Read it before composing a page for the first time in a session.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub rushyop/rushy-claude-plugins --plugin excalidraw-pages