skills/chart-skills/ucharts/SKILL.md
Guides uCharts usage for cross-platform chart creation in uni-app, including line, bar, pie, radar, and mixed charts with data formatting, configuration, and responsive design. Use when the user needs to create charts with uCharts, configure chart options, or build data visualizations in uni-app applications.
npx skillsauth add teachingai/full-stack-skills uchartsInstall 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.
Use this skill whenever the user wants to:
This skill is organized to match the uCharts official documentation structure (https://www.ucharts.cn/v2/#/, https://www.ucharts.cn/v2/#/guide/index, https://www.ucharts.cn/v2/#/document/index). When working with uCharts:
Identify the topic from the user's request:
examples/guide/installation.mdexamples/guide/quick-start.mdexamples/charts/examples/features/api/Load the appropriate example file from the examples/ directory:
Guide (使用指南):
examples/guide/intro.md - Introduction to uChartsexamples/guide/installation.md - Installation guideexamples/guide/quick-start.md - Quick start guideexamples/guide/configuration.md - Configurationexamples/guide/platform-support.md - Platform supportCharts (图表类型):
examples/charts/line.md - Line chartexamples/charts/column.md - Column chartexamples/charts/area.md - Area chartexamples/charts/pie.md - Pie chartexamples/charts/ring.md - Ring chartexamples/charts/radar.md - Radar chartexamples/charts/funnel.md - Funnel chartexamples/charts/gauge.md - Gauge chartexamples/charts/candle.md - Candle chartexamples/charts/mix.md - Mixed chartFeatures (功能特性):
examples/features/data-format.md - Data formatexamples/features/chart-events.md - Chart eventsexamples/features/chart-methods.md - Chart methodsexamples/features/chart-update.md - Chart updateexamples/features/chart-customization.md - Chart customizationFollow the specific instructions in that example file for syntax, structure, and best practices
Important Notes:
Reference API documentation in the api/ directory when needed:
api/chart-api.md - Chart component APIapi/options-api.md - Options APIapi/data-api.md - Data APIapi/events-api.md - Events APIapi/methods-api.md - Methods APIUse templates from the templates/ directory:
templates/installation.md - Installation templatestemplates/basic-chart.md - Basic chart templatestemplates/configuration.md - Configuration templatesuCharts is a high-performance cross-platform charting library that supports uni-app, WeChat Mini Program, H5, APP and more.
Key Concepts:
Using npm:
npm install @qiun/ucharts
Using yarn:
yarn add @qiun/ucharts
Using pnpm:
pnpm add @qiun/ucharts
<template>
<qiun-data-chart type="line" :chartData="chartData" :opts="opts" />
</template>
<script>
export default {
data() {
return {
chartData: {
categories: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri'],
series: [
{
name: 'Sales',
data: [35, 36, 31, 33, 13]
}
]
},
opts: {}
}
}
}
</script>
examples/guide/ or examples/getting-started/ → https://www.ucharts.cn/v2/#/guide/indexexamples/ → https://www.ucharts.cn/v2/#/document/indexThis skill includes detailed examples organized to match the official documentation structure. All examples are in the examples/ directory (see mapping above).
To use examples:
To use templates:
templates/ directory for common scaffoldingDetailed API documentation is available in the api/ directory, organized to match the official uCharts API documentation structure (https://www.ucharts.cn/v2/#/document/index):
api/chart-api.md)api/options-api.md)api/data-api.md)api/events-api.md)api/methods-api.md)To use API reference:
api/ directoryexamples/ directoryuCharts, @qiun/ucharts, chart, 图表, 折线图, 柱状图, 饼图, 环形图, 雷达图, 漏斗图, 仪表盘, K线图, 混合图, line chart, column chart, area chart, pie chart, ring chart, radar chart, funnel chart, gauge chart, candle chart, mixed chart, uni-app, WeChat Mini Program, H5, APP, canvas, chart options, chart data, chart events, chart methods
tools
Automates browser interactions via CLI using agent-browser by Vercel Labs. Covers navigation, clicking, form filling, snapshots, refs-based selectors, agent mode with JSON output, session management, and CDP integration. Use when the user needs to automate web browsing, scrape pages, fill forms, or integrate browser automation into AI agent workflows.
testing
Creates museum-quality visual art as .png or .pdf by first generating a design philosophy manifesto, then expressing it on canvas with precise composition, color palettes, and typography. Use when the user asks to create a poster, art piece, visual design, or static creative piece. Outputs original designs using design-forward principles.
development
Applies Anthropic brand colors (dark #141413, orange #d97757, blue #6a9bcc, green #788c5d), Poppins headings, and Lora body text to artifacts such as presentations, documents, or visuals. Use when the user needs Anthropic brand styling, brand color application, corporate typography, or visual formatting following Anthropic design standards.
development
Creates gallery-quality algorithmic art using p5.js with seeded randomness, interactive parameter controls, and seed navigation, outputting a single self-contained HTML artifact with Anthropic branding. Use when the user requests generative art, algorithmic art, flow fields, particle systems, or code-based visual art using p5.js.