infographic-syntax-creator
它能做什么
它介绍如何将关于某个主题的文字,按照符合其结构的模板转换为 Infographic 代码格式。适用于希望根据自己的内容快速生成信息图布局的人员。
适用场景
- ✓当用户有一系列步骤,希望将其转换为信息图布局时。
- ✓当用户希望将两个选项并排比较,并做成信息图时。
- ✓当用户希望将内容转换为 Infographic 代码格式时。
技能链接
https://github.com/ThinkInAIXYZ/deepchat/blob/dev/resources/skills/infographic-syntax-creator/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请把我们入职流程的这五个步骤,用 AntV Infographic 语法做成一个信息图。”
每周 5 个新技能,1 分钟读完。
工作原理
该技能告诉 AI 提取标题、条目和结构,选择匹配的模板,并以要求的格式返回一个代码块,不附加任何其他文字。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
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
infographicmarkdown code block; no extra text. - First line is
infographic <template-name>.
- Output is a single
- Use two-space indentation; key/value pairs are
key value; arrays use-. - Compare templates (
compare-*) must have exactly two root nodes with children.
常见问题
它给出什么输出?
它给出一个 Infographic 代码块,代码块外不附加任何文字。
模板如何选择?
该技能会选择与结构相符的模板,例如顺序、列表、对比、层级或图表。
对比类模板有特殊的结构要求吗?
有。该技能说明,对比模板的顶层条目必须恰好为两个,且每个条目都有子条目。
详情
作者的原始描述
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.
repo: ThinkInAIXYZ/deepchat
热度
- GitHub 星标
- 6.4k
- 排名
- #14232
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …