kuzenbo-charts-usage
0
总安装量
1
周安装量
安装命令
npx skills add https://github.com/kuzenbodev/kuzenbo --skill kuzenbo-charts-usage
Agent 安装分布
amp
1
cline
1
opencode
1
cursor
1
kimi-cli
1
codex
1
Skill 文档
Kuzenbo Charts Usage
Use this skill for external app code that consumes the stable public package @kuzenbo/charts@0.0.6.
Runtime Setup
- Install required runtime set:
npm install @kuzenbo/charts @kuzenbo/core @kuzenbo/theme recharts
- Ensure theme stylesheet is loaded once:
import "@kuzenbo/theme/prebuilt/kuzenbo.css";
Chart Workflow
- Choose the chart primitive from
references/chart-exports.md. - Shape data as array records and define a typed
serieslist withname,label, andcolor. - Add formatter functions (
valueFormatter, axis formatters) early to avoid formatting drift. - Turn on only needed affordances (
withLegend,withTooltip, axis toggles) to keep charts readable.
Guardrails
- Stay on public exports only (
@kuzenbo/charts/ui/*listed in references). - Keep
@kuzenbo/coreand@kuzenbo/themepresent in runtime. - Use semantic chart color vars (
var(--color-chart-1)etc.) instead of hardcoded palette literals when possible. - If a requested chart type is absent, choose the nearest exported primitive and state the tradeoff.
References
references/chart-exports.mdreferences/chart-starter-pattern.md