shadcn-ui
Project-aware shadcn/ui workflow for searching, adding, composing, and fixing components with correct patterns. Reads the local project's shadcn config and installed components and avoids common shadcn anti-patterns during implementation.
How do I install this agent skill?
npx skills add https://github.com/podo/design-agent-skills --skill shadcn-uiIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill acts as a legitimate installer and manager for shadcn/ui components, fetching resources from official sources and using standard development tools to integrate UI elements into the project.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
shadcn-ui
<!-- das:install:start — generated from stub.yaml by `npm run generate`; edit stub.yaml, not this block -->Catalogue stub — full skill: shadcn-ui/ui (
skills/shadcn)
Decision tree
-
Is the full skill already installed? Upstream names this skill
shadcn, so it installs next to this pointer (the pointer is not replaced).- Global:
f=~/.agents/skills/shadcn/SKILL.md; [ -f "$f" ] && ! grep -q "^das:" "$f" && echo "installed" || echo "pointer" - Project:
f=.agents/skills/shadcn/SKILL.md; [ -f "$f" ] && ! grep -q "^das:" "$f" && echo "installed" || echo "pointer" installed→ the skill is installed asshadcn, invoke it and proceedpointer→ go to step 2
- Global:
-
Detect scope, then install:
[ -e ~/.agents/skills/shadcn-ui ] && echo "global" || echo "project"Global:
npx skills add shadcn-ui/ui --skill shadcn -g -yProject:
npx skills add shadcn-ui/ui --skill shadcn -yClaude Code: send a command as a chat message starting with
!to run it without leaving the conversation.
Heads-up
- Requires: Node.js: the skill runs the shadcn CLI through your package runner (
npx shadcn@latest ..., fetched from npm at use time), includinginfo --jsonfor project context; A project with a components.json file (or one you are about to create withshadcn init) - License: MIT
- Download size: ~71 MB.
- Name collision:
shadcn-uiis also written bygoogle-stitch-skills(its install or its catalogue pointer); installing both overwrites the earlier one.
Invoke after install
- Skill name:
shadcn - Trigger phrases: "shadcn", "shadcn/ui", "shadcn component", "ui component"
What it does
Provides a project-aware workflow for working with shadcn/ui: searching the available component registries (including community registries), adding components with the correct CLI command, composing components from existing ones (a settings page is Tabs + Card + form controls), using built-in variants and semantic colors before custom styles, and fixing common implementation mistakes. It also covers presets, registries and design-system pages. The skill loads project context by running npx shadcn@latest info --json.
The same upstream repository ships a separate migrate-radix-to-base skill for moving components from Radix UI to Base UI; it is not part of this stub (add it with npx skills add shadcn-ui/ui --skill migrate-radix-to-base).
When NOT to use
- A non-shadcn component library, or a design system built from scratch — use
design-consultation - Google Stitch to shadcn conversion — use
google-stitch-skills
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/podo/design-agent-skills/shadcn-ui">View shadcn-ui on skillZs</a>