shadcn: a Claude Code skill by shadcn
Official
For React developers on shadcn/ui who want Claude to add and compose components through the CLI. Skip it if your project has no components.json and you do not plan one.
- Score
- 93of 100
- Rank
- #4of 200
- Installs
- 408Kon skills.sh
- Security
- Mixed 5 scanners
- Updated
- 2026
- Context
- ~124tokens always
Install
npx skills add https://github.com/shadcn-ui/ui --skill shadcn Run it in your terminal. View the source
What does shadcn do?
shadcn is a Claude skill that guides Claude through projects built on shadcn/ui. When it loads, it runs npx shadcn@latest info --json to read your config, installed components, Tailwind version, icon library and import aliases. Claude then searches registries, fetches component docs with the docs command, and installs with add, previewing updates with --dry-run and --diff. It enforces rules such as FieldGroup for forms, gap instead of space-y, semantic color tokens and a title on every dialog. It also handles preset codes with apply and preset decode, chat UI primitives, and building a themed design system from a DESIGN.md file.
When should you use shadcn?
Use it when
- Adding or updating components in an existing shadcn/ui app
- Applying a preset code to restyle a project
- Turning a DESIGN.md brand spec into themed components
Skip it when
- Your interface uses a different component library
- You are not building with React and Tailwind
What it needs and what it can touch
You need
- Node.js with npx, pnpm or bun
It can
- Runs the shadcn CLI through npx, pnpm dlx or bunx
- Reads and edits project files
- Fetches component docs from the web
From reading its instructions, not from running it.
Why it scores 93
Strongest on upkeep (100 of 100), weakest on adoption (83).
Is shadcn safe to install?
At least one scanner raised a medium warning. Read the results below. Scanners often miss what other scanners catch, and a skill can change after a scan. Read its source before you install it.
| Scanner | Result | Date |
|---|---|---|
| Gen Agent Trust Hub | Passed | Oct 15, 2026 |
| Socket | Medium risk | Oct 15, 2026 |
| Snyk | Low risk | Oct 15, 2026 |
| Runlayer | Passed | Mar 13, 2026 |
| ZeroLeaks | Passed | Apr 15, 2026 |
Details
- Installs
- 407,789
- Repository stars
- 127,298
- Last repository change
- Tokens always loaded
- about 124
- Tokens when used
- about 5,212
- License
- MIT
- Data confidence
- High
Did it do the job for you?
Alternatives to shadcn
All skills for this job-
Get frontend-designfrontend-design
For anyone asking Claude to build a page or screen whose look should be chosen for the subject.
-
Get vercel-react-best-practicesvercel-react-best-practices
For React and Next.js developers who want slow pages and heavy bundles fixed by a ranked rulebook.
-
Get ui-ux-pro-maxui-ux-pro-max
For builders who want Claude to pick styles, palettes and fonts from a local search database before writing UI.
-
Get design-taste-frontenddesign-taste-frontend
For people building landing pages or app screens who want a chosen art direction, checked in a real browser.