Deepchat 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.
install
source · Clone the upstream repo
git clone https://github.com/ThinkInAIXYZ/deepchat
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ThinkInAIXYZ/deepchat "$T" && mkdir -p ~/.claude/skills && cp -r "$T/resources/skills/infographic-syntax-creator" ~/.claude/skills/thinkinaixyz-deepchat-infographic-syntax-creator && rm -rf "$T"
manifest:
resources/skills/infographic-syntax-creator/SKILL.mdsource content
Infographic Syntax Creator
Overview
Generate AntV Infographic syntax output from user content, following the rules in
references/prompt.md.
Workflow
- Read
for syntax rules, templates, and output constraints.references/prompt.md - 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
as the formatting baseline.references/prompt.md - Preserve hard constraints in every output:
- Output is a single
markdown code block; no extra text.infographic - First line is
.infographic <template-name>
- Output is a single
- Use two-space indentation; key/value pairs are
; arrays usekey value
.- - Compare templates (
) must have exactly two root nodes with children.compare-*