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 MODSetter

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

  • Score 91
  • 17k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install shadcn

Built from the published package, never by AI.

git clone --depth 1 https://github.com/MODSetter/SurfSense /tmp/SurfSense && mkdir -p ~/.claude/skills && cp -r /tmp/SurfSense/.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 projects. It gives the assistant project context from the shadcn CLI, including the components.json config and installed components. It also covers adding, searching, fixing, debugging and styling components, along with preset codes and chat interface building blocks.

The skill sets rules for forms, component structure, icons, styling and chat UI. Examples include using FieldGroup and Field for form layout and semantic color tokens instead of raw values. It points the assistant to CLI commands for component docs, registry search and presets. The source says it applies to developers working with shadcn/ui, component registries, or any project with a components.json file. The skill is marked user-invocable: false.

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 info command.
  • Component searchSearches registries for existing components with npx shadcn@latest search.
  • Component docsReturns documentation and example URLs for a component via the docs command.
  • Form layout rulesEnforces FieldGroup and Field structure and data-invalid and aria-invalid usage.
  • Styling rulesEnforces semantic colors, gap utilities, size-* classes and cn() for conditionals.
  • Chat UI compositionGuides use of MessageScroller, Message, Bubble, Attachment and Marker.
  • Preset handlingDecodes, opens and resolves preset codes with the preset CLI commands.
  • Applying presetsApplies preset codes to existing projects with apply, or during init.

What you need

  • A project that uses shadcn/ui or has a components.json file
  • npx, pnpm dlx or bunx to run the shadcn CLI
  • The frontend-workflow skill, which the source says to load first

Try asking

  • Add a settings page with Tabs, Card and form fields using shadcn
  • Search the shadcn registry for a date picker component
  • Apply this shadcn preset code to my existing project

Good to know

  • Marked user-invocable: false in its frontmatter.
  • Relies on the frontend-workflow skill for color tokens, polish and motion.
  • CLI commands are limited to the npx, pnpm dlx and bunx shadcn@latest forms listed in allowed-tools.

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.md19 KB
  • cli.md17 KB
  • customization.md6 KB
  • evals/evals.json6 KB
  • mcp.md3 KB
Show all 12 files
  • registry.md9 KB
  • rules/base-vs-radix.md7 KB
  • rules/chat.md8 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

Does this skill need the frontend-workflow skill?

The source says to load the frontend-workflow skill first, since it owns color tokens, polish, motion and conflict precedence. This skill covers component wiring, the registry and the CLI.

Which package runners does it use?

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

Can users invoke it directly?

The frontmatter sets user-invocable to false. Its description lists triggers such as shadcn init and switch to --preset.

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 Apache-2.0 licence. The service it connects to may have its own pricing.

Is shadcn safe to use?

It scores 91 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.