shadcn
Skill by sickn33
Guides AI assistants through shadcn/ui components and projects. It covers finding, adding, styling and updating components that the shadcn CLI copies into a project as source code. Aimed at developers building design systems with shadcn/ui.
Install shadcn
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/shadcn ~/.claude/skills/shadcnRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/shadcn ~/.gemini/antigravity-cli/skills/shadcnAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The shadcn skill gives an AI assistant guidance for working with shadcn/ui, a framework for building UI components and design systems. Components are added to the user's project as source code through the shadcn CLI. The skill lists rules for Tailwind styling, forms, component structure, and icons, plus a table that maps common needs to components.
The assistant is told to read components.json, the package manifest and the installed components first, and to run the CLI info command where an approved CLI is available. It should search registries before writing custom UI, fetch component docs with the docs command, and preview changes with dry-run and diff before updating installed components. The source is aimed at developers building design systems with shadcn/ui.
Written from the project's SKILL.md and checked against it.
What it can do
- Component searchChecks shadcn and community registries with the search command before custom UI is written.
- Docs lookupRuns the docs command for a component and fetches the listed documentation and examples.
- Project contextReads components.json, the package manifest and installed components, and can run the info command.
- Install and updateAdds components with the add command and previews updates with --dry-run and --diff.
- Styling rulesSets defaults such as semantic color tokens, gap-based spacing, size-* and cn() for conditional classes.
- Form and input rulesGuides use of FieldGroup, Field, InputGroup and data-invalid with aria-invalid for validation.
- Component composition rulesCovers Group wrappers, Card structure, Dialog titles, Tabs and Avatar fallbacks.
- Icon rulesExplains data-icon placement in Button and passing icons as objects instead of string keys.
What you need
- A shadcn/ui project with a components.json file
- Node.js package runner such as npx, pnpm dlx or bunx
Try asking
- Search shadcn registries for a date picker and add it to my project.
- Show me the docs and examples for the Dialog component.
- Review my signup form and convert it to FieldGroup and Field.
Good to know
- Commands using @latest download and run a mutable npm package, so confirm the version and registry first.
- Default rules apply to documented presets; installed source, accessibility needs and user design choices take precedence.
- Skill Markdown does not inject project command output automatically, so the assistant must run the commands itself.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/shadcn/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md18 KB -
agents/openai.yml238 B -
assets/shadcn-small.png1 KB -
assets/shadcn.png4 KB -
cli.md15 KB
Show all 13 files
-
customization.md6 KB -
evals/evals.json3 KB -
mcp.md2 KB -
rules/base-vs-radix.md7 KB -
rules/composition.md4 KB -
rules/forms.md5 KB -
rules/icons.md2 KB -
rules/styling.md4 KB
Alternatives to shadcn
All alternatives →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.
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.
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.
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.
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.
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.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
shadcn: common questions
What does the shadcn skill do?
It gives an AI assistant rules and workflow steps for working with shadcn/ui components, including searching, documenting, adding and updating them. It also lists styling and composition defaults.
Does it add components to my project?
The source says components are added as source code to the user's project through the shadcn CLI. The skill directs the assistant to run the add command, with dry-run and diff previews for updates.
Which package runner does it use?
The source says to use the project's package runner, such as npx shadcn@latest, pnpm dlx shadcn@latest or bunx --bun shadcn@latest, based on the project's packageManager.
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 93 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.
