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.
Security Assessment
About infographic-template-updater
The 'infographic-template-updater' skill automates the process of updating various catalog and UI components whenever new infographic templates are added to the project. This helps maintain consistency across the template repository by ensuring that new templates are properly reflected in multiple places. By streamlining the process of incorporating new templates, this skill addresses the challenge of manually keeping all related resources updated, which can otherwise be error-prone and time-consuming.
FAQ
How do I use the infographic-template-updater?
The skill automatically updates template lists and UI mappings whenever new templates are added to the 'src/templates' folder. Simply add the new template files, and the skill handles the update process.
Does this skill work with all types of templates?
The skill is designed to work specifically with templates located in the 'src/templates' directory. It also accounts for templates that are composed via spreads by confirming their final keys.
What should I do if I need to add example data for a new template?
If a new template requires example data, you'll need to extend or update the 'site/src/components/Gallery/datasets.ts' file to ensure it matches the template's structure.
Are there any restrictions when updating templates?
Yes, existing template names should not be removed or renamed, and new template names should be kept in lower case exactly as defined. Additionally, the ordering and grouping of templates in the lists should remain unchanged.
Install infographic-template-updater
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
antvis/Infographic