Use when generating React data-visualization components (charts, dashboards). Pairs with the design-kit core data-visualization skill which handles chart selection reasoning. Uses Recharts by default; adapt to the project's viz library.
How this skill is triggered — by the user, by Claude, or both
Slash command
/design-kit-react-nextjs:data-viz-reactThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generate React data visualization components once the chart type and data structure are decided (use the core `data-visualization` skill for reasoning about chart selection).
Generate React data visualization components once the chart type and data structure are decided (use the core data-visualization skill for reasoning about chart selection).
// Always: ResponsiveContainer wrapping
// Always: typed data prop
// Always: consistent color usage from design system tokens
// Never: hardcoded pixel dimensions for charts
<ResponsiveContainer width="100%" height={300}>
<BarChart data={data}>
<CartesianGrid strokeDasharray="3 3" />
<XAxis dataKey="name" />
<YAxis />
<Tooltip />
<Bar dataKey="value" fill="var(--color-primary)" />
</BarChart>
</ResponsiveContainer>
<Legend> for multiple seriesinnerRadius for donut variant<Tooltip> with percentage formatteraria-label on the container or a visible heading)_mock-data.ts colocated with the componentnpx claudepluginhub anindhitavidia/design-agent-kit --plugin design-kit-react-nextjsCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.