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

infographic-syntax-creator

将用户提供的内容自动转换为 AntV Infographic 专用语法,根据内容结构智能匹配模板类型,完成数据建模、主题设定与 DSL 编排,严格遵循缩进规范和代码块格式要求。

0.0 (0) 144 次安装 原作者 编程导航
收录于 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 `infographic` markdown 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

还没有评论,来抢沙发。