Command Palette

Search for a command to run...

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

shadcn

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

shadcn/ui components on Radix or Base UI.

PyModelот PyModel★ 52 звезды на GitHub

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

shadcn/ui Community Best Practices

Current best-practices guide for shadcn/ui applications. Before applying primitive-specific guidance, inspect whether the checked-in components use Radix UI or Base UI; current shadcn supports both (Base UI is the default for new projects) and their composition APIs differ. Component installs go through the CLI (v4), which resolves namespaced registries.

When to Apply

Reference these guidelines when:

  • 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 Component Architecture CRITICAL arch-
2 Accessibility Preservation CRITICAL ally-
3 Styling & Theming HIGH style-
4 Form Patterns HIGH form-
5 Data Display MEDIUM-HIGH data-
6 Component Composition MEDIUM comp-
7 Performance Optimization MEDIUM perf-
8 State Management LOW-MEDIUM state-

Quick Reference

1. Component Architecture (CRITICAL)

2. Accessibility Preservation (CRITICAL)

3. Styling & Theming (HIGH)

4. Form Patterns (HIGH)

5. Data Display (MEDIUM-HIGH)

Полный SKILL.md на GitHub

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

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

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

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

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

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

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

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

references/ally-ensure-color-contrast.mdreferences/ally-maintain-focus-management.mdreferences/ally-preserve-aria-attributes.mdreferences/ally-preserve-keyboard-navigation.mdreferences/ally-provide-sr-only-labels.mdreferences/arch-current-cli-registry.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-unified-radix-package.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/perf-avoid-unnecessary-rerenders-in-forms.mdreferences/perf-debounce-search-inputs.mdreferences/perf-lazy-load-heavy-components.mdreferences/perf-memoize-expensive-renders.mdreferences/perf-optimize-icon-imports.mdreferences/state-colocate-state-with-components.mdreferences/state-lift-state-to-appropriate-level.mdreferences/state-prefer-uncontrolled-for-simple-inputs.mdreferences/state-use-controlled-dialog-state.mdreferences/style-avoid-important-overrides.mdreferences/style-consistent-spacing-scale.md

FAQ

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

shadcn/ui components on Radix or Base UI.

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

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

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

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

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

Сравнить shadcn с