shadcn skill: add shadcn/ui components with an agent
A skill from the shadcn/ui maintainers
shadcn/ui is a component library for building web interfaces, and this skill is the one its own maintainers wrote, kept beside the library's source. In plain terms, it lets a coding agent drive the shadcn command-line tool for you: adding components, searching for them, composing them into screens and starting new projects from presets. It also gives the agent house rules for styling, forms, icons and chat UI. SKILL.md sets out eleven critical rule categories, including Tailwind usage, form layout and semantic colours. The parent repository, shadcn-ui/ui, had 129.4k stars on November 29, 2026, and is MIT licensed.
Adding and composing shadcn components
- Tell your agent to add and compose shadcn components in a project without hand-writing CLI commands. The skill only allows npx, pnpm dlx or bunx calls to shadcn@latest.
- Keep generated screens consistent by having the agent follow the rules on Tailwind usage, form layout and semantic colours instead of improvising its own.
- Pair it with the companion MCP server if you want it as well. It is set up with pnpm dlx shadcn@latest mcp init --client claude.
Where to start with the skill
Open the skill folder in the shadcn-ui/ui repository and read SKILL.md first, then cli.md and design-system.md for the detail. The folder also holds rules, scripts and evals. The most recent change I saw there was dated October 14, 2026, and the folder was created on February 26, 2026.