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".
92%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Low
Low-risk findings worth noting
The canonical home for this skill is shadcn in shadcn-ui/ui
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's workflow (see SKILL.md "Component Docs, Examples" and cli.md 'docs'/'add' commands) explicitly tells the agent to fetch documentation and example URLs (e.g., ui.shadcn.com and raw.githubusercontent.com) and the MCP registry tooling (mcp.md) exposes public registry URLs, so the agent will ingest untrusted, user/registry-supplied web content that can directly influence install, merge, and code-editing 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 the CLI/agent to fetch arbitrary external URLs at runtime (e.g., "npx shadcn@latest add https://api.npoint.io/abc123"), and those fetched files/JSON directly drive what components/files are added or viewed—therefore remote content can directly control the agent's instructions and project changes.
202780181/lingxiData
83191c9
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.