一键导入
artifact-explainer
Instructions for creating explainer artifacts with numbered-step or section walkthrough structures from the built-in template
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Instructions for creating explainer artifacts with numbered-step or section walkthrough structures from the built-in template
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Instructions for creating dashboard artifacts with KPI tiles, chart specifications, and breakdown tables from the built-in template
Instructions for creating sortable and filterable data-table artifacts from the built-in template
Instructions for creating long-form report artifacts with a masthead, table of contents, structured sections, and optional appendix from the built-in template
Guided setup and customization workflow for auto mode environment context, optional rule carve-outs, and settings updates
Shared /code-review finder-angle block covering line-by-line diff scanning, removed-behavior auditing, and cross-file tracing
Template for medium and high inline code-review prompts that run eight finder angles, deduplicate without verification, and enforce a minimum findings target
| name | artifact-explainer |
| description | Instructions for creating explainer artifacts with numbered-step or section walkthrough structures from the built-in template |
| metadata | {"originalName":"Skill: Artifact explainer","ccVersion":"2.1.206","sourceUrl":"https://github.com/Piebald-AI/claude-code-system-prompts/blob/main/system-prompts/skill-artifact-explainer.md","source":{"owner":"Piebald-AI","repo":"claude-code-system-prompts","ref":"main","path":"system-prompts/skill-artifact-explainer.md"}} |
Teaching-oriented layout: a lede that states what the reader will learn, followed by numbered steps that each pair a short prose explanation with a visual — usually a diagram, sometimes a code block or annotated example — ending with a recap.
template.html from this skill's base directory (listed above).<!-- SLOT: ... --> marker with real content — the comment inside each slot describes what goes there. Each slot also carries placeholder text after the comment (sample headings, sample steps, sample sentences); replace that text too — removing the comment markers alone leaves the placeholders in the published page.SLOT markers left, no placeholder text left.Artifact tool.Creation only. When editing an existing explainer artifact, work with its current HTML directly — don't re-read or re-apply this template.
The template's body offers two structures — keep one, delete the other (and its wrapper):
| Slot | What to fill in |
|---|---|
TITLE | What's being explained, phrased as the question the reader has — e.g. "How does a Bloom filter work?" The title appears in two places: the <title> tag near the top (it becomes the browser-tab title) and the <h1> in the header — fill both. |
LEDE | Two or three sentences: what the reader will understand by the end, and why it matters. |
STEPS | Steps flavor: one <li class="step"> per concept or stage. Each step has a heading, 1–3 short paragraphs of prose, and a .visual block — usually an inline SVG diagram; sometimes a <pre> code example or an annotated snippet. Keep each step to one idea. A step may end with an optional <p class="callout"> aside — a gotcha, an analogy, or a pointer onward. |
SECTIONS | Sections flavor: 2–7 <section class="topic"> blocks, cut at the material's joints — group related material rather than splitting mechanically. Each has an <h2>, short prose, and .visual blocks that are usually code snippets; optionally open the whole flavor with one wide architecture diagram. The callout aside works here too. |
RECAP | A short bulleted list restating the core takeaways in the reader's new vocabulary. |
<pre> code block or a small table alone only when the concept is genuinely symbolic (syntax, exact values, comparisons) — there, the code itself teaches better than a diagram drawn around it; when both help, pair a diagram with a short code example in the same step. (The sections flavor inverts this balance — see Flavor above.) Code belongs in <pre>, not as text inside an SVG.viewBox and no width/height attributes — the template scales it.var(--accent) in a style attribute; var() fails silently in bare SVG attributes — only on what the current step focuses on. Keep it identical across steps so the diagrams read as one picture evolving, not a new drawing each time.style attributes — never a hardcoded hex, named color, or white/black anywhere in an SVG: var(--ink) for text and strokes, var(--ink-soft) for secondary labels, var(--accent) for emphasis, var(--card) (or none) for box interiors, var(--bg) where a shape must match the page. The page renders in light or dark depending on the viewer; any fixed color breaks in one of the two — near-black text vanishes on dark, light box fills glare on it.role="img" and an aria-label stating what it shows.<!DOCTYPE>/<html>/<head>/<body> wrapper. The Artifact tool adds its own skeleton at publish time..visual block is a free-form container: put whatever best illustrates that step (SVG, code, a small table). There is no bundled renderer — author the visual directly.--accent in the :root block toward the subject if a different hue reads better.