Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

antv-infographic

БесплатноБез исполняемых скриптовНе проверен

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

antvisот antvis★ 545 звёзд на GitHub

Об этом скилле

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

Полный SKILL.md на GitHub

Установить antv-infographic в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл antv-infographic?

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

Как установить скилл antv-infographic?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл antv-infographic запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить antv-infographic с