antv-g2-chart
Use this skill whenever the user wants to create, customize, or troubleshoot G2 v5 chart visualizations. Triggers include: any mention of 'G2', 'antv g2',…
Create beautiful infographics based on given text content. Use when users request to create infographics.
$ npx -y skills add antvis/chart-visualization-skills --skill antv-infographic --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/antv-infographicContext preview
The summary Claude sees to decide when to auto-load this skill.
Create beautiful infographics based on given text content. Use when users request to create infographics.
name: antv-infographic description: Create beautiful infographics based on given text content. Use when users request to create infographics.
Infographics convert data, information, and knowledge into perceptible visual language. They combine visual design with data visualization, compressing complex information with intuitive symbols to help audiences quickly understand and remember key points.
`Infographic = Information Structure + Visual Expression`
This task uses [AntV Infographic](https://infographic.antv.vision/) to create visual infographics.
Before starting the task, you need to understand the AntV Infographic syntax specifications, including template list, data structure, themes, etc.
AntV Infographic syntax is a custom DSL used to describe infographic rendering configurations. It uses indentation to describe information, has strong robustness, and is convenient for AI streaming output and infographic rendering. It mainly contains the following information:
1. template: Use templates to express the text information structure. 2. data: Infographic data, including title, desc, data items, etc. Data items typically contain fields such as label, desc, icon, etc. 3. theme: Theme contains style configurations such as palette, font, etc.
For example:
infographic list-row-horizontal-icon-arrow
data
title Title
desc Description
lists
- label Label
value 12.5
desc Explanation
icon document text
theme
palette #3b82f6 #8b5cf6 #f97316For example: dark theme + custom color scheme
infographic list-row-horizontal-icon-arrow
theme dark
palette
- #61DDAA
- #F6BD16
- #F08BB4Common styles:
For example: hand-drawn style (rough)
infographic list-row-horizontal-icon-arrow
theme
stylize rough
base
text
font-family 851tegakizatsuData syntax examples by template category (use corresponding fields, avoid adding `items` simultaneously):
infographic list-grid-badge-card
data
title Feature List
lists
- label Fast
icon flash fast
- label Secure
icon secure shield checkinfographic sequence-steps-simple
data
sequences
- label Step 1
- label Step 2
- label Step 3
order ascinfographic hierarchy-structure
data
root
label Company
children
- label Dept A
- label Dept Binfographic compare-swot
data
compares
- label Strengths
children
- label Strong brand
- label Loyal users
- label Weaknesses
children
- label High cost
- label Slow releaseQuadrant diagram
infographic compare-quadrant-quarter-simple-card
data
compares
- label High Impact & Low Effort
- label High Impact & High Effort
- label Low Impact & Low Effort
- label Low Impact & High Effortinfographic chart-column-simple
data
values
- label Visits
value 1280
- label Conversion
value 12.4> Edge label syntax: A -label-> B or A -->|label| B
infographic relation-dagre-flow-tb-simple-circle-node
data
nodes
- id A
label Node A
- id B
label Node B
relations
A - approves -> B
A -->|blocks| Binfographic list-row-horizontal-icon-arrow
data
items
- label Item A
desc Description
icon sun
- label Item B
desc Description
icon moonTurning data into a visual language for better thinking. AntV , initiated by Ant Group and open-sourced starting in 2017, reimagines data visualization by embedding the theory of graphical grammar into the JavaScript language.
Repo: antvis/chart-visualization-skills
Use this skill whenever the user wants to create, customize, or troubleshoot G2 v5 chart visualizations. Triggers include: any mention of 'G2', 'antv g2',…
Use this skill whenever the user wants to create, customize, or troubleshoot G6 v5 graph/network visualizations. Triggers include: any mention of 'G6', 'antv…
Recommend and generate appropriate data visualization charts using the GPT-Vis library. Supports two output modes — (1) Syntax mode, which generates Syntax or…
Generate structured narrative text visualizations from data using T8 Syntax. Use when users want to create data interpretation reports, summaries, or…
Use this skill whenever the user wants to create, customize, or troubleshoot X6 v3 graph editor diagrams. Triggers include: any mention of 'X6', 'antv x6',…
将数据可视化为图表。当用户需要生成柱状图、折线图、饼图、散点图、雷达图、桑基图、思维导图、流程图等图表时调用此技能,通过 curl 工具调用 AntV API 生成图表图片