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

infographic-template-updater

自动同步新增信息图模板到各配置文件,更新技能文档中的模板列表、AI Playground 的提示词库以及站点画廊的模板映射关系,确保所有引用保持一致且不破坏现有结构。

0.0 (0) 17 次安装 原作者 编程导航
收录于 2026-01-22
软件开发 AI 技能

Skills.MD

# Infographic Template Updater ## Overview Update public template lists and gallery mappings when new templates are added in `src/templates`. ## Workflow 1. Collect new template names from the added `src/templates/*.ts` file (object keys). - If templates are composed via spreads (e.g. `...listZigzagTemplates`), also confirm the final keys in `src/templates/built-in.ts`. 2. Update template lists: - `.skills/infographic-creator/SKILL.md` in the "Available Templates" list. - `site/src/components/AIPlayground/Prompt.ts` in the template list. - `.skills/infographic-syntax-creator/references/prompt.md` in the template list. Keep existing ordering/grouping; add new `list-*` entries near other list templates. 3. Sanity check with `rg -n "<template-name>"` across the above files to confirm presence. ## Notes - Do not remove or rename existing entries. - Keep template names exact and lower-case. - If a template needs example data, update or extend `site/src/components/Gallery/datasets.ts` to match its structure.

评论 0

还没有评论,来抢沙发。