BeClaude

antv-infographic-skills

New
5.2kCommunity RegistryGeneralby AntV Visualization Team ยท MIT

An Infographic Generation and Rendering Framework, bring words to life!

Community PluginView Source

Overview

<div align="center">

Infographic, bring words to life!

๐Ÿฆ‹ An Infographic Generation and Rendering Framework, bring words to life!

![npm version](https://www.npmjs.com/package/@antv/infographic) ![build status](https://github.com/antvis/infographic/actions) !Visitors ![license](./LICENSE)

<img src="https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*EdkXSojOxqsAAAAAQHAAAAgAemJ7AQ/original" width="256">

</div>

AntV Infographic is AntV's next-generation declarative infographic visualization engine. With a carefully designed infographic syntax, it can quickly and flexibly render high-quality infographics, making information presentation more efficient and data storytelling simpler.

<div align="center">

<p align="center"> <a href="https://infographic.antv.vision"> <img src="https://img.shields.io/badge/Website-2F54EB?style=for-the-badge" alt="Website" /> </a> <a href="https://github.com/antvis/infographic"> <img src="https://img.shields.io/badge/GitHub-000000?style=for-the-badge&logo=github&logoColor=white" alt="GitHub" /> </a> <a href="https://infographic.antv.vision/learn"> <img src="https://img.shields.io/badge/Docs-722ED1?style=for-the-badge" alt="Docs" /> </a> <a href="https://infographic.antv.vision/gallery"> <img src="https://img.shields.io/badge/Gallery-13C2C2?style=for-the-badge" alt="Gallery" /> </a> <a href="https://github.com/antvis/Infographic/tree/main/skills"> <img src="https://img.shields.io/badge/Skills-FA8C16?style=for-the-badge" alt="Skills" /> </a> <a href="https://infographic.antv.vision/ai"> <img src="https://img.shields.io/badge/AI%20Agent-EB2F96?style=for-the-badge" alt="AI Agent" /> </a> </p>

<img src="https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*ZdeISZWHuyIAAAAAbEAAAAgAemJ7AQ/fmt.webp" width="768" alt="AntV Infographic Preview">

</div>

โœจ Features

  • โ€ข๐Ÿค– AI-friendly: Configuration and syntax are tuned for AI generation, provide concise prompts, and support AI streaming output and rendering
  • โ€ข๐Ÿ“ฆ Ready to use: ~200 built-in infographic templates, data-item components, and layouts to build professional infographics in minutes
  • โ€ข๐ŸŽจ Theme system: Hand-drawn, gradients, patterns, multiple preset themes, plus deep customization
  • โ€ข๐Ÿง‘๐Ÿปโ€๐Ÿ’ป Built-in editor: Includes an editor for infographics so AI-generated results can be edited further
  • โ€ข๐Ÿ“ High-quality SVG output: Renders with SVG by default to ensure visual fidelity and easy editing

๐Ÿš€ Installation

bash
npm install @antv/infographic

๐Ÿ“ Quick Start

![](https://infographic.antv.vision/learn/getting-started) ![](https://infographic.antv.vision/learn/infographic-syntax) ![](https://infographic.antv.vision/reference/infographic-options)

ts
import { Infographic } from '@antv/infographic';

const infographic = new Infographic({
  container: '#container',
  width: '100%',
  height: '100%',
  editable: true,
});

infographic.render(`
infographic list-row-simple-horizontal-arrow
data
  lists
    - label Step 1
      desc Start
    - label Step 2
      desc In Progress
    - label Step 3
      desc Complete
`);

The rendered result looks like this:

<img src="https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*uvj8Qb26F1MAAAAARAAAAAgAemJ7AQ/fmt.webp" width="480" alt="AntV Infographic DEMO">

Streaming Rendering

![](https://infographic.antv.vision/learn/infographic-syntax)

With a highly fault-tolerant infographic syntax you can stream AI output in real time and progressively render the infographic.

ts
let buffer = '';
for (const chunk of chunks) {
  buffer += chunk;
  infographic.render(buffer);
}

<img src="https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*e_PFSZrR9AQAAAAASdAAAAgAemJ7AQ/original" width="480" alt="AntV Infographic Streaming Rendering">

๐Ÿ”ง Skills Integration

AntV Infographic provides skills to integrate with AI agents:

  • โ€ขinfographic-creator: Create an HTML file that renders an infographic
  • โ€ขinfographic-syntax-creator: Generate infographic syntax from descriptions
  • โ€ขinfographic-structure-creator: Generate custom structure designs
  • โ€ขinfographic-item-creator: Generate custom item designs
  • โ€ขinfographic-template-updater: (For developers) update the template library

Claude Code

Claude marketplace is now available. You can install from marketplace, or keep using manual install.

bash
/plugin marketplace add https://github.com/antvis/Infographic.git
/plugin install antv-infographic-skills@antv-infographic

Manual install:

bash
set -e

VERSION=0.2.4 # Replace with the latest tag, e.g. 0.2.14
BASE_URL=https://github.com/antvis/Infographic/releases/download
mkdir -p .claude/skills

curl -L --fail -o skills.zip "$BASE_URL/$VERSION/skills.zip"
unzip -q -o skills.zip -d .claude/skills
rm -f skills.zip

Codex

Enter codex

codex
# Replace <SKILL> with the skill name, e.g. infographic-creator
# https://github.com/antvis/Infographic/tree/main/skills/<SKILL>
$skill-installer install https://github.com/antvis/Infographic/tree/main/skills/infographic-creator

๐ŸŒ Ecosystem

Community projects and products powered by AntV Infographic:

  • โ€ข๐Ÿ’ผ Products

- Alma โ€” Desktop AI provider orchestration app with Infographic - Markdown Viewer โ€” Markdown viewer with Infographic support, export to Word, extensions for Chrome/VS Code/Firefox - InfographicAI โ€” Generate PPT slides powered by Infographic - LangChat Slides โ€” Next-Gen AI Slide Generator using @antv/infographic - Nowledge Mem โ€” AI Memory Bank with Presentation Creator supporting Infographic - WeChat Markdown Editor โ€” Markdown to WeChat article editor with Infographic - Welight โ€” WeChat article creation platform with Infographic support - Zojo โ€” Generate professional infographics with simple syntax

  • โ€ข๐Ÿ“ฆ Libraries

- astro-koharu โ€” Anime blog theme (Astro) with Infographic support - docsify-infographic โ€” Plugin to render Infographic diagrams in Docsify - feffery-infographic โ€” Create infographics in Python with Plotly Dash - infographic-cli โ€” CLI tool to generate SVG infographics - infographic-for-react โ€” React component wrapper for @antv/infographic - markdown-it-infographic โ€” markdown-it plugin for @antv/infographic - markstream-vue โ€” Streaming Markdown rendering for Vue 3 with Infographic - obsidian-infographic โ€” Obsidian plugin for @antv/infographic - slidev-addon-infographic โ€” @antv/infographic component for Slidev - VSCode Extension โ€” Preview Infographic in VSCode Markdown files

๐Ÿ’ก Have a project using AntV Infographic? Share it in Issue #99!

๐Ÿ’ฌ Community & Communication

  • โ€ขSubmit your questions or suggestions on GitHub
  • โ€ขJoin GitHub Discussions to communicate with the community
  • โ€ขContributions are welcome! Let's improve AntV Infographic together!

If you have any suggestions, feel free to communicate with us on GitHub! Star โญ us to show your support.

๐Ÿ“„ License

This project is open source under the MIT license. See LICENSE for details.

Install & Usage

1
Create the skills directory
mkdir -p .claude/skills
2
Download the skill file
mkdir -p .claude/skills && curl -o .claude/skills/antv-infographic-skills.md https://raw.githubusercontent.com/antvis/Infographic/main/SKILL.md
3
Invoke in Claude Code
/antv-infographic-skills
View source on GitHub
antvinfographicvisualization

Frequently Asked Questions

What is antv-infographic-skills?

An Infographic Generation and Rendering Framework, bring words to life!

How to install antv-infographic-skills?

To install antv-infographic-skills, create the .claude/skills directory in your project, then run the curl command to download the skill file. Once installed, invoke it in Claude Code with /antv-infographic-skills.

What is antv-infographic-skills best for?

antv-infographic-skills is a community categorized under General. It is designed for: antv, infographic, visualization. Created by AntV Visualization Team.