echarts-chart-skill
Installation
SKILL.md
ECharts Chart Skill
Use this skill when the user wants chart output from a short description or from table-like data.
Workflow
- Translate the user's request into a
ChartRequestJSON object. - If the chart type is unclear, run the recommendation command first.
- Run the generation command to produce a stable ECharts option.
- Run the render command when the user wants an embeddable
htmlorsvg.
Files
- Core types:
src/types/chart.ts - Chart recommendation:
src/core/recommend.ts - Option generation:
src/core/spec-to-option.ts - Rendering:
src/core/render.ts - Sample input:
examples/study-progress.request.json - Universal metadata:
manifest.yaml,agents/openai.yaml