What the tech

Search

/ opens search from anywhere. Esc closes it.

Tools

Get the newsletter

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 239
Installs
415Kon 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

Using the Claude app rather than Claude Code? You can add a skill there too. How to add it in the app

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

What it can do

  • 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).

  • Adoption35 points 83
  • Upkeep20 points 100
  • Trust20 points 97
  • Quality15 points 100
  • Reader answers10 points Not enough answers yet, so this does not count

How the formula works

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.

ScannerResultDate
Gen Agent Trust HubPassedOct 15, 2026
SocketMedium riskOct 15, 2026
SnykLow riskOct 15, 2026
RunlayerPassedMar 13, 2026
ZeroLeaksPassedApr 15, 2026

Details

Installs
414,947
Repository stars
127,835
Last repository change
Tokens always loaded
about 124
Tokens when used
about 5,212
License
MIT
Data confidence
High

Alternatives to shadcn

All skills for this job