Skip to content
Data
Skill

/infographic-creator

Create beautiful infographics based on given text content. Use when users request to create infographics.

From plugin
chart-visualization-skills
4548 skills
Install
$ npx -y skills add antvis/chart-visualization-skills --skill infographic-creator --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/infographic-creator

Context 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.

SKILL.md

infographic-creator.SKILL.md
name: infographic-creator
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.

Specifications

AntV Infographic Syntax

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 #f97316

Syntax Specifications

  • The first line must be `infographic <template-name>`, template selected from the list below (see "Available Templates" section).
  • Use `data` / `theme` blocks, with two-space indentation within blocks.
  • Key-value pairs use "key space value"; arrays use `-` as entry prefix.
  • icon uses icon keywords (e.g., `star fill`).
  • `data` should contain title/desc + template-specific main data field (not necessarily `items`).
  • Main data field selection (use only one, avoid mixing):
  • `list-*` → `lists`
  • `sequence-*` → `sequences` (optional `order asc|desc`)
  • `compare-*` → `compares` (supports `children` for grouped comparisons), can contain multiple comparison items
  • `hierarchy-structure` → `items` (each item corresponds to an independent hierarchy, each level can contain sub-items, can be nested up to 3 levels)
  • `hierarchy-*` → single `root` (tree structure, nested through `children`);
  • `relation-*` → `nodes` + `relations`; simple relation diagrams can omit `nodes`, using arrow syntax in relations
  • `chart-*` → `values` (numeric statistics, optional `category`)
  • Use `items` as fallback when uncertain
  • `compare-binary-*` / `compare-hierarchy-left-right-*` binary templates: must have two root nodes, all comparison items hang under these two root nodes' children
  • `hierarchy-*`: use single `root`, nested through `children` (do not repeat `root`)
  • `theme` is used to customize themes (palette, font, etc.)

For example: dark theme + custom color scheme

  infographic list-row-horizontal-icon-arrow
  theme dark
    palette
      - #61DDAA
      - #F6BD16
      - #F08BB4
  • Use `theme.base.text.font-family` to specify font, such as handwriting style `851tegakizatsu`
  • Use `theme.stylize` to select built-in styles and pass parameters

Common styles:

  • `rough`: hand-drawn effect
  • `pattern`: pattern fill
  • `linear-gradient` / `radial-gradient`: linear/radial gradient

For example: hand-drawn style (rough)

  infographic list-row-horizontal-icon-arrow
  theme
    stylize rough
    base
      text
        font-family 851tegakizatsu
  • Do not output JSON, Markdown, or explanatory text

Data Syntax Examples

Data syntax examples by template category (use corresponding fields, avoid adding `items` simultaneously):

  • `list-*` templates
infographic list-grid-badge-card
data
  title Feature List
  lists
    - label Fast
      icon flash fast
    - label Secure
      icon secure shield check
  • `sequence-*` templates
infographic sequence-steps-simple
data
  sequences
    - label Step 1
    - label Step 2
    - label Step 3
  order asc
  • `hierarchy-*` templates
infographic hierarchy-structure
data
  root
    label Company
    children
      - label Dept A
      - label Dept B
  • `compare-*` templates
infographic compare-swot
data
  compares
    - label Strengths
      children
        - label Strong brand
        - label Loyal users
    - label Weaknesses
      children
        - label High cost
        - label Slow release

Quadrant 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 Effort
  • `chart-*` templates
infographic chart-column-simple
data
  values
    - label Visits
      value 1280
    - label Conversion
      value 12.4
  • `relation-*` templates

> 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| B
  • Fallback `items` example
infographic list-row-horizontal-icon-arrow
data
  items
    - label Item A
      desc Description
      icon sun
    - label Item B
      desc Description
      icon moon

Available Templates

  • chart-bar-plain-text
  • chart-column-simple
  • chart-line-plain-text
  • chart-pie-compact-card
  • chart-pie-donut-pill-badge
  • chart-pie-donut-plain-text
  • chart-pie-plain-text
  • chart-wordcloud
  • compare-binary-horizontal-badge-card-arrow
  • compare-binary-horizontal-simple-fold
  • compare-binary-horizontal-underline-text-vs
  • compare-hierarchy-left-right-circle-node-pill-badge
  • compare-quadrant-quarter-circu
Read more
Ships withchart-visualization-skills

Turning 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.

Get the whole plugin
Stats
464
Stars
35
Forks
Active
Maintenance
TypeScript
Language
MIT
License
4d ago
Last commit
6mo ago
Created

Repo: antvis/chart-visualization-skills