К основному содержанию
скилл CX Codex

data-dashboard — скилл для Claude Code: дашборды и установка

Скилл data-dashboard для Claude Code проектирует плотные аналитические экраны с графиками и таблицами. Включается для дашбордов, торговых терминалов и мониторинговых панелей.

MIT ★ 3 216 обновлён 2026-11-10

Установить в Claude Code · Через маркетплейс плагинов Все способы и платформы ↓
/plugin marketplace add plugin87/ux-ui-agent-skills
/plugin install ux-ui-agent-skills@ux-ui-agent-skills
Открыть на GitHub

Что делает data-dashboard

Скилл задаёт структуру дашборда и правила для графиков, таблиц и доступности. Он описывает варианты SVG-графиков, включая свечи, тепловые карты и матрицы корреляции, а также проверку данных: например, матрица корреляции должна быть симметричной, а сумма сегментов кольцевой диаграммы — соответствовать целому.

Для графиков не нужна библиотека: они строятся на встроенном SVG и цветовых токенах. Скилл также разбирает контраст в тёмной теме и состояния интерактивных элементов. Для запуска проверок нужен полный набор UX/UI Agent Skills; отдельная установка папки скилла оставляет только режим рекомендаций, без запуска проверок.

Какие задачи решает

  • спроектировать плотный аналитический дашборд
  • выбрать тип графика для метрик и временных рядов
  • проверить смысл данных в матрице корреляции или waterfall
  • добавить подписи и доступность SVG-графикам

Примеры запросов агенту

  • Спроектируй дашборд для мониторинга продаж с главным показателем и графиками.
  • Сделай торговый терминал с графиком свечей, объёмом и книгой заявок.
  • Проверь структуру аналитической панели и доступность её графиков.

Как установить data-dashboard

1Через маркетплейс плагинов

/plugin marketplace add plugin87/ux-ui-agent-skills
/plugin install ux-ui-agent-skills@ux-ui-agent-skills

Команда ставит плагин ux-ui-agent-skills целиком, со всеми его скиллами

2Через Skills CLI (Vercel)

npx skills add plugin87/ux-ui-agent-skills --skill data-dashboard -a claude-code

3Вручную: положить файлы

~/.claude/skills/data-dashboard/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/data-dashboard/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о data-dashboard

Как установить data-dashboard в Claude Code?

Добавь маркетплейс командой /plugin marketplace add plugin87/ux-ui-agent-skills, затем установи плагин: /plugin install ux-ui-agent-skills@ux-ui-agent-skills.

Что делает data-dashboard?

Скилл помогает спроектировать экран с большим числом метрик, подобрать формы графиков и описать требования к их корректности и доступности.

Что нужно для проверок data-dashboard?

Нужен полный набор UX/UI Agent Skills: gates, references и design-system library. Его можно установить командой npx [email protected] init; без набора скилл работает только как руководство и не запускает проверки.

Исходный текст

SKILL.md · MIT
---
name: data-dashboard
description: 'Build a dense, data-heavy screen - an analytics console or a trading terminal - with real charts drawn from tokens: candlestick, volume, depth, stacked area, waterfall, scatter, correlation matrix, donut, gauge, sparklines, heatmaps and order books. Use when the request is a dashboard, terminal, monitoring view, data console, or any screen whose job is to show many numbers at once. Covers the layout sequence, the SVG geometry, the accessibility contract per chart type, and the contrast traps that only appear in dark mode.'
---

# Skill: Data dashboard

## Requirements

This skill needs the full UX/UI Agent Skills kit: the gates, the references and
the design-system library. Install it with `npx [email protected] init`
or as the Claude Code plugin. `npx [email protected] add` copies the skill folder and
nothing else. Installed that way, this skill runs in **guidance-only mode**: no gate
runs, so it gives no verdict.

> **Step 0: is the kit here?** Check once:
> `ls ${CLAUDE_SKILL_DIR}/../../../tokens >/dev/null 2>&1 && echo KIT_OK || echo KIT_MISSING`
> On `KIT_MISSING`, open your reply with: "Guidance-only mode: the UX/UI Agent
> Skills kit is not installed here, so no gate ran and nothing below is
> measured." Then work from this file and general practice, under three rules.
> Do not guess or cite the contents of a kit file you could not open. State no
> measured number (no contrast ratio, no N/N, no "passes WCAG"): write "not
> verified" where one would go. End with a line `Skipped (kit not installed):`
> that names every gate script this file tells you to run, then the install
> command above.

