infographic-template-updater

Synchronize infographic template keys across catalogs and UI prompt mappings.

5.7k|442|Updated Sep 11, 2025
One-click install
npx skills add https://github.com/antvis/Infographic --skill infographic-template-updater
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: infographic-template-updater
Source: https://github.com/antvis/Infographic/tree/main/.skills/infographic-template-updater
Command: npx skills add https://github.com/antvis/Infographic --skill infographic-template-updater

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

When new infographic templates are added under src/templates, catalogs and UI prompt mappings risk becoming out of date, leading to mismatches between available templates and how they are presented to users.

Core Features & Use Cases

  • Automated template catalog synchronization: scan src/templates to extract template keys and refresh all relevant lists.
  • Consistent gallery and prompt mappings: propagate template changes to site AIPlayground prompts and gallery mappings without disrupting existing order.
  • Validation and change-tracking: verify that updates are reflected across all touched files and guard against missing entries.

Quick Start

Use the infographic-template-updater skill after adding new templates in src/templates to refresh SKILL.md lists, site gallery mappings, and the AIPlayground prompt mappings.

Frequently Asked Questions about infographic-template-updater

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I sync new infographic templates with a public catalog automatically?

To sync infographic templates automatically, this skill scans src/templates to extract template keys and refreshes all relevant catalog lists, ensuring new additions propagate without manual list updates.

Why does my UI prompt mapping not match the templates in src/templates?

UI prompt mappings fall out of sync when new templates are added without updating catalogs. This skill automates propagating template changes to AIPlayground prompts and gallery mappings, preventing mismatches.

How do I update gallery and AIPlayground mappings without disrupting existing template order?

Updating gallery and AIPlayground mappings without disrupting order is handled by parsing template keys from src/templates and preserving existing sequence while applying changes across multiple target files.

How do I validate that new template additions are reflected across all target files?

Validating template additions across target files is done through a cross-file search that verifies updates are reflected in all touched files and guards against missing entries.

What's the best way to maintain template catalogs when adding files to src/templates?

The best way to maintain template catalogs is running an automated synchronization workflow that extracts keys from src/templates, updates gallery mappings, and validates changes across all files.

When do I need to run an infographic template catalog synchronization?

You need to run infographic template catalog synchronization after adding new templates in src/templates to refresh SKILL.md lists, site gallery mappings, and AIPlayground prompt mappings.