Command Palette

Search for a command to run...

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

shadcn

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

shadcn/ui component library best practices and patterns (formerly shadcn-ui). This skill should be used when writing, reviewing, or refactoring shadcn/ui…

pproencaот pproenca★ 231 звезда на GitHub

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

shadcn/ui Community Best Practices

Comprehensive best practices guide for shadcn/ui applications, maintained by the shadcn/ui community. Contains 58 rules across 10 categories, prioritized by impact to guide automated refactoring and code generation.

When to Apply

Reference these guidelines when:

  • Installing and configuring shadcn/ui in a project
  • Writing new shadcn/ui components or composing primitives
  • Implementing forms with React Hook Form and Zod validation
  • Building data tables or handling large dataset displays
  • Customizing themes or adding dark mode support
  • Reviewing code for accessibility compliance

Rule Categories by Priority

Priority Category Impact Prefix
1 CLI & Project Setup CRITICAL setup-
2 Component Architecture CRITICAL arch-
3 Accessibility Preservation CRITICAL ally-
4 Styling & Theming HIGH style-
5 Form Patterns HIGH form-
6 Data Display MEDIUM-HIGH data-
7 Layout & Navigation MEDIUM layout-
8 Component Composition MEDIUM comp-
9 Performance Optimization MEDIUM perf-
10 State Management LOW-MEDIUM state-

Quick Reference

1. CLI & Project Setup (CRITICAL)

2. Component Architecture (CRITICAL)

3. Accessibility Preservation (CRITICAL)

4. Styling & Theming (HIGH)

5. Form Patterns (HIGH)

  • [form-use-react-hook-form-integration](references/form-use-react-hook-form-inte
Полный SKILL.md на GitHub

Установить shadcn в Claude Code и Claude Desktop

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

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

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

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

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

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

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

AGENTS.mdREADME.mdassets/templates/_template.mdmetadata.jsonreferences/_sections.mdreferences/ally-aria-invalid-errors.mdreferences/ally-checkbox-label-association.mdreferences/ally-dialog-title-required.mdreferences/ally-ensure-color-contrast.mdreferences/ally-focus-visible-styles.mdreferences/ally-form-field-labels.mdreferences/ally-maintain-focus-management.mdreferences/ally-preserve-aria-attributes.mdreferences/ally-preserve-keyboard-navigation.mdreferences/ally-provide-sr-only-labels.mdreferences/arch-extend-variants-with-cva.mdreferences/arch-forward-refs-for-composable-components.mdreferences/arch-isolate-component-variants.mdreferences/arch-preserve-radix-primitive-structure.mdreferences/arch-use-asChild-for-custom-triggers.mdreferences/arch-use-cn-for-class-merging.mdreferences/comp-combine-command-with-popover.mdreferences/comp-compose-with-compound-components.mdreferences/comp-create-reusable-form-fields.mdreferences/comp-nest-dialogs-correctly.mdreferences/comp-use-drawer-for-mobile-modals.mdreferences/comp-use-slot-pattern-for-flexibility.mdreferences/data-empty-states-with-guidance.mdreferences/data-paginate-server-side.mdreferences/data-use-skeleton-loading-states.mdreferences/data-use-tanstack-table-for-complex-tables.mdreferences/data-virtualize-large-lists.mdreferences/form-handle-async-validation.mdreferences/form-reset-form-state-correctly.mdreferences/form-show-validation-errors-correctly.mdreferences/form-use-react-hook-form-integration.mdreferences/form-use-zod-for-schema-validation.mdreferences/layout-breadcrumb-navigation.mdreferences/layout-sheet-mobile-nav.mdreferences/layout-sidebar-collapsible.md

FAQ

Что делает скилл shadcn?

shadcn/ui component library best practices and patterns (formerly shadcn-ui). This skill should be used when writing, reviewing, or refactoring shadcn/ui components to ensure proper architecture, accessibility, and performance. Triggers on tasks involving Radix primitives, Tailwind styling, form validation with React Hook Form, data tables, theming, or component composition patterns.

Как установить скилл shadcn?

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

Скилл shadcn запускает скрипты?

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

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

Сравнить shadcn с