A dashboard is the hardest screen to keep honest: it is dense, it is mostly
non-text, and almost every default makes it worse. This is the recipe that
produced `${CLAUDE_SKILL_DIR}/../../../examples/showcase/` and `${CLAUDE_SKILL_DIR}/../../../examples/terminal/`, both of which pass every
gate in both themes.

## 1. Decide the brief before drawing anything

Answer these in one line each, or `/grill-me` them out of the user:

- **Who reads this, and what decision do they make from it?** A revenue console
  for an operator and a trading desk for a dealer look nothing alike.
- **What is the one number that leads?** A dashboard without a lead is a wall.
- **What is the update cadence?** Hourly figures get a "last run" line. Live
  figures get a tape and a timestamp per row.
- **How dense is honest?** A terminal earns 12 panels. A weekly report does not.

## 2. Layout sequence, not a grid of equal cards

Four equal stat cards is the single loudest tell that nobody designed this.
Compose in bands, each a different shape:

| Band | Content | Why |
|---|---|---|
| 1 | Hero metric at 3x body size + its own chart, spanning most of the width | The eye lands once |
| 2 | Two or three secondary figures, stacked or narrow | Quiet by construction |
| 3 | Three **different** chart shapes side by side (donut, ranked bars, sparklines) | Variety reads as intent |
| 4 | A table that really sorts, plus a feed or log | Detail after summary |
| 5 | A footer line that ends the page | A page must end on purpose |

Use a 12-column grid with explicit spans (`span 8` / `span 4`), collapsing to 6
then 1. Never `repeat(auto-fit, …)` for the primary bands - it produces exactly
the equal-card wall you are avoiding.

## 3. The chart inventory

All of these are plain inline SVG with `viewBox`, sized by CSS, filled from
`--color-chart-*`. No chart library, no runtime dependency.

| Chart | Geometry | Use it for |
|---|---|---|
| Bar / column | `<rect>` per bucket, `rx` for a soft corner | Discrete periods |
| Candlestick | `<line>` wick + `<rect>` body per period, class by up/down | OHLC price |
| Volume | Bars under the price chart, same x-scale, `opacity:.45` | Conviction behind a move |
| Moving average | `<polyline>` over the candles, 2px, round joins | Trend through noise |
| Line / sparkline | `<polyline>`, `pathLength="1"` for a draw animation | Trend in a cell |
| Area / stacked area | `<path>` per band: forward along the top, **reverse along the previous baseline**, close | Composition over time |
| Depth | Two cumulative area paths mirrored around the mid | Book liquidity |
| Waterfall | Floating `<rect>` per step + dashed connectors between levels | Attribution |
| Donut | `<circle>` with `stroke-dasharray` and `rotate()` per segment | Share of a whole, 3-5 slices |
| Radial gauge | Same trick, `stroke-linecap:round`, 270-degree sweep | One value against a limit |
| Scatter / bubble | `<circle>`, radius = third dimension | Two measures plus weight |
| Correlation matrix | HTML table, cell tint via `color-mix` | Pairwise relationships |
| Heatmap | HTML table or `<rect>` grid, tint by value | Cohorts, calendars |
| Order book | HTML table with a depth bar per row | Bids and asks |

**Generate the geometry, do not hand-place it.** Write a small deterministic
script (a seeded walk) that emits the SVG elements, then paste the output in.
Hand-typed coordinates drift and cannot be regenerated.

## 4. Domain correctness is part of craft

Gates cannot catch a chart that is drawn beautifully and means nothing. Check by
hand:

- A **correlation matrix is symmetric** and its diagonal is exactly 1. Random
  values in both triangles is an instant tell to anyone who reads one for a living.
- A **stacked area** sums to the total; bands must not cross or leave gaps. The
  usual bug is reversing the baseline by index instead of by coordinate, which
  shows as dark wedges between bands.
- A **waterfall** needs connectors, and the closing bar must equal opening plus
  the steps.
- **Depth** rises away from the mid on both sides; it never falls.
- A **donut** whose segments do not total the whole is a pie chart lying.

## 5. Accessibility contract, per chart

- Every SVG gets `role="img"` plus either `aria-label` or `<title>`+`<desc>`
  referenced by `aria-labelledby`. Say what the chart **shows**, not that it is a
  chart: "Range 182.06 to 200.10, closing at 187.84" beats "price chart".
- Never encode meaning in colour alone. Green with a `+` and an arrow; red with a
  `-`. Up and down also carry a word in the table cell.
- Tables get `<caption>` (use `.sr-only` when the panel header already says it),
  `scope="col"` / `scope="row"`, and `aria-sort` only if clicking really sorts.
- Sortable headers, range tabs and theme toggles all declare state - so they must
  change it on a real click. `verify_interactive.mjs` clicks them and checks.

## 6. The traps that only appear when you measure

Every one of these was found on a screen that looked finished. The first group a
gate caught; the ones marked "no gate sees it" were caught by opening the
screenshot and looking, which is why that step is not optional:

- **A chart palette is not a text palette.** White initials on `--color-chart-4`
  measured **2.65:1** in dark. Chart colours are tuned for large filled shapes.
- **Success green as text on a raised surface measured 4.43:1** - four
  hundredths short of AA. Put the colour on the icon and the sign; keep the text
  neutral.
- **axe must not run mid-transition.** Disable transitions before flipping the
  theme, or contrast is sampled while colours are still moving.
- **Dense tables do not fit a phone.** Drop the column a phone can lose - the
  sparkline, the derived value - in a media query, and say so in a comment. Do
  not shrink type below the scale.
- **Stagger comes from a token:** `calc(var(--duration-fast) * 0.6 * n)`, never a
  typed millisecond.
- **A grid row stretches its items.** Two fields side by side where only one has
  a hint: the hint-less control grows to match the taller column and the two
  inputs end up different heights. Set `align-content: start` on the field and an
  explicit `block-size` on the control. Measure the heights in the render - the
  difference is obvious in a screenshot and invisible in the markup.
- **The same stretch hits whole panels, and no gate sees it.** A row is as tall as
  its tallest panel, and the short one packs its content to the top and ends in a
  bordered void - a heatmap panel with 130px of nothing under the caption, a right
  column that stops two panels short of the map beside it. Every panel in a row
  has to say which it is: one child absorbs the slack
  (`grid-template-rows:auto minmax(0,1fr)`, and that child's own tracks go
  `minmax(<min>,1fr)` so its rows grow too), or the rows share it out
  (`align-content:space-between`), or the short column earns another panel.
  Screenshot the row and look at the bottom edge of each panel; this never shows
  up in the markup.
- **`auto-fit` silently drops a column, and no gate sees it.** Three gauges in a
  panel about 340px wide with `minmax(min(100%,7rem),1fr)` resolved to two tracks
  and orphaned the third beside an empty cell. When the count is fixed and
  meaningful, write `repeat(3,minmax(0,1fr))` and give narrow widths their own rule.
- **A category chart needs its categories on the page, and no gate sees it.** A
  Pareto of five defect types whose names live only in the `aria-label` is a row
  of anonymous bars to everyone looking at it. Put the labels under the bars -
  lay the plot out on an even pitch inside its viewBox so a matching grid of
  labels lines up without a second coordinate system.
- **An `.sr-only` needs a positioned ancestor.** Inside a scroller it otherwise
  resolves against the initial containing block, lands outside the viewport, and
  inflates the document's scroll width by hundreds of pixels.
- **A zero-area element that only has area while it animates** reads as content
  lost under `prefers-reduced-motion`. Give a radar sweep a wedge, not a 1px line.
- **Never reuse a class name across layout and colour.** `.c4` as both a
  four-column span and the fourth chart colour painted an entire panel pink.

## 7. The loop

```bash
node ${CLAUDE_SKILL_DIR}/../../../scripts/gate.mjs measure_render.mjs <file> && node ${CLAUDE_SKILL_DIR}/../../../scripts/gate.mjs measure_render.mjs --dark <file>
node ${CLAUDE_SKILL_DIR}/../../../scripts/gate.mjs verify_states.mjs <file>  && node ${CLAUDE_SKILL_DIR}/../../../scripts/gate.mjs axe_audit.mjs --dark <file>
node ${CLAUDE_SKILL_DIR}/../../../scripts/gate.mjs verify_responsive.mjs <file> --scale=1.25
node ${CLAUDE_SKILL_DIR}/../../../scripts/gate.mjs verify_interactive.mjs <file>
DS_REQUIRE_BROWSER=1 node ${CLAUDE_SKILL_DIR}/../../../scripts/slop_tells.mjs --strict <file> && DS_REQUIRE_BROWSER=1 node ${CLAUDE_SKILL_DIR}/../../../scripts/taste_audit.mjs --strict <file>
```

Then **screenshot it and look**, in both themes, at 1600 and 390 wide. The gates
will pass a chart that is drawn wrong. A correlation matrix that is not
symmetric is 16/16 green and still embarrassing.

Worked references, both gate-verified: `${CLAUDE_SKILL_DIR}/../../../examples/showcase/index.html` (revenue
console) and `${CLAUDE_SKILL_DIR}/../../../examples/terminal/index.html` (trading desk, ten chart types).

© Thientan Soparat · MIT · plugin87/ux-ui-agent-skills

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

Все скиллы по теме «Фронтенд и UI» →
dashboard-creator mhattingpete Скилл dashboard-creator для Claude Code собирает одностраничный HTML-дашборд: карточки KPI, графики, прогресс-бары и таблицы — без фронтенд-фреймворка. CX Codex +1 337установок visualizing-data ancoleman Скилл visualizing-data помогает агенту выбрать тип графика под данные и задачу, а потом собрать дашборд или отчёт с оглядкой на доступность. CX Codex +1 2установок data-visualizer oakoss Скилл data-visualizer помогает строить графики и дашборды на Recharts, Chart.js или D3.js с учётом адаптивности и доступности. CX Codex +1 133установок dashboard nexu-io Скилл dashboard для Claude Code собирает админку или экран аналитики одним HTML-файлом с сайдбаром, верхней панелью, KPI-карточками и SVG-графиками. CX Codex +1 294установок dashboard-design Otabek Abdiraimov Плагин dashboard-design для Claude Code проектирует дашборды с KPI, графиками и тепловыми картами. Проверяет результат по скриншоту. ★ 1 073звёзд репо d3-data-visualization официальный OpenAI Скилл d3-data-visualization для Codex создаёт кастомные визуализации на D3: SVG- и DOM-графики с подписями, аннотациями и интерактивностью. Он собирает сложные браузерные диаграммы. CX Codex GP ChatGPT +1 13установок

Из того же набора35

Весь набор →
critique Скилл critique для Claude Code разбирает готовый интерфейс и ищет причины отправить его на доработку. Запускается после прохождения проверок проекта. CX Codex +1 ★ 3 216звёзд репо design-critic Субагент design-critic для Claude Code оценивает интерфейсы с позиции дизайн-директора и ищет поводы отклонить макет. Запускается после прохождения тестов на готовых экранах. CX Codex ★ 3 216звёзд репо grill-me Скилл grill-me для Claude Code задаёт вопросы о проекте до начала разработки и записывает оставшиеся решения как допущения. Его запускают перед созданием интерфейса. CX Codex +1 ★ 3 216звёзд репо tokens-and-color Правило tokens-and-color для Claude Code подключается при создании, расширении или проверке токенов, настройке темы и выборе цвета. Оно задаёт уровни токенов и требования к контрасту. CX Codex +1 ★ 3 216звёзд репо design-screen Скилл design-screen для Claude Code проектирует и собирает экраны, сайты и интерфейсы по запросу. Для дашбордов, редизайна и вёрстки по скриншоту он передаёт задачу профильным скиллам. CX Codex +1 ★ 3 216звёзд репо design-doctrine Скилл design-doctrine для Claude Code задаёт правила вёрстки и запускает скрипты проверки интерфейса. Включается перед сборкой, ревью компонентов или настройкой дизайн-токенов. CX Codex +1 ★ 3 216звёзд репо components Правило components загружается при проектировании, уточнении или рецензии компонента. Содержит принципы атомарного дизайна, композиции и интервалов — то, что не видно ни в каких гейтах, но видно в коде сразу. CX Codex +1 ★ 3 216звёзд репо ux-ui-agent-skills Плагин ux-ui-agent-skills для Claude Code добавляет токены дизайна, спецификации и 52 гейта для проверки вёрстки по стандартам WCAG 2.2. ★ 3 216звёзд репо

Спонсоры проекта

Компании, которые помогают держать аналитику открытой