
If you're working with shadcn/ui components, this skill keeps you from making the classic mistakes. It enforces design token usage instead of hardcoded colors (which break theme switching), teaches you the right compound component export pattern, and reminds you not to strip out Radix UI's accessibility attributes. The checklist alone is worth it: verify token usage, test keyboard nav, use separate exports not namespaced properties. It references a patterns doc for deeper examples. Basically, it's the diff between components that work in both light and dark mode with proper a11y, versus ones that look fine until someone switches themes or uses a screen reader.
$ npx -y skills add pedronauck/skills --skill shadcn --agent claude-codeInstalls into .claude/skills of the current project.
This skill provides guidelines, patterns, and best practices for working with shadcn/ui components in this project.
references/patterns.md for comprehensive styling, theming, and component patterns.tailwindcss skill.Always use design system tokens for theme switching compatibility:
Required tokens:
bg-background, bg-card, bg-muted, bg-popovertext-foreground, text-muted-foreground, text-card-foregroundborder-border, border-input, border-ringbg-primary text-primary-foreground, bg-secondary text-secondary-foregroundbg-destructive text-destructive-foreground, bg-accent text-accent-foregroundSponsors