← All skills
shadcn
80 / 100 · Low risk
Fine to try. Some of what it can do is expected: a coding skill usually runs build and test commands.
By davila7/claude-code-templates (GitHub) · coding · 33,256 stars · scanned at commit a6e6f93
Manages shadcn/ui components and projects, providing context, documentation, and usage patterns for building modern design systems.
Works with any agent that supports SKILL.md skills.
What this skill can do
Downloads and installs other software
The author does not mention this.
Found in 73 places.
Show 17 more
- cli-tool/components/skills/web-development/shadcn/SKILL.md, line 32
1. **Use existing components first.** Use `npx shadcn@latest search` to check registries before writing custom UI. Check community registries too. - cli-tool/components/skills/web-development/shadcn/SKILL.md, line 63
- **Use `asChild` (radix) or `render` (base) for custom triggers.** Check `base` field from `npx shadcn@latest info`. → [base-vs-radix.md](./rules/base-vs-radix - cli-tool/components/skills/web-development/shadcn/SKILL.md, line 88
- **Never decode or fetch preset codes manually.** Pass them directly to `npx shadcn@latest init --preset <code>`. - cli-tool/components/skills/web-development/shadcn/SKILL.md, line 166
Run `npx shadcn@latest docs <component>` to get the URLs for a component's documentation, examples, and API reference. Fetch these URLs to get the actual conten - cli-tool/components/skills/web-development/shadcn/SKILL.md, line 169
npx shadcn@latest docs button dialog select - cli-tool/components/skills/web-development/shadcn/SKILL.md, line 172
**When creating, fixing, debugging, or using a component, always run `npx shadcn@latest docs` and fetch the URLs first.** This ensures you're working with the c - cli-tool/components/skills/web-development/shadcn/SKILL.md, line 176
1. **Get project context** — already injected above. Run `npx shadcn@latest info` again if you need to refresh. - cli-tool/components/skills/web-development/shadcn/SKILL.md, line 178
3. **Find components** — `npx shadcn@latest search`. - cli-tool/components/skills/web-development/shadcn/SKILL.md, line 179
4. **Get docs and examples** — run `npx shadcn@latest docs <component>` to get URLs, then fetch them. Use `npx shadcn@latest view` to browse registry items you - cli-tool/components/skills/web-development/shadcn/SKILL.md, line 180
5. **Install or update** — `npx shadcn@latest add`. When updating existing components, use `--dry-run` and `--diff` to preview changes first (see [Updating Comp - cli-tool/components/skills/web-development/shadcn/SKILL.md, line 181
6. **Fix imports in third-party components** — After adding components from community registries (e.g. `@bundui`, `@magicui`), check the added non-UI files for - cli-tool/components/skills/web-development/shadcn/SKILL.md, line 185
- **Reinstall**: `npx shadcn@latest init --preset <code> --force --reinstall`. Overwrites all components. - cli-tool/components/skills/web-development/shadcn/SKILL.md, line 186
- **Merge**: `npx shadcn@latest init --preset <code> --force --no-reinstall`, then run `npx shadcn@latest info` to list installed components, then for each inst - cli-tool/components/skills/web-development/shadcn/SKILL.md, line 187
- **Skip**: `npx shadcn@latest init --preset <code> --force --no-reinstall`. Only updates config and CSS, leaves components as-is. - cli-tool/components/skills/web-development/shadcn/SKILL.md, line 193
1. Run `npx shadcn@latest add <component> --dry-run` to see all files that would be affected. - cli-tool/components/skills/web-development/shadcn/SKILL.md, line 194
2. For each file, run `npx shadcn@latest add <component> --diff <file>` to see what changed upstream vs local. - cli-tool/components/skills/web-development/shadcn/SKILL.md, line 205
npx shadcn@latest init --name my-app --preset base-nova
and 53 more places
Runs commands on your computer
The author does not mention this. Expected for a coding skill.
Found in 2 places.
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'shadcn' ] || [ -L ~/.agents/skills/'shadcn' ]; then echo 'A skill folder named shadcn already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/davila7/claude-code-templates' "$d" && git -C "$d" checkout --quiet 'a6e6f93e9a4baaa6ff337aee5505bf5c2bae4ce6' -- 'cli-tool/components/skills/web-development/shadcn' && mkdir -p ~/.agents/skills && cp -R "$d"/'cli-tool/components/skills/web-development/shadcn' ~/.agents/skills/'shadcn' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'shadcn' ~/.claude/skills/'shadcn' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
The badge for davila7/claude-code-templates shows the score of its lowest-scoring skill.

[](https://zalavijaysinh.github.io/skilltrust/repos/davila7/claude-code-templates/)
Score history
| Date | Version | Score |
|---|
| 2026-11-10 | a6e6f93 | 80 |
| 2026-11-08 | b086f26 | 80 |
| 2026-11-07 | 395f30e | 80 |