a11y-audit
Audit a UI or design against WCAG 2.2 AA/AAA and ARIA patterns, returning criterion-referenced findings with severity and specific fixes. Use when the user…
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
$ npx -y skills add plugin87/ux-ui-agent-skills --skill data-dashboard --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/data-dashboardContext preview
The summary Claude sees to decide when to auto-load this skill.
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
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. invocation: model
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 `examples/showcase/` and `examples/terminal/`, both of which pass every gate in both themes.
Answer these in one line each, or `/grill-me` them out of the user:
for an operator and a trading desk for a dealer look nothing alike.
figures get a tape and a timestamp per row.
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.
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.
Gates cannot catch a chart that is drawn beautifully and means nothing. Check by hand:
values in both triangles is an instant tell to anyone who reads one for a living.
usual bug is reversing the baseline by index instead of by coordinate, which shows as dark wedges between bands.
the steps.
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".
`-`. Up and down also carry a word in the table cell.
`scope="col"` / `scope="row"`, and `aria-sort` only if clicking really sorts.
change it on a real click. `verify_interactive.mjs` clicks them and checks.
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:
measured **2.65:1** in dark. Chart colours are tuned for large filled shapes.
hundredths short of AA. Put the colour on the icon a
Turn Claude into a senior design architect - DTCG design tokens, 50 components, WCAG 2.2 AA to AAA, 138 design systems, any-framework code, and 38 objective gates that fail the build instead of claiming success. Install as a Claude Code plugin or with npx.
Repo: plugin87/ux-ui-agent-skills
Audit a UI or design against WCAG 2.2 AA/AAA and ARIA patterns, returning criterion-referenced findings with severity and specific fixes. Use when the user…
Apply a visual direction — an archetype (high-end agency, editorial minimal, brutalist, soft-SaaS, dark-tech) or one of 138 named design systems (apple,…
Generate a complete, accessible brand design system from a brief — primitive → semantic → component DTCG tokens (color, type, spacing, radius, shadow, motion),…
Generate production-ready, accessible, token-driven component code for ANY framework — React+Tailwind, Next.js, SwiftUI, Vue, Svelte, Angular, Solid, Web…
Design a UI component spec to the house quality bar — anatomy, variants, sizes, the 8 states, token mapping, and accessibility. Use when the user wants to…
The house rules for ANY design or UI work - the verification protocol (run the gate, never claim a number), the absolute no-emoji rule, token by intent, one…