SKILL.md
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). - Update template lists:
- SKILL.md in the "Available Templates" list. - site/src/components/AIPlayground/Prompt.ts in the template list. Keep existing ordering/grouping; add new list-* entries near other list templates.
- Update gallery mapping in
site/src/components/Gallery/templates.ts:
- Add entries to TEMPLATEENTRIES with the correct dataset (most list templates use DATASET.LIST). - If the template should be featured, add it to PREMIUMTEMPLATE_KEYS in the desired order.
- 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 fits a different dataset, follow the dataset used by similar templates.