infographic-template-updater
Original:🇺🇸 English
Translated
Update template catalogs and UI prompts after adding new infographic templates (src/templates/*.ts), including SKILL.md template list, site gallery template mappings, and the AIPlayground prompt list.
21installs
Sourceantvis/infographic
Added on
NPX Install
npx skill4agent add antvis/infographic infographic-template-updaterTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Infographic Template Updater
Overview
Update public template lists and gallery mappings when new templates are added in .
src/templatesWorkflow
- Collect new template names from the added file (object keys).
src/templates/*.ts- If templates are composed via spreads (e.g. ), also confirm the final keys in
...listZigzagTemplates.src/templates/built-in.ts
- If templates are composed via spreads (e.g.
- Update template lists:
- in the "Available Templates" list.
.skills/infographic-creator/SKILL.md - in the template list.
site/src/components/AIPlayground/Prompt.ts - in the template list. Keep existing ordering/grouping; add new
.skills/infographic-syntax-creator/references/prompt.mdentries near other list templates.list-*
- Sanity check with across the above files to confirm presence.
rg -n "<template-name>"
Notes
- Do not remove or rename existing entries.
- Keep template names exact and lower-case.
- If a template needs example data, update or extend to match its structure.
site/src/components/Gallery/datasets.ts