infographic-syntax-creator
Generate AntV Infographic syntax outputs. Use when asked to turn user content into the Infographic DSL (template selection, data structuring, theme), or to output `infographic <template>` plain syntax.
$ Installieren
git clone https://github.com/antvis/Infographic /tmp/Infographic && cp -r /tmp/Infographic/.skills/infographic-syntax-creator ~/.claude/skills/Infographic// tip: Run this command in your terminal to install the skill
SKILL.md
name: infographic-syntax-creator
description: Generate AntV Infographic syntax outputs. Use when asked to turn user content into the Infographic DSL (template selection, data structuring, theme), or to output infographic <template> plain syntax.
Infographic Syntax Creator
Overview
Generate AntV Infographic syntax output from user content, following the rules in references/prompt.md.
Workflow
- Read
references/prompt.mdfor syntax rules, templates, and output constraints. - Extract the user's key structure: title, desc, items, hierarchy, metrics; infer missing pieces if needed.
- Select a template that matches the structure (sequence/list/compare/hierarchy/chart).
- Compose the syntax using
references/prompt.mdas the formatting baseline. - Preserve hard constraints in every output:
- Output is a single
plaincode block; no extra text. - First line is
infographic <template-name>. - Use two-space indentation; key/value pairs are
key value; arrays use-. - Compare templates (
compare-*) must have exactly two root nodes with children.
- Output is a single
Repository

antvis
Author
antvis/Infographic/.skills/infographic-syntax-creator
2.7k
Stars
172
Forks
Updated5d ago
Added6d ago