/vault-design:html-artifactsfrom vault-design
Build a single self-contained, interactive HTML artifact and pop it open in the browser. Covers reports, slide decks, flowcharts/diagrams, design systems, component sheets, clickable prototypes, animation sandboxes, code-review / PR writeups, module maps, research explainers, status / incident reports, and throwaway editor UIs (triage board, feature-flag toggler, prompt tuner). Reach for this WHENEVER the user wants to SEE something instead of reading prose about it — phrases like "make an HTML page/artifact", "build me a deck / report / diagram / mockup / dashboard / prototype", "show me this as a webpage", "visualize this", "render this", "pop it open / 弹开看看", "做成一页 HTML", or any time the answer lands better as a spatial, interactive page than as markdown. Output is one self-contained .html saved to ~/.claude/artifacts/ and opened in the browser, styled with the Claude editorial design system and modeled on the bundled reference/*.html pattern library ("the unreasonable effectiveness of HTML"). NOT for shippable production UI / React components, and NOT a replacement for /talk-html when the user specifically wants a shareable gist recap link.
Trending skills
7-day visitors to each skill page
Ships in vault-design. 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.
Markdown flattens things that are inherently spatial or interactive: a diff, a
module graph, a set of design options, a four-screen flow, a 30-ticket backlog.
A single self-contained HTML file renders them as themselves — the human
reacts to the thing instead of imagining it from a description. That tighter
feedback loop is the whole point. This skill builds that file, drops it in
~/.claude/artifacts/, and pops it open.
The bundled reference/*.html is a library of 20 worked examples (from Thariq
Shihab's "The unreasonable effectiveness of HTML"). They are the source of truth
for how good these should look and feel — read the one closest to the task
before writing, then adapt. Don't reinvent; the references already solved
layout, interaction, and polish for each genre.
Skip it for: production UI / React components (build those for real), pure data
files, or when the user explicitly wants /talk-html to publish a shareable
gist recap.
Pick the genre → open the matching reference. Map the request to a row in
the index, then actually Read that reference/<file>.html. It shows the
layout, the interaction model, and the quality bar to match.
Build ONE self-contained .html. Everything inline — no CDN fonts, no
external scripts, no build step. Vanilla HTML + CSS + a little JS; inline
<svg> for diagrams. It must open correctly from a file:// path with no
network. Use the house design system below.
Save to ~/.claude/artifacts/ and pop it open. Use the helper (it ships
inside this skill's own folder — adjust the path to wherever this skill is
installed; in this repo that is .kilo/skills/html-artifacts/):
bash <this-skill-dir>/scripts/open-artifact.sh <slug> [source.html]
It writes ~/.claude/artifacts/<slug>.html (from a file arg or stdin),
opens it in the default browser, and prints the absolute path. Then tell the
user the path. Reuse-friendly slugs: status-report-w24, deploy-flowchart,
triage-board. Add a date suffix (-2026-06-29) when versions matter.
Every file is a full, self-contained example. Read the closest match before
building. Live versions: https://thariqs.github.io/html-effectiveness/<file>.
| # | reference file | build this when you need… |
|---|---|---|
| 01 | 01-exploration-code-approaches.html | Three code approaches side-by-side, trade-offs called out inline — for "which way should we solve this?" |
| 02 | 02-exploration-visual-designs.html | Visual design directions — a few layout/palette options rendered live so the user reacts instead of imagining. |
| 16 | 16-implementation-plan.html | Implementation plan to hand off — milestone timeline, data-flow diagram, inline mockups, the risky code, a risk table. |
| # | reference file | build this when you need… |
|---|---|---|
| 03 | 03-code-review-pr.html | Annotated pull request — a diff with margin notes, severity tags, jump links. Scans better than a terminal. |
| 17 | 17-pr-writeup.html | PR writeup for reviewers — author's side: motivation, before/after, file-by-file tour with the why, where to focus. |
| 04 | 04-code-understanding.html | Module map — an unfamiliar package as boxes + arrows, hot path highlighted, entry points listed. |
| # | reference file | build this when you need… |
|---|---|---|
| 05 | 05-design-system.html | Living design system — colors, type scale, spacing tokens as copy-able swatches. |
| 06 | 06-component-variants.html | Component variants — every size / state / intent of one component on a single review sheet. |
| # | reference file | build this when you need… |
|---|---|---|
| 07 | 07-prototype-animation.html | Animation sandbox — a transition in isolation with duration / easing sliders to tune before wiring in. |
| 08 | 08-prototype-interaction.html | Clickable flow — a few screens linked together; enough fidelity to feel whether the interaction is right. |
| # | reference file | build this when you need… |
|---|---|---|
| 10 | 10-svg-illustrations.html | SVG figure sheet — diagrams for a post, drawn inline so each can be tweaked and copied out. |
| 13 | 13-flowchart-diagram.html | Annotated flowchart — a pipeline as a real flowchart; click a step for what runs, timings, failure paths. |
| # | reference file | build this when you need… |
|---|---|---|
| 09 | 09-slide-deck.html | Arrow-key slide deck — a short presentation as one HTML file, ←/→ to navigate, no build step. |
| # | reference file | build this when you need… |
|---|---|---|
| 14 | 14-research-feature-explainer.html | "How a feature works" — TL;DR box, collapsible request-path steps, tabbed config snippets, FAQ. |
| 15 | 15-research-concept-explainer.html | Concept explainer — a concept taught with a live interactive widget, a comparison table, a hover-linked glossary. |
| # | reference file | build this when you need… |
|---|---|---|
| 11 | 11-status-report.html | Weekly status — what shipped, what slipped, a small chart, formatted for a Monday skim. |
| 12 | 12-incident-report.html | Incident timeline — post-mortem with a minute-by-minute timeline, log excerpts, follow-up checklist. |
| # | reference file | build this when you need… |
|---|---|---|
| 18 | 18-editor-triage-board.html | Ticket triage board — drag tickets across Now / Next / Later / Cut, then copy the ordering out as markdown. |
| 19 | 19-editor-feature-flags.html | Feature-flag editor — toggles grouped by area, dependency warnings, a "copy diff" button for changed keys. |
| 20 | 20-editor-prompt-tuner.html | Prompt tuner — editable template with highlighted variable slots; sample inputs re-render live as you type. |
The references share one look: warm ivory paper, a clay accent, serif display
headings over a sans body, mono for labels and code. Reusing it makes new
artifacts feel native. Drop this in <head> and build on it:
<style>
:root{
--ivory:#FAF9F5; --paper:#FFFFFF; --slate:#141413;
--clay:#D97757; --clay-d:#B85C3E; --oat:#E3DACC; --olive:#788C5D;
--g100:#F0EEE6; --g200:#E6E3DA; --g300:#D1CFC5; --g500:#87867F; --g700:#3D3D3A;
--serif:ui-serif,Georgia,"Times New Roman",Times,serif;
--sans:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
--mono:ui-monospace,"SF Mono",Menlo,Monaco,Consolas,monospace;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--ivory);color:var(--slate);font-family:var(--sans);
line-height:1.55;-webkit-font-smoothing:antialiased}
.wrap{max-width:1120px;margin:0 auto;padding:0 32px 140px}
h1,h2,h3{font-family:var(--serif);font-weight:500;letter-spacing:-.018em}
h1{font-size:clamp(38px,5.4vw,62px);line-height:1.06}
h1 em{font-style:italic;color:var(--clay)}
.eyebrow{font-family:var(--mono);font-size:12px;letter-spacing:.12em;
text-transform:uppercase;color:var(--g500)}
code,kbd,.mono{font-family:var(--mono)}
a{color:var(--clay)}
</style>
Type roles: serif = display headings (italic + clay for emphasis);
mono = eyebrows, labels, tags, code, numbers; sans = body. The clay
#D97757 is the only loud color — use it sparingly for the one thing the eye
should land on. Greys (--g100…g700) carry structure.
file:// with fonts, styles, scripts, and SVG all inline. This is why the
user can keep it, mail it, and reopen it next month.~/.claude/artifacts/<slug>.html (the dir already exists).open + prints the path:
# from an existing file:
bash <this-skill-dir>/scripts/open-artifact.sh deploy-flowchart /tmp/draft.html
# or pipe content in:
cat <<'HTML' | bash <this-skill-dir>/scripts/open-artifact.sh status-report-w24
<!doctype html>...
HTML
file://). Inline it.~/.claude/artifacts/, or forgetting to
open it. The user expects it on screen.The 20 reference/*.html files are from
ThariqS/html-effectiveness
("The unreasonable effectiveness of HTML"), © 2026 Anthropic PBC, Apache-2.0,
bundled here unmodified with their original per-file copyright headers. See
NOTICE. The skill scaffolding is © 2026 Liu Shiyu, Apache-2.0 (LICENSE).
LICENSE (opens in a new tab)NOTICE (opens in a new tab)reference/01-exploration-code-approaches.html (opens in a new tab)reference/02-exploration-visual-designs.html (opens in a new tab)reference/03-code-review-pr.html (opens in a new tab)reference/04-code-understanding.html (opens in a new tab)reference/05-design-system.html (opens in a new tab)reference/06-component-variants.html (opens in a new tab)reference/07-prototype-animation.html (opens in a new tab)reference/08-prototype-interaction.html (opens in a new tab)reference/09-slide-deck.html (opens in a new tab)reference/10-svg-illustrations.html (opens in a new tab)reference/11-status-report.html (opens in a new tab)reference/12-incident-report.html (opens in a new tab)reference/13-flowchart-diagram.html (opens in a new tab)reference/14-research-feature-explainer.html (opens in a new tab)reference/15-research-concept-explainer.html (opens in a new tab)reference/16-implementation-plan.html (opens in a new tab)reference/17-pr-writeup.html (opens in a new tab)reference/18-editor-triage-board.html (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 yhyu13/agentskillsvault --plugin vault-design16 skills in this plugin
/anatomyBuild crafted, highly detailed, interactive isometric SVG figures that explain a technical idea as a real physical object (a test rig, a dial gauge, a cabinet of drawers, a plotter, a lock), with many small precise solid parts, four-tone shading, correct painter's order, a framed card with title, hint and live readout, and calm eased motion. Use this whenever someone wants an isometric illustration, an explanatory diagram or figure for docs, a blog post, a landing page or an article, a "Linear-style" or "premium" technical drawing, an interactive explainer, or an SVG that shows how a system, algorithm or component works, even if they never say "isometric". Works framework-free (TypeScript/JS that writes SVG and HTML) and in React/Next.js, and can add realistic WebGL shaders (fire, exhaust, water, caustics, lamp light) that live inside the drawing in the same isometric perspective. Also publishes a finished figure to the Anatomy community gallery when asked./brand-docxWord documents (.docx) only. Brand-aware Word engine. Use to (1) EXTRACT a company's brand from a Word template into a reusable "Brand Profile", (2) COMPREHEND the template with the model (optional), (3) VERIFY it, (4) GENERATE new on-brand .docx documents FROM a saved profile. Trigger on "extract our brand", "learn/match this template", "use our brand kit", "generate a branded report from our profile", or when a ./brand-kit exists. For one-off Word edits with NO saved brand profile, use the docx skill instead. NOT for .pptx (brand-pptx), .xlsx (brand-xlsx), or PDFs. Not for PowerPoint or Excel files - use brand-pptx or brand-xlsx./brand-pptxPowerPoint decks (.pptx) only. Brand-aware PowerPoint engine. Use to (1) EXTRACT a company's brand from a .pptx template into a reusable "Brand Profile", (2) COMPREHEND the template with the model (optional), (3) VERIFY it, (4) GENERATE a new on-brand .pptx from an IntermediateDocument. Trigger on "extract our brand", "use our deck template", "generate a branded deck from our profile", or when a ./brand-kit exists. For one-off slide edits with no saved brand profile, use the normal pptx skill instead. NOT for .docx (brand-docx), .xlsx (brand-xlsx), or PDFs. Not for Word or Excel files - use brand-docx or brand-xlsx./brand-xlsxExcel workbooks (.xlsx) only. Brand-aware Excel engine. Use to (1) EXTRACT a company's brand from a .xlsx template into a reusable "Brand Profile", (2) COMPREHEND the template with the model (optional), (3) VERIFY it, (4) GENERATE a new on-brand .xlsx from a GridDocument fill manifest. Trigger on "extract our brand", "use our workbook template", "generate a branded workbook from our profile", or when a ./brand-kit exists. For one-off spreadsheet edits with no saved brand profile, use the normal xlsx skill instead. NOT for .docx (brand-docx), .pptx (brand-pptx), or PDFs. Not for Word or PowerPoint files - use brand-docx or brand-pptx./cookRuns the Cook Loop for ambitious visual builds that must match reference images, screens or videos through long autonomous iteration. Use it for 3D worlds made in code (three.js, WebGL, shaders), code-rendered films, launch and motion videos, games and polished UI that must hold up next to references, especially runs of many hours or days while the user is away. Trigger when the user types /cook or $cook, says "cook", "go cook", "let it cook", "iterate until it matches", "match the references", "99%", "99.9%", "9/10 minimum" or "at least 8h", or attaches reference images and asks for a recreation in code. It runs one intake, then loops build, stills, zero-context critics and fixes against a numeric bar, and holds the final render until the user approves. Do not use it for a small edit, a one-screen tweak, a task with no references and no numeric bar, or any job the user capped under 2 hours./hands-on-deckModify an EXISTING .pptx. Use this skill any time a .pptx file is involved in any way — as input, output, or both. This includes reading, analyzing, or extracting content from presentations; editing text, images, styles, or layout of existing decks; creating new slides, shapes, tables, or pictures; reordering, duplicating, or merging slides across decks; and verifying decks visually. Trigger whenever the user mentions a deck, slides, a presentation, or a .pptx filename. Not for creating a new deck from scratch - use pptx.