use-shadcn
Installation
SKILL.md
Build shadcn/ui components following monorepo structure and coding standards.
- Use MCP servers: Use
shadcnui-officialfor single components/variants/canonical patterns, useshadcnui-jpisnice-reactfor full blocks/demos/page templates, only call MCP when unsure about implementation or encountering errors - Install in
@repo/ui: Install components inpackages/ui/src/components/, ensurecomponents.jsonpoints to@repo/ui/lib/utilsand@repo/ui/components, follow existing component organization patterns - Follow monorepo import patterns: Import from
@repo/ui/components/*never directly from packages/ui, use@repo/ui/lib/utilsfor utilities likecn, import Radix primitives from@repo/ui/radixnever directly from@radix-ui/react-* - Apply coding standards: Follow TypeScript rules (interfaces, type inference, RORO pattern), use class-variance-authority (cva) for variants, apply mobile-first responsive design, follow linting rules (Biome + ESLint)
- Verify and test: Run
pnpm lint:fixto ensure code quality, verify imports work correctly in consuming apps, test component functionality and responsiveness