Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

shadcn

Skill by kriasoft

Manages shadcn/ui components and projects, including adding, searching, fixing, styling and composing UI. Built for developers working in projects with a components.json file or shadcn/ui presets.

  • Score 94
  • 24k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install shadcn

Built from the published package, never by AI.

git clone --depth 1 https://github.com/kriasoft/react-starter-kit /tmp/react-starter-kit && mkdir -p ~/.claude/skills && cp -r /tmp/react-starter-kit/.agents/skills/shadcn ~/.claude/skills/shadcn

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install shadcn in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

shadcn is an agent skill for working with shadcn/ui, a framework for building UI, components and design systems. It covers adding, searching, fixing, debugging, styling and composing UI, including chat interfaces. The skill reads project context through the shadcn CLI's info command, which covers the project config and installed components, and it points to component docs and usage examples.

Components are added to the user's project as source code through the CLI. The skill sets rules for styling, forms, component structure, icons and chat UI, and tells the assistant to fetch docs before writing code. It applies to projects with a components.json file, to registries and presets, and to phrases such as shadcn init. The listing is published by kriasoft and is marked as not user-invocable.

Written from the project's SKILL.md and checked against it.

What it can do

  • Project contextReads the project config and installed components with the shadcn info command.
  • Component searchSearches shadcn registries before custom UI is written.
  • Component docsGets documentation and example URLs for a component with the docs command.
  • Adding componentsInstalls components as source code into the user's project via the CLI.
  • Updating componentsPreviews changes to installed components with dry-run and diff options.
  • Preset handlingDecodes, resolves and applies preset codes using the shadcn CLI.
  • UI rulesEnforces rules for styling, forms, icons, component structure and chat UI.
  • Chat UI compositionBuilds chat interfaces from MessageScroller, Message, Bubble, Attachment and Marker.

What you need

  • A project using shadcn/ui with a components.json file
  • npx, pnpm dlx or bunx to run the shadcn CLI

Try asking

  • Add a dialog and a sheet to this shadcn project
  • Build a settings page with Tabs, Card and form fields
  • Create a chat interface using shadcn MessageScroller and Bubble

Good to know

  • Marked user-invocable: false in the skill frontmatter.
  • Components are added as source code, so the project owns and edits those files.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/shadcn/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: Bash(npx shadcn@latest *)Bash(pnpm dlx shadcn@latest *)Bash(bunx --bun shadcn@latest *)

  • SKILL.md18 KB
  • agents/openai.yml238 B
  • assets/shadcn-small.png1 KB
  • assets/shadcn.png4 KB
  • cli.md13 KB
Show all 15 files
  • customization.md5 KB
  • evals/evals.json6 KB
  • mcp.md3 KB
  • registry.md8 KB
  • rules/base-vs-radix.md7 KB
  • rules/chat.md7 KB
  • rules/composition.md5 KB
  • rules/forms.md5 KB
  • rules/icons.md2 KB
  • rules/styling.md5 KB

Alternatives to shadcn

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

shadcn: common questions

What does the shadcn skill do?

It helps an assistant add, search, fix, style and compose shadcn/ui components. It also gives project context, component docs and usage examples.

Which package runners does it use?

The source says to use the project's package runner: npx shadcn@latest, pnpm dlx shadcn@latest, or bunx --bun shadcn@latest, based on the project's packageManager.

Can it help build chat interfaces?

Yes. The source includes rules for chat UI built from MessageScroller, Message, Bubble, Attachment and Marker components.

How do I install shadcn?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is shadcn free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is shadcn safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to shadcn?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

shadcn Install

Add to stack

Loading.