Command Palette

Search for a command to run...

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

custom-ui-spec

БесплатноЗапускает вложенные скриптыНе проверен

A highly customizable UI design specification system based on headless component libraries (shadcn/ui, Radix UI), integrating Apple HIG, Microsoft Fluent…

fizeот fize552 установки в других каталогах

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

Custom UI Spec

Overview

This skill provides strict definitions for six major design specifications — Apple HIG, Microsoft Fluent, Google Material Design, Anthropic Editorial, OpenAI Modernist, and ArtCraft Blueprint — to guide highly customizable UI implementations based on headless component libraries like shadcn/ui and Radix UI.

Unlike scenarios using off-the-shelf UI frameworks (e.g., TDesign), this skill is for projects that require full control over component anatomy and styling, emphasizing design freedom, brand customization, and cross-platform design consistency.

Specification Selection Decision Tree

Dimension A: Target Platform (default recommendation)

Platform Recommended Spec Rationale
iOS / iPadOS / macOS / watchOS / tvOS HIG Native Apple ecosystem experience
Windows / Xbox Fluent Native Microsoft ecosystem experience
Android / Web / Flutter Material Native Google ecosystem experience
AI Research Hubs / Editorial / Long-form Docs Anthropic Editorial Warm literary authority, high readability, zero-shadow hairline structure
Conversational AI / Multimodal Galleries / Modern SaaS OpenAI Modernist Swiss geometric clarity, borderless pearl surfaces, prompt-first UX
Creative Studios / Local-First AI Workbenches / Pro Tools ArtCraft Blueprint Zero-radius CAD blueprint grid, corner crosshair ticks, 3-tier sunken viewports
Cross-platform / Unsure Ask about design tone preference See Dimension B

Dimension B: Design Tone Preference (when platform is unclear)

Design Tone Recommended Spec Typical Scenarios
Refined, native, restrained, layered HIG Utility apps, productivity software, Apple ecosystem products
Productive, professional, deep, luminous Fluent Enterprise software, office suites, Windows ecosystem products
Bold, graphical, tactile, dynamic Material Consumer apps, creative products, Google ecosystem products
Warm, literary, academic, hairline-structured Anthropic Editorial AI research portals, documentation hubs, academic journals, knowledge tools
Crisp, gallery-white, borderless, atmospheric OpenAI Modernist Conversational AI apps, generative media showcases (video/audio), modern workspaces
Architectural, zero-radius, blueprint-grid, industrial HUD ArtCraft Blueprint Creative AI studios, node workflow editors, 3D/video pipelines, developer tools

Decision Flow:

User specified a spec explicitly?
├── Yes → Use the specified spec directly
└── No → User specified a target platform?
    ├── Yes → Recommend per Dimension A
    └── No → Ask about design tone preference (Dimension B)
        └── User chooses "All" → Comprehensive cross-check (flag cross-spec conflicts)

Usage Modes

Generation Mode

Before generating UI code:

  1. Determine the target spec using the decision tree
  2. Read the corresponding references/<spec>.md for the complete specification
  3. Implement compliant styles using headless components like shadcn/ui
  4. Run scripts/validate_ui.py for automated validation
  5. Self-check against references/checklist.md item by item
  6. Output the validation report

Review Mode

When reviewing existing UI code/design:

  1. Determine the target spec based on code characteristics or user input
  2. Run scripts/validate_ui.py for automated static analysis
  3. Cross-check against references/checklist.md item by item
  4. Output the validation report (Pass / Warning / Error)

Validation Flow

Three-step validation:

  1. Automated check: Run scripts/validate_ui.py --spec <hig|fluent|material> --file <path> or --text <code>
  2. Manual self-check: Agent cross-checks against references/checklist.md item by item
  3. Report output: Combine automated results and manual review into a structured validation report

Color checks are skipped by default. Add --check-color to enable them.

Component Mapping Quick Reference

Unified Name HIG Fluent Material
Button Button Button Button
TextField Text Field Input Text Field
Checkbox Checkbox Checkbox Checkbox
RadioButton Radio Button Radio Radio Button
Switch Toggle Switch Switch
Slider Slider Slider Slider
ProgressIndicator Progress View Progress Bar Progress Indicator
Menu Menu Menu Menu
Dialog Alert / Sheet Dialog Dialog
Card — Card Card
List List List List
NavigationBar Navigation Bar Navigation App Bar / Bottom App Bar
TabBar Tab Bar Tab Tabs
SegmentedControl Segmented Control — —
Tooltip Tooltip Tooltip Tooltip
Badge Badge Badge Badge
Chip — Tag Chip
DatePicker Date Picker Date Picker Date Picker
Table Table Data Grid Data Table
Breadcrumb — Breadcrumb —
Select Pop-up Button Dropdown Exposed Dropdown Menu
Autocomplete
Полный SKILL.md на ClawHub

Установить custom-ui-spec в Claude Code и Claude Desktop

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

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

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

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

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

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл custom-ui-spec?

A highly customizable UI design specification system based on headless component libraries (shadcn/ui, Radix UI), integrating Apple HIG, Microsoft Fluent, Google Material Design, Anthropic Editorial Warm, OpenAI Swiss Modernist, and ArtCraft Studio Blueprint. Unlike using off-the-shelf frameworks (Ant Design, Element Plus), this skill is for scenarios requiring full control over component styles and DOM structure, emphasizing design freedom and brand customization. Use when: generating custom UI code, reviewing custom UI designs, or needing to follow platform-specific or AI-native design guidelines. Supports HIG / Fluent / Material / Anthropic / OpenAI / ArtCraft / All specification modes. Keywords: shadcn/ui, Radix UI, headless, custom components, HIG, Fluent, Material Design, Anthropic, Claude, OpenAI, ChatGPT, ArtCraft, editorial UI, modernist UI, blueprint UI.

Как установить скилл custom-ui-spec?

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

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

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

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

Сравнить custom-ui-spec с