LLMs.txt Documentation
How to get tools like Cursor, Windsurf, GitHub Copilot, ChatGPT, and Claude to understand @nofinite/charts.
Tip
Looking for unified ecosystem presets or multi-package rules? Visit our central AI Agents Hub.
We support LLMs.txt files for making @nofinite/charts data visualization primitives directly available to large language models.
Directory Overview
The following machine-readable context files are available:
/charts/llms.txt: The main LLMs index for@nofinite/charts./charts/llms-full.txt: Complete context bundle containing all 8 chart components, props, and accessor patterns./llms.txt: Ecosystem index covering all 8@nofinitelibraries./llms-full.txt: The unified ecosystem bundle.
Usage with Cursor & Windsurf
markdown
# Charts Rules for AI Assistants
1. Component Imports: Import charts from '@nofinite/charts/react' (AreaChart, BarChart, LineChart, PieChart, DonutChart, ScatterChart).
2. Data Accessors: Pass custom accessor functions: \`xAccessor={(d) => d.x}\`, \`yAccessor={(d) => d.y}\`.
3. Design Tokens: Charts automatically adhere to active NUICSS themes and dark/light OKLCH color palettes (var(--chart-1) through var(--chart-8)).