chat-visuals
Render chat/Slack visuals: diagrams, sequences, swimlanes, charts, cards, timelines, images, videos.
от 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, thenedges]: optionaldirectionvertical(default; preferred for 3+ steps in chat) orhorizontal(best for 2–3 short nodes; narrow chats automatically stack vertically). Optionalgroups(1-6 ofid,title80) draw dashed boundary boxes around related nodes (e.g. Browser, Server, Database). 1-16 nodes:id,title(100), optionaldescription(280),badge(32, e.g.API,DB,Async,Guard),code(120, monospace path/symbol/endpoint cue likeserver.go:184orPOST /api/chat),group(a group ID),emphasis:true,items(1-6 oftitle80, optionaldescription160) to group sub-parts inside a node. Up to 24 edges:from,to(node IDs), optionallabel(80),bidirectional:true,style(soliddefault,dashedfor async/optional/fallback,errorfor failure paths,successfor happy/ok paths).compare[columns]: 2-3 side-by-side columns (id,title80, optionalbadge32,summary240,emphasis:true, and 1-12itemsoflabel80,value280, optional monospacecode120,toneneutral/positive/negative/warning). Ideal for Before vs After, Option A vs B, or refactor trade-offs.schema[entities, thenrelations]: optionaldirectionhorizontal(default; stacks vertically on narrow chats) orvertical. 1-12entities(id,title80, optionalbadge32,description200,emphasis:true, and 1-16fieldsofname64,type48, optionalkeypk/fk/unique/index,nullable:true,note120). Up to 24relations(from,toentity IDs, optionalcardinality1:1/1:N/N:1/N:M,label60,dashed:true). Ideal for DB tables, structs, and API payloads.swimlane[lanes, thensteps]: 1-6 lanes
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- 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), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…