add-template

Community

Automate adding new UI style templates.

AuthorTonnyWong1052
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the end-to-end process of adding a new UI style template to the ui-style-react project, eliminating repetitive setup and registration tasks.

Core Features & Use Cases

  • Directory & file scaffolding: creates the category/family/template directories and writes HTML/CSS templates.
  • Registration automation: updates previewIdMapping, styleTagsMapping, and the central manifest.json to keep the UI in sync with new templates.
  • Template migration & onboarding: supports adding templates to existing families or creating new families, with proper template indexing and build compatibility.

Quick Start

Use the add-template script to create a new UI style template by supplying category, family, templateId, and either HTML/CSS content or file inputs. Example commands are provided in the script's README and usage docs.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: add-template
Download link: https://github.com/TonnyWong1052/UI-Prompt/archive/main.zip#add-template

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.