apexcharts-skill 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/SKILL.md +10 -1
- package/package.json +2 -2
package/SKILL.md
CHANGED
|
@@ -5,7 +5,9 @@ description: >
|
|
|
5
5
|
Use when the user asks to create, configure, or troubleshoot any chart using ApexCharts
|
|
6
6
|
(line, area, bar, pie, donut, radialBar, scatter, bubble, heatmap, candlestick, boxPlot,
|
|
7
7
|
radar, polarArea, rangeBar, rangeArea, treemap). Covers correct data formats, lifecycle,
|
|
8
|
-
formatters, tree-shaking, SSR, and framework integration.
|
|
8
|
+
formatters, tree-shaking, SSR, and framework integration. In React /
|
|
9
|
+
Vue / Angular projects, prefer the framework wrapper packages
|
|
10
|
+
(`react-apexcharts`, `vue3-apexcharts`, `ng-apexcharts`) over the core API.
|
|
9
11
|
metadata:
|
|
10
12
|
author: ApexCharts
|
|
11
13
|
version: "1.0.0"
|
|
@@ -19,6 +21,13 @@ metadata:
|
|
|
19
21
|
|
|
20
22
|
# ApexCharts AI Skill
|
|
21
23
|
|
|
24
|
+
> **Framework wrapper detection — check `package.json` before generating code.**
|
|
25
|
+
> - `react` → use **`react-apexcharts`** instead of the core API.
|
|
26
|
+
> - `vue` (Vue 3) → use **`vue3-apexcharts`**. Vue 2 → **`vue-apexcharts`**.
|
|
27
|
+
> - `@angular/core` → use **`ng-apexcharts`**.
|
|
28
|
+
>
|
|
29
|
+
> Wrappers handle `destroy()` automatically on unmount, accept reactive props, and forward events as idiomatic framework events. Use the core API directly only when no framework is detected, or when the user explicitly asks for vanilla. See `references/framework-wrappers.md`.
|
|
30
|
+
|
|
22
31
|
## 1. Critical Rules
|
|
23
32
|
|
|
24
33
|
1. **Always call `chart.render()`** after `new ApexCharts(el, options)`. The constructor does not render.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "apexcharts-skill",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "AI coding skill for ApexCharts.js — structured reference docs that help AI assistants (Claude, Cursor, Copilot, etc.) generate correct ApexCharts code.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"apexcharts",
|
|
@@ -43,4 +43,4 @@
|
|
|
43
43
|
"publishConfig": {
|
|
44
44
|
"access": "public"
|
|
45
45
|
}
|
|
46
|
-
}
|
|
46
|
+
}
|