Skip to content
SkillMixed2,106 tokens in use

shadcn-ui

Guides agents through shadcn/ui work: finding components, installing them with the CLI, theming with CSS variables and extending them with cva.

10,975 stars on the repository Apache License 2.0google-labs-code/stitch-skills · plugins/stitch-build/skills/shadcn-ui
npx skills add google-labs-code/stitch-skills
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing shadcn-ui costs

31tokens idle
2,106tokens in use
14,070tokens, up to

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Up to adds the files its instructions link. Counts are approximate, made offline with cl100k_base.

Model dependence Mixed

Script-ledMixedModel-led

Scripts do part of the work and the model's judgement does the rest.

This describes the skill's structure, how much of it is scripts. It does not say how well it works. Scripts: scripts/verify-setup.sh.

Touches

shelldeclared and detectedwrites filesdeclared

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Good
  • Frontmatter8/15
  • Structure17/25
  • Examples15/15
  • Output10/15
  • Size15/15
  • Resources10/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent
  • Runs shell commands−2

    does this on the machine, as the frontmatter declares

    SKILL.md, line 40

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Good
  • Development activity80
  • Maintenance52
  • Community68
  • Maturity32
  • Momentum40

This skill gives an agent working knowledge of shadcn/ui, the collection of copy-into-your-project components built on Radix UI or Base UI and Tailwind CSS. It covers browsing the catalog through the shadcn MCP tools, installing with npx shadcn@latest, and configuring components.json.

It also explains the cn() helper, theme variables, cva variants, blocks such as login and dashboard layouts, and the checks to run before committing.

What You Get

  • Steps for browsing components, metadata, demos and registries through the shadcn MCP tools
  • CLI commands for init, create and add, with what each one writes
  • A theming and variant guide built on CSS variables, cn() and class-variance-authority
  • Block categories for calendar, dashboard, login, sidebar and products
  • A troubleshooting list for import errors, style conflicts and missing dependencies

Common Use Cases

  • Setting up shadcn/ui in a new or existing React project
  • Building forms, dialogs and data tables from shadcn components
  • Adding a login, dashboard or sidebar block and adjusting it to a brand theme

What Makes It Unique

The skill pairs shadcn CLI guidance with the shadcn MCP tool names, and it covers the Radix UI or Base UI choice, new visual styles and custom registries. It also ships a verify-setup script and resource guides for setup, catalog, customization and migration.

Under The Hood

The skill is mostly instructions that tell the agent to call shadcn MCP tools and to run npx shadcn@latest commands, which download component source and install packages. A bundled verify-setup shell script checks a project’s configuration. The agent reads and writes files in components/ui, components.json and the Tailwind setup, and runs tsc and the linter.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers