skills/bklit-ui/SKILL.md
Bklit UI charts and data visualization for any project using the @bklit shadcn registry. Install, compose, theme, and animate charts correctly. Triggers when working with @bklitui/ui/charts, @bklit components, data visualization, dashboards, or chart theming. Also invoke manually for chart tasks.
npx skillsauth add bklit/bklit-ui bklit-uiInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Composable chart components for React, distributed via the @bklit shadcn registry. Charts are installed as source into the user's project.
IMPORTANT: Run shadcn CLI commands with the project's package runner:
npx shadcn@latest,pnpm dlx shadcn@latest, orbunx --bun shadcn@latest.
!`npx shadcn@latest info --json`
Use the JSON above for framework, aliases, Tailwind version, installed components, and resolved paths. Confirm the @bklit registry is configured before adding charts.
npx shadcn@latest add @bklit/<chart> — charts are registry components, not hand-rolled SVG.Grid → series → axes → ChartTooltip. See composition.md.chartCssVars and --chart-* variables — never hardcode one-off colors. See theming.md.https://ui.bklit.com/docs/components/<slug>.https://ui.bklit.com/charts/<slug> — Studio: https://ui.bklit.com/studio?chart=<slug>.These rules are always enforced. Each links to Incorrect/Correct examples.
LineChart, BarChart, AreaChart, etc.ComposedChart for mixed series types.ChartTooltip as a chart child — required for crosshair and hover context.chartCssVars from @bklitui/ui/charts instead of raw "var(--chart-…)" strings.--chart-1 … --chart-5 for multi-series charts.bg-popover text-popover-foreground — avoids white-on-white in light mode.revealSignature or remount with a new key.paused on LiveLineChart to debug without stopping the rAF loop manually.ChartTooltip content prop or children patterns from docs.indicatorColor function for candlestick / dynamic crosshair colors.useChart() — do not track mouse globally outside chart context.@bklit registry in components.json.npx shadcn@latest add @bklit/<slug>.@visx/* / motion manually unless resolving a conflict.| Slug | Use when | Install | Docs | Gallery |
|------|----------|---------|------|---------|
| area-chart | Trends with filled regions under lines | @bklit/area-chart | /docs/components/area-chart | /charts/area-chart |
| bar-chart | Category comparisons, stacked or grouped bars | @bklit/bar-chart | /docs/components/bar-chart | /charts/bar-chart |
| line-chart | Time series, multi-line trends, markers | @bklit/line-chart | /docs/components/line-chart | /charts/line-chart |
| live-line-chart | Streaming / real-time data | @bklit/live-line-chart | /docs/components/live-line-chart | /charts/live-line-chart |
| composed-chart | Mixed bar + line (or similar) on one axis | @bklit/composed-chart | /docs/components/composed-chart | /charts/composed-chart |
| scatter-chart | Correlation, distribution, bubble sizing | @bklit/scatter-chart | /docs/components/scatter-chart | /charts/scatter-chart |
| candlestick-chart | OHLC financial data, brushes | @bklit/candlestick-chart | /docs/components/candlestick-chart | /charts/candlestick-chart |
| pie-chart | Part-to-whole slices | @bklit/pie-chart | /docs/components/pie-chart | /charts/pie-chart |
| ring-chart | Donut / ring KPIs | @bklit/ring-chart | /docs/components/ring-chart | /charts/ring-chart |
| radar-chart | Multi-axis comparison | @bklit/radar-chart | /docs/components/radar-chart | /charts/radar-chart |
| gauge-chart | Single-value KPI dial | @bklit/gauge-chart | /docs/components/gauge-chart | /charts/gauge-chart |
| funnel-chart | Stage conversion funnels | @bklit/funnel-chart | /docs/components/funnel-chart | /charts/funnel-chart |
| sankey-chart | Flow between nodes | @bklit/sankey-chart | /docs/components/sankey-chart | /charts/sankey-chart |
| choropleth-chart | Geo regions colored by value | @bklit/choropleth-chart | /docs/components/choropleth-chart | /charts/choropleth-chart |
npx shadcn@latest info --json — verify @bklit registry and aliases.npx shadcn@latest add @bklit/<slug>.# Project info
npx shadcn@latest info --json
# Add a chart
npx shadcn@latest add @bklit/line-chart
# Search registries (if configured)
npx shadcn@latest search @bklit
import { LineChart, Line, Grid, XAxis, ChartTooltip, chartCssVars } from "@bklitui/ui/charts";
<LineChart data={data} xDataKey="date">
<Grid horizontal />
<Line dataKey="users" stroke={chartCssVars.linePrimary} />
<XAxis />
<ChartTooltip />
</LineChart>
tools
Turborepo monorepo build system guidance. Triggers on: turbo.json, task pipelines, dependsOn, caching, remote cache, the "turbo" CLI, --filter, --affected, CI optimization, environment variables, internal packages, monorepo structure/best practices, and boundaries. Use when user: configures tasks/workflows/pipelines, creates packages, sets up monorepo, shares code between apps, runs changed/affected packages, debugs cache, or has apps/packages directories.
tools
This skill is for transitioning a chart or component from prototype to production.
data-ai
Example TaskFlow authoring pattern for inbox triage. Use when messages need different treatment based on intent, with some routes notifying immediately, some waiting on outside answers, and others rolling into a later summary.
data-ai
Example TaskFlow authoring pattern for inbox triage. Use when messages need different treatment based on intent, with some routes notifying immediately, some waiting on outside answers, and others rolling into a later summary.