working-with-charts
БесплатноБез исполняемых скриптовНе проверенGuides consumers of @posthog/quill-charts through chart selection, data, themes, sizing, and composition. Use when adding or changing a chart built with the…
от PostHog★ 41 278 звёзд на GitHubОб этом скилле
Consuming quill-charts
Use the package's components and defaults before writing custom chart code. Read only the example or topic needed for the task. For changes inside the library, use CONTRIBUTING.md instead.
Choose a component
Use the chart-selection table, then read a matching package story.
For a date axis, start with DateAxis in TimeSeriesLineChart stories.
Import components and types from @posthog/quill-charts, not internal source paths.
Supply data, theme, and dimensions
- Use stable series keys and typed
metafor tooltip or click data. - For label-based charts, keep labels unique and align each series' data with them.
- Use ISO date labels with
TimeSeries*charts; format ticks through the axis config. - Use
NaNfor missing numeric series values, not zero. - Keep series, config, and callbacks stable across unrelated renders.
- Give charts that fill their container a parent with real dimensions, including a nonzero height.
Reuse the host's existing chart theme setup.
For a new host without chart theming, use the package's useChartTheme hook.
Follow the setup and theme docs for tokens and CSS.
Omit series colors to use the theme palette; resolve CSS variables before passing explicit canvas colors.
Read the selected chart's props and the Series type for its data contract.
Configure before customizing
Prefer the selected chart's built-in tooltip and legend. Use config options and exported overlays before custom renderers. Load only the relevant topic:
| Task | Package docs |
|---|---|
| Axis formatting, ranges, or multiple axes | Axes |
| Bar layouts or per-bar styling | Bars |
| Tooltip formatting or content | Tooltips |
| Legend visibility or interaction | Legend |
| Reference lines, labels, or custom overlays | Overlays |
| Clicks, zoom, or selection | Interactions |
Verify
Render at the intended container sizes and in light and dark themes. Check missing values, long labels, and any interactions you changed. Extend relevant tests and stories; use the consumer testing guide for chart accessors.
Keep detailed API behavior in the package docs rather than copying it into this skill.
Report library gaps
If the package has a missing feature, a bug, or an API that is hard to use, add a comment on issue #123088. Name the chart, the props you used, the expected behavior, and the actual behavior. Do not patch the library from consumer code without a comment on that issue.
Установить working-with-charts в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл working-with-charts?
Guides consumers of @posthog/quill-charts through chart selection, data, themes, sizing, and composition. Use when adding or changing a chart built with the package, including its axes, tooltips, legend, overlays, or interactions. Links to package examples and API docs. Does not cover product integration or library internals.
Как установить скилл working-with-charts?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл working-with-charts запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic