Skip to content

Best-practice rules guide for shadcn/ui covering setup, accessibility, forms, theming, and composition across 58 rules.

CCM score
52 of 100
skills.sh installs
745
GitHub stars
228
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers 10 prioritized categories, from CLI setup and component architecture through accessibility, styling, forms, data display, layout, and state
  • Includes a quick-reference index linking each rule to its reference file, such as setup-components-json and ally-dialog-title-required
  • Enforces Radix ARIA preservation, focus management, and WCAG contrast, and bans !important overrides for styling
  • Designed for reviewing, writing, or refactoring shadcn/ui components that use Radix primitives, Tailwind, and React Hook Form with Zod

Install

$ npx -y skills add pproenca/dot-skills --skill shadcn -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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

Details

Repository
github.com/pproenca/dot-skills
Categories
Frontend & UI Code, Design & UI/UX
First seen
May 16, 2026

More from pproenca/dot-skills

All 100

Similar to Shadcn

More Frontend & UI Code