首页/ AI 技能 / @skilllib/skill-2014279374126657538
Skill站外收录 @skilllib/skill-2014279374126657538

infographic-syntax-creator

将用户提供的内容自动转换为 AntV 信息图 DSL 语法,包括智能选择模板、组织数据结构、应用视觉主题,并严格遵循缩进、格式与约束规则,输出可直接执行的纯文本 infographic 代码。

0.0 (0) 158 次安装 原作者 编程导航
收录于 2026-01-22

Skills.MD

# 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.

评论 0

还没有评论,来抢沙发。