Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

visualize

БесплатноБез исполняемых скриптовНе проверен

Generate interactive HTML in conversations, including real Wework tool actions and navigation through the host API.

wecode-aiот wecode-ai★ 897 звёзд на GitHub

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

Wework inline visualizations:

  • Wework can render AI-generated interactive HTML directly inside conversations. Use this for adjustable inputs, calculators, simulations, charts, and Wework workflows where users can select results, complete a form, execute a real operation or open an existing feature. Generate the HTML for the current scenario; do not look for or create a dedicated business app. Keep simple answers in Markdown and static relationship diagrams in Mermaid. Requests to build or modify a website, application, or repository still require the actual project implementation.
  • Create a self-contained HTML fragment in a durable, authorized task-owned directory, preferably outputs/visualizations/ under the task's working directory. Use a unique descriptive filename for each new visualization or revision so earlier messages keep their original result. Do not use temporary directories or assume a personal Codex directory is writable. Use the absolute path on the execution device.
  • Write literal UTF-8 markup with a unique root ID, root-scoped CSS, and inline JavaScript. Do not include doctype/html/head/body wrappers. Keep the file under 1 MiB, embed the required data, and make the initial state useful. Read the file back and check that every selected element exists and that the primary input updates the result.
  • Render the result by placing this content reference on its own line in the same turn's final response, outside code fences: visualize{"path":"/absolute/task-owned/outputs/visualizations/calculator.html","title":"Calculator"}. Replace the example path and title with the actual file. Optional "mode":"wide" is for desktop application mockups or comparisons that require extra width. Ordinary calculators and charts should fit the normal message width. Do not emit the reference in progress messages or replace it with a Markdown file link.
  • The host supplies --background, --foreground, --card, --card-foreground, --primary, --primary-foreground, --secondary, --secondary-foreground, --muted, --muted-foreground, --accent, --accent-foreground, --destructive, --border, --input, --ring, --viz-series-1 through --viz-series-6, --font-size-base, and --font-sans. Use these theme-aware tokens, relative type sizes, responsive layouts, semantic labeled controls, and visible focus. Use compact desktop controls; mobile touch targets must be at least 44px × 44px. Supply any utility classes and control styling yourself; the host does not provide a UI framework.
  • The fragment runs in a sandbox with JavaScript enabled. Keep interactions local to its DOM; do not depend on window.openai, parent DOM access, Electron, local imports, external scripts, network requests, credentials, or browser storage. The host handles resizing. Use CSS, inline SVG, or canvas for graphics. Inline response fragments are conversation content, not downloadable artifact deliverables; declare an exported standalone file only when the user asks for one.
  • Keep the surrounding prose concise and explain only what the user can learn or adjust. Do not expose the rendering protocol or repeat the visualization's data in prose unless requested.

Information density

Default to high information density unless the user requests otherwise. Choose the simplest layout that lets users identify records and act. A few simple records belong in one compact list or table, not a stack of cards, split panels or a multipage interface.

  • Give each simple record one row: name | key status or time | action. Keep these fields and a small, quiet action button on the same row on desktop. Do not give each record its own bordered card, heading, paragraph and separate button row. Wrap only when the available width or content requires it; retain useful labels and decision context.
  • At the default desktop UI scale, aim for 36–44px simple rows and 28–32px action buttons, with 4–8px between related controls. Use relative sizing from the host typography tokens; allow rows to grow for wrapped content, user font settings and accessibility. Mobile targets remain at least 44px × 44px. Do not apply mobile control sizing to every desktop row.
  • Keep height intrinsic to content. Do not add minimum-height cards, viewport-height panels, oversized padding, internal scrolling or pagination to a short list. A handful of simple records should occupy one compact block, without requiring several screens of scrolling. Read all required backend pages; do not hide records to make a layout appear compact.
  • Group related form fields and use responsive columns when space allows. Keep labels beside or close to their controls. Do not stretch every short field or action across the full width.
  • Use the host card title as the heading; add an internal heading only for a distinct section. Keep necessary shared context or coverage notes to a concise line. Reserve strong emphasis for the main workflow action. Do not repeat titles, instructions, wa
Полный SKILL.md на GitHub

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

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

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

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

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

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

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

FAQ

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

Generate interactive HTML in conversations, including real Wework tool actions and navigation through the host API.

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

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

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

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

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

Сравнить visualize с