Infographic Template Updater
Overview
Update public template lists and gallery mappings when new templates are added in src/templates.
Workflow
- •Collect new template names from the added
src/templates/*.tsfile (object keys).- •If templates are composed via spreads (e.g.
...listZigzagTemplates), also confirm the final keys insrc/templates/built-in.ts.
- •If templates are composed via spreads (e.g.
- •Update template lists:
- •
SKILL.mdin the "Available Templates" list. - •
site/src/components/AIPlayground/Prompt.tsin the template list. Keep existing ordering/grouping; add newlist-*entries near other list templates.
- •
- •Sanity check with
rg -n "<template-name>"across the three 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.tsto match its structure.