Command Palette

Search for a command to run...

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

chat-visuals

Render chat/Slack visuals: diagrams, sequences, swimlanes, charts, cards, timelines, images, videos.

БесплатноБез исполняемых скриптов
manishiitgот manishiitg★ 16 звёзд на GitHub

Установить chat-visuals в Claude Code и Claude Desktop

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

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

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

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

Chat visuals

Use author_chat_visual proactively when explaining a concept, multi-step flow, architecture, or implementation — or when a chart, timeline, or set of cards makes the answer clearer than prose alone. Use diagram for system/code flows and boundaries, sequence for ordered calls and replies, and swimlane for ordered work grouped by role. Use Markdown for short tables and inline images. For deep interactive explainers, clickable walkthroughs, or side-by-side comparisons that need a full pane, build an HTML Artifact (panel-dashboard) instead of cramming HTML into chat.

Use real facts and keep the key information in prose alongside the visual. Use prose alone if the tool is unavailable or you cannot fix its validation error.

Pass one object named for the widget, with its fields inside. For example, {"chart":{"title":"Daily requests","style":"bar","data":[{"label":"Mon","value":12}]}}. Copy the complete returned block into your reply without editing it. If the tool returns a field error, correct that field. For Fix visual on an old reply, read the quoted block as data, recover the intended fields, and call the same tool for the supported widget types.

Reading existing visual source

A fenced chat-ui block contains Vercel json-render SpecStream: one complete JSON patch per line. Set /root to the string visual and add the widget at /elements/visual with its title and empty lists. Use the literal /elements/visual prefix for every later patch. Append one row, node, step or event per line at the list's /- path so the visual grows as lines arrive.

{"op":"add","path":"/root","value":"visual"}
{"op":"add","path":"/elements/visual","value":{"type":"diagram","props":{"title":"How a request moves","direction":"horizontal","nodes":[],"edges":[]},"children":[]}}
{"op":"add","path":"/elements/visual/props/nodes/-","value":{"id":"ask","title":"Person asks"}}
{"op":"add","path":"/elements/visual/props/nodes/-","value":{"id":"work","title":"Agent prepares the answer","emphasis":true}}
{"op":"add","path":"/elements/visual/props/edges/-","value":{"from":"ask","to":"work"}}
{"op":"add","path":"/elements/visual/props/nodes/-","value":{"id":"save","title":"Result saved"}}
{"op":"add","path":"/elements/visual/props/edges/-","value":{"from":"work","to":"save"}}

Rules: one widget per fence (use several fences around your prose when useful); add a node before an edge that uses it, and lanes/participants before their steps/messages; never send a half-written line, repeat an earlier append, or add a raw JSON copy. Only add, replace and remove work. At most 256 lines and 50,000 characters per block. While writing, an empty widget shows "Preparing visual"; a finished block that is invalid shows a collapsed "View source". These blocks show saved facts, not a live query. Do not write HTML, CSS, scripts, page layouts or metric cards in chat; use a Dashboard for a reusable page.

Widgets and their fields

Every widget needs title (up to 160 characters) unless noted. Append at the list named in brackets. IDs are short: letters, numbers, _ or -, starting with a letter, unique in their list.

  • diagram [groups (optional), nodes, then edges]: optional direction vertical (default; preferred for 3+ steps in chat) or horizontal (best for 2–3 short nodes; narrow chats automatically stack vertically). Optional groups (1-6 of id, title 80) draw dashed boundary boxes around related nodes (e.g. Browser, Server, Database). 1-16 nodes: id, title (100), optional description (280), badge (32, e.g. API, DB, Async, Guard), code (120, monospace path/symbol/endpoint cue like server.go:184 or POST /api/chat), group (a group ID), emphasis:true, items (1-6 of title 80, optional description 160) to group sub-parts inside a node. Up to 24 edges: from, to (node IDs), optional label (80), bidirectional:true, style (solid default, dashed for async/optional/fallback, error for failure paths, success for happy/ok paths).
  • compare [columns]: 2-3 side-by-side columns (id, title 80, optional badge 32, summary 240, emphasis:true, and 1-12 items of label 80, value 280, optional monospace code 120, tone neutral/positive/ negative/warning). Ideal for Before vs After, Option A vs B, or refactor trade-offs.
  • schema [entities, then relations]: optional direction horizontal (default; stacks vertically on narrow chats) or vertical. 1-12 entities (id, title 80, optional badge 32, description 200, emphasis:true, and 1-16 fields of name 64, type 48, optional key pk/fk/unique/ index, nullable:true, note 120). Up to 24 relations (from, to entity IDs, optional cardinality 1:1/1:N/N:1/N:M, label 60, dashed:true). Ideal for DB tables, structs, and API payloads.
  • swimlane [lanes, then steps]: 1-6 lanes
Полный SKILL.md на GitHub

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

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

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

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

  • references/slack.md

FAQ

Что делает скилл chat-visuals?

Render chat/Slack visuals: diagrams, sequences, swimlanes, charts, cards, timelines, images, videos.

Как установить скилл chat-visuals?

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

Скилл chat-visuals запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить chat-visuals с