add-template
Add new UI style template to the ui-style-react project. This skill should be used when users want to add a new style template with HTML/CSS code, create a new preview page, or register a template in the system. Triggers include \
Installation
Pick a client and clone the repository into its skills directory.
Installation
About this skill
Add new UI style template to the ui-style-react project. This skill should be used when users want to add a new style template with HTML/CSS code, create a new preview page, or register a template in the system. Triggers include \
How to use
Przygotuj dane szablonu: określ kategorię (visual, core, retro, interaction, layout), ID rodziny (np. grain, glassmorphism), unikalny ID szablonu oraz pełny kod HTML i CSS. Opcjonalnie dodaj tytuł w języku chińskim i angielskim.
Wyzwól skill słowami "add template", "create style template", "add new template" lub podaj kod HTML nowego stylu – system automatycznie rozpozna, że chcesz dodać szablon.
Przekaż wszystkie wymagane parametry: category, familyId, templateId, htmlContent, cssContent. Skill użyje ich do utworzenia struktury katalogów i plików w projekcie.
Skill wygeneruje nowy szablon i automatycznie zarejestruje go na stronie podglądu. Domyślnie nowy szablon będzie wyświetlany jako pierwszy na liście.
Jeśli chcesz, aby szablon pojawił się na końcu listy zamiast na początku, ustaw parametr setAsDefault na false przed uruchomieniem.
Sprawdź stronę podglądu – nowy szablon powinien być widoczny i gotowy do użytku.