Give the assistant project-aware shadcn/ui context: components.json, composition patterns, CLI, registries, theming, and MCP. Use when working on web UI, shadcn components, or presets. Overview aligns with https://ui.shadcn.com/docs/skills.md; full upstream skill text is vendored under vendor/shadcn/.
56
63%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Critical
Do not install without reviewing
Fix and improve this skill with Tessl
tessl review fix ./.agents/skills/shadcn-ui/SKILL.mdSkills give AI assistants project-aware context about shadcn/ui. When used, the assistant knows how to find, install, compose, and customize components using the correct APIs and patterns for your project.
For example, you can ask:
The skill reads your project's components.json and provides your framework, aliases, installed components, icon library, and base library so it can generate correct code on the first try.
Official install from Skills — shadcn/ui:
npx skills add shadcn/uiThat installs the skill where the skills CLI is available. This repository keeps the same intent under .agents/skills/shadcn-ui/ (overview here + vendored upstream docs in vendor/shadcn/) and runs the shadcn CLI from the frontend app root:
cd web && bunx shadcn@latest info --jsonLearn more about skills at skills.sh.
Run shadcn info --json (here: cd web && bunx shadcn@latest info --json) for framework, Tailwind version, aliases, base (radix | base), icon library, installed components, and resolved paths.
Full command reference (vendored): vendor/shadcn/cli.md.
Vendored: vendor/shadcn/customization.md. Live docs: Theming.
Not duplicated as a single file in the vendor tree; see Registry and build in vendor/shadcn/cli.md.
Vendored: vendor/shadcn/mcp.md. Live docs: MCP Server.
components.json exists (here: web/components.json).shadcn info --json as ground truth for imports and APIs.vendor/shadcn/rules/ for concrete markup checks; the complete official workflow reference is listed below for deeper CLI, registry, and preset questions.shadcn docs, shadcn search, MCP, or registries — see the official workflow reference and MCP doc when deeper context is needed.vendor/shadcn/cli.mdSnapshot from shadcn-ui/ui skills/shadcn; revision note in vendor/shadcn/UPSTREAM.txt. The upstream workflow is stored as a reference file, with its original skill frontmatter removed, so the vendored copy is not discovered as a second local skill.
| Doc | Path |
|---|---|
| Official shadcn/ui workflow reference | vendor/shadcn/official-shadcn-ui-workflow.md |
| CLI reference | vendor/shadcn/cli.md |
| Theming / customization | vendor/shadcn/customization.md |
| MCP | vendor/shadcn/mcp.md |
| Forms | vendor/shadcn/rules/forms.md |
| Composition | vendor/shadcn/rules/composition.md |
| Icons | vendor/shadcn/rules/icons.md |
| Styling | vendor/shadcn/rules/styling.md |
| Base vs Radix | vendor/shadcn/rules/base-vs-radix.md |
Workflow: Prefer this root SKILL.md for repo paths (web, Bun). Read vendor/shadcn/official-shadcn-ui-workflow.md only when you need the complete official component, registry, or preset workflow. Use vendor/shadcn/rules/*.md when validating concrete markup.
4728032
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.