金色时刻 · 15:48
让好资源,触手可及
AGENT SKILL

infographic-syntax-creator

infographic-syntax-creator 是面向数据与分析、软件开发、内容与媒体的 Agent Skill,来自 antvis/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.

SKILL.md

下载 MD ↓
nameinfographic-syntax-creator
descriptionGenerate 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

  1. Read references/prompt.md for syntax rules, templates, and output constraints.
  2. Extract the user's key structure: title, desc, items, hierarchy, metrics; infer missing pieces if needed.
  3. Select a template that matches the structure (sequence/list/compare/hierarchy/chart).
  4. Compose the syntax using references/prompt.md as the formatting baseline.
  5. Preserve hard constraints in every output: - Output is a single plain code 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.

来源:antvis/Infographic · MIT 许可 · 许可原文 · MD 为来源页保存的历史版本