Capítulo 7 de 108
The shadcn/ui Skill gives AI coding assistants (e.g. Claude Code) project-aware context by reading components.json and running shadcn info --json, so generated code uses the project's actual framework, aliases, base library, icon library, and installed components on the first try.
npx skills add shadcn/ui installs the skill; the assistant auto-loads it when working with shadcn/ui components.components.json file in the project.shadcn info --json (framework, Tailwind version, aliases, base library base|radix|aria, icon library, installed components, resolved paths) and injects the result into the assistant's context.FieldGroup for forms, ToggleGroup for option sets, semantic colors, base-specific APIs.shadcn docs, shadcn search, or MCP tools to find components/docs before generating code.npx skills add shadcn/ui
components.json: activation is gated on that file being present.shadcn info --json plus documented composition conventions, not a separate knowledge source.info, docs, search subcommands the skill relies on.