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.
Installation
Details
Usage
After installing, this skill will be available to your AI coding assistant.
Verify installation:
skills listSkill Instructions
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
More by antvis
View allG2 Legend Expert: Expert skill for G2 legend development - provides comprehensive knowledge about legend rendering implementation, component architecture, layout algorithms, and interaction handling. Use when implementing, customizing, or debugging legend functionality in G2 visualizations.
G2 Translation Guidelines: Guidelines for translating G2 documentation, including terminology consistency, hyperlink adjustments, and file naming conventions for multilingual documentation. Use when need to translate documents.
G2 Unit Testing Skills: Guidelines and best practices for writing unit tests in the G2 visualization library, covering directory structure, testing patterns, and implementation guidelines. Use when need to generate test.
Create beautiful infographics based on the given text content. Use this when users request creating infographics.