Command Palette

Search for a command to run...

Назад к скиллам
скилл № 60658

explainer

Turns a system, flow, process, dataset or plan into a clear interactive diagram delivered as one self-contained HTML file: architecture and flow diagrams…

БесплатноЗапускает вложенные скрипты
overmentот overment★ 43 звезды на GitHub

Установить explainer в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Explainer

The reader is someone new to the system: a new teammate, a stakeholder, a reviewer. They need the model at a glance and the detail on demand. Without this skill, explanations become walls of text, or hand-drawn SVG where every box is styled differently. Arrows cross boxes, labels repeat what the arrow already says, and the diagram needs a paragraph of its own to decode.

You write a Markdown document with fenced data blocks. The engine places every part on a fixed grid, draws charts from your numbers, routes the connectors, and builds one HTML file with no network requests. You decide what to show. The engine decides how it looks, so don't fight it with styling.

Every page has two views: bare (diagrams and their interactions only) and full (plus the title, prose, a reading panel per figure, and the author's notes shown on the graph at once as numbered callouts). Readers switch with the controls; links and screenshots pick one with #view=bare|full. Design for bare first, and see references/writing.md for the text budget.

A click on any mark opens a card inside the figure: computed facts (rank, share, delta), the about text and named relations, placed so it never hides what was clicked. Shift-click compares two marks. The whole state (selection, comparison, hidden series, step, theme, view) lives in the URL, so shot captures exactly what a reader saw.

Workflow

  1. Read the real source. Code, configs, docs, the conversation. Never invent a component, call or rule to make a figure look complete. If a part is unknown, leave it out and say so.
  2. Plan, then say the plan. Pick a template (new --list) and a layout from the table below. In two or three lines, state the layout, the focal part, and what the budget forces out.
  3. Write the blocks, then the least prose that works. A title, one or two sentences of conclusion, then the diagram. No eyebrow, no summary, no "the figure shows". Names go on the canvas and meaning goes in about. Link every claim to the marks that prove it ([4,120 signups from organic search](#signups-organic-search), or #a+b to compare two). For the full view, add notes: (note 1 the focal fact, note 2 the pattern) and a caveat:; a story: plus a steps block walks the reader through. Syntax is in references/format.md and references/blocks/.
  4. Run check until it reports no errors. Fix each warning, or say why it's acceptable.
  5. Run build for a file, or watch while iterating with the user.
  6. Run audit before handing over. It catches overflow, overlaps, contrast and broken clicks that check can't see.
  7. Run shot when the user wants an image, or export when they want editable SVG.
  8. Report the output path, plus what you simplified, merged or cut to stay in budget, so the user can ask for it back.

Commands

bun <skill-dir>/scripts/explainer.ts <command> [args]

Needs Bun 1.4 or later and installs nothing. Only audit, shot, export and gallery need Chrome. They look at CHROME_PATH first, then the usual install locations. Set CHROME_PATH when Chrome isn't found.

Command What it does
new <template> <out.md> | new --list Copies a starter document. new --list lists the templates
build <doc.md> [-o out.html] [--theme name|path] [--mode light|dark] Writes the HTML file and prints its path, size and diagnostics. Exits 1 on errors
watch <doc.md> [--port 4646] [--theme name|path] [--mode light|dark] [--no-open] Serves the page and reloads it on every save
check <doc.md>... Lints without a browser. Prints file:line rule message
audit <doc.md|out.html>... [--state "sel=x&theme=dark"]... [--json] Runs headless Chrome checks in light and dark, bare and full, at rest and with the focal element, a related element and every front-matter shots: state selected: text clipped or overflowing, engine-inserted …, label × line crossings, labels drawn over each other, figures wider than the column, the card covering the selection or what it relates to, related elements dimmed, dimmed text under 3:1, an invisible selection ring, relation rows that repeat both ends, the click test per element type, contrast, console errors and the no-JS render. Prints ✗ for failures and – for checks it could not run. Exits 1 on any failure
shot <doc.md|out.html> [--figure id] [--state "sel=gw&cmp=db&theme=dark"] [--view bare|full] [--scale 2] [--width 1280] [--out x.png] [--page] Saves a PNG of a figure (with its open card, note markers, reading panel in --view full, and step note when a scene is on) or of the whole page, in any state. Wide boards are captured whole
export <doc.md|out.html> [--figure id] [--state "sel=gw&theme=dark"] [--mode light|dark] [-o x.svg] Saves a standalone SVG with styles inlined, for Figma or Keynote. --state bakes the selection, its ring a
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • assets/fonts/OFL.txt
  • assets/fonts/geist-latin-ext-wght-normal.woff2
  • assets/fonts/geist-latin-wght-normal.woff2
  • assets/fonts/geist-mono-latin-ext-wght-normal.woff2
  • assets/fonts/geist-mono-latin-wght-normal.woff2
  • references/blocks/charts-bars.md
  • references/blocks/charts-flows.md
  • references/blocks/charts-grids.md
  • references/blocks/charts-lines.md
  • references/blocks/charts-radial.md
  • references/blocks/context.md
  • references/blocks/plans-boards.md
  • references/blocks/plans-time.md
  • references/blocks/report.md
  • references/blocks/structures-maps.md
  • references/blocks/structures-schema.md
  • references/capture.md
  • references/design-law.md
  • references/format.md
  • references/interactions.md
  • references/layouts.md
  • references/writing.md
  • scripts/client/client.ts
  • scripts/client/ink.ts
  • scripts/client/place.ts
  • scripts/client/popover.ts
  • scripts/commands/audit.ts
  • scripts/commands/build.ts
  • scripts/commands/check.ts
  • scripts/commands/export.ts
  • scripts/commands/gallery.ts
  • scripts/commands/new.ts
  • scripts/commands/shot.ts
  • scripts/commands/watch.ts
  • scripts/engine/blocks.ts
  • scripts/engine/blocks/compare.ts
  • scripts/engine/blocks/context.ts
  • scripts/engine/blocks/detail.ts
  • scripts/engine/blocks/glossary.ts
  • scripts/engine/blocks/matrix.ts

FAQ

Что делает скилл explainer?

Turns a system, flow, process, dataset or plan into a clear interactive diagram delivered as one self-contained HTML file: architecture and flow diagrams, sequence and state machines, bar, line, slope, scatter, waterfall, heatmap, treemap, Sankey, funnel, radar and quadrant charts, Gantt charts, timelines, kanban boards, user journeys, story maps, database schemas, UML class diagrams, swimlanes, fishbone and Wardley maps, and incident or release reports with an annotated timeline. Every diagram works bare or with text, in light and dark, with click-to-explore details and PNG capture. Use when asked to explain how something works, diagram or map a system, chart or compare numbers, plan a project, or screenshot such a diagram. Not for Svelte or .svx documents, app UI components, live dashboards over changing data, quick ASCII diagrams, or answers that read fine as a paragraph.

Как установить скилл explainer?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл explainer запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить explainer с