Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI. Provides project context, component docs, and usage examples. Applies when working with shadcn/ui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for "shadcn init", "create an app with --preset", or "switch to --preset".
71
88%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Low
Low-risk findings worth noting
The canonical home for this skill is shadcn in shadcn-ui/ui
Low
Low-risk findings.
2 low severity findings. Worth noting, but not necessarily harmful.
The skill exposes the agent to untrusted, user-generated content from public third-party sources, creating a risk of indirect prompt injection. This includes browsing arbitrary URLs, reading social media posts or forum comments, and analyzing content from unknown websites.
The skill (SKILL.md and cli.md) explicitly instructs the agent to fetch and read component docs/examples and upstream component files from external URLs (e.g., ui.shadcn.com docs links, raw GitHub/example URLs, `npx shadcn@latest add https://...`), and mcp.md documents registry URLs and MCP tools that return full file contents from public/community registries—untrusted third-party content the agent must parse and that can change subsequent CLI actions.
The skill fetches instructions or code from an external URL at runtime, and the fetched content directly controls the agent’s prompts or executes code. This dynamic dependency allows the external source to modify the agent’s behavior without any changes to the skill itself.
The skill explicitly instructs fetching component docs/examples at runtime (e.g., raw content URLs such as https://raw.githubusercontent.com/...) and those fetched raw files are used to drive the agent's instructions and project changes, so runtime external content can directly control prompts/code.
1345d51
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.