Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

ui-template-library

БесплатноБез исполняемых скриптовНе проверен

Manage aesthetic templates - save visual systems from completed mockups as interpretable prose, apply to new plugins with adaptive layouts

glittercowboyот glittercowboy★ 225 звёзд на GitHub17 установок в других каталогах

Об этом скилле

ui-template-library Skill

Purpose: Capture and apply aesthetic "vibes" across plugins using structured prose descriptions rather than rigid specifications.


Operations

You MUST determine which operation the user is requesting, then execute ONLY that operation.

Operation Routing (match user request to keywords):

  • save/capture/extract → save_aesthetic (Operation 1)
  • apply/use/generate → apply_aesthetic (Operation 2)
  • list/show/browse → list_aesthetics (Operation 3)
  • delete/remove → delete_aesthetic (Operation 4)
  • update/modify/refine → update_aesthetic (Operation 5)
  1. save_aesthetic - Analyze mockup HTML and generate structured prose aesthetic.md
  2. apply_aesthetic - Interpret aesthetic.md to generate new mockup with appropriate layout
  3. list_aesthetics - Show all saved aesthetics with prose summaries
  4. delete_aesthetic - Remove aesthetic from library
  5. update_aesthetic - Refine aesthetic.md from improved mockup

CRITICAL: Checkpoint Verification Protocol

Before presenting decision menu in ANY operation:

ALL steps must complete successfully. If ANY step fails: HALT, report specific error, DO NOT proceed to decision menu.

Verification checklist (run before showing menu):

  • All required files created successfully
  • File contents are valid (aesthetic.md not empty, metadata.json valid JSON)
  • manifest.json updated successfully
  • Git commit completed (if applicable)
  • No error states from previous steps

Error handling:

  • Steps 1-6 fail → Report error, do not create partial aesthetic directory
  • Step 7 fails (manifest) → Aesthetic files exist but not registered, offer retry
  • Step 7.5 fails (git) → Non-fatal, warn "Aesthetic saved but not committed"

Note: Always use inline numbered menus (NOT AskUserQuestion tool) to maintain consistency with system-wide Checkpoint Protocol.


Directory Structure

.claude/aesthetics/
├── manifest.json                    # Registry of all aesthetics
└── [aesthetic-id]/
    ├── aesthetic.md                 # Structured prose description (THE SOURCE OF TRUTH)
    ├── preview.html                 # Visual reference (original mockup)
    └── metadata.json                # Name, description, source plugin, tags

Key change from previous system:

  • aesthetic.yaml → aesthetic.md: YAML specs replaced with structured prose descriptions
  • Format is consistent and parseable, but content is interpretable concepts, not rigid values

Capture visual design from mockup as structured prose aesthetic.md Initialize .claude/aesthetics/ directory if missing (mkdir -p) Validate mockup file exists and is readable Read mockup HTML file into memory (Read tool) Extract visual patterns using pattern-extraction.md strategies Generate prose descriptions using prose-generation.md guidelines Write aesthetic.md following aesthetic-template.md structure exactly: same section headers in same order, fill all sections with prose (no placeholders) (load template from assets/aesthetic-template.md, if missing: report critical error) Copy preview.html to aesthetic directory Generate metadata.json with inferred tags Update manifest.json using Read → modify → Write pattern (if missing: initialize from assets/manifest-init.json) Commit aesthetic to git using conventional format Present confirmation + decision menu See "CRITICAL: Checkpoint Verification Protocol" section for complete verification requirements.

Operation 1: save_aesthetic

See: references/save-operation.md for complete 8-step workflow.


Generate new mockup by interpreting aesthetic prose and adapting to target plugin Load aesthetic.md and metadata.json (Read tool) Read target plugin parameter-spec.md or creative-brief.md Interpret aesthetic prose using a
Полный SKILL.md на GitHub

Установить ui-template-library в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Write
Bash

Вложенные файлы

assets/aesthetic-template.mdassets/manifest-init.jsonassets/metadata-template.jsonreferences/aesthetic-interpretation.mdreferences/apply-operation.mdreferences/control-generation.mdreferences/delete-operation.mdreferences/implementation-notes.mdreferences/layout-generation.mdreferences/list-operation.mdreferences/pattern-extraction.mdreferences/prose-generation.mdreferences/save-operation.mdreferences/update-operation.md

FAQ

Что делает скилл ui-template-library?

Manage aesthetic templates - save visual systems from completed mockups as interpretable prose, apply to new plugins with adaptive layouts

Как установить скилл ui-template-library?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл ui-template-library запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить ui-template-library с