infographic-template-updater
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.
How do I install this agent skill?
npx skills add https://github.com/antvis/infographic --skill infographic-template-updaterIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill facilitates a standard development workflow for synchronizing infographic template names across various project files. It involves reading local source files and updating configuration files, which are routine activities for development-focused AI agents.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- Runlayerpass
1/1 file flagged
What does this agent skill do?
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:
skills/infographic-creator/SKILL.mdin the "Available Templates" list.site/src/components/AIPlayground/Prompt.tsin the template list.skills/infographic-syntax-creator/references/prompt.mdin the template list. Keep existing ordering/grouping; add newlist-*entries near other list templates.
- 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.tsto match its structure.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/antvis/infographic/infographic-template-updater">View infographic-template-updater on skillZs</a>