shadcn

Manage shadcn/ui components and presets via the Shadcn CLI.

Updated Feb 24, 2026
One-click install
npx skills add https://github.com/bartolomeomueller/hr --skill shadcn-bartolomeomueller
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: shadcn
Source: https://github.com/bartolomeomueller/hr/tree/main/.agents/skills/shadcn
Command: npx skills add https://github.com/bartolomeomueller/hr --skill shadcn-bartolomeomueller

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manages shadcn components and projects across registries and presets, providing a centralized workflow for adding, searching, fixing, debugging, styling, and composing UI.

Core Features & Use Cases

  • Centralized management of shadcn/ui components and presets within a project.
  • Supports adding components, searching registries, applying presets, and viewing component docs.
  • Real-world example: set up a Next.js project with a shadcn preset, then browse and apply docs for a new component.

Quick Start

To begin, run the Shadcn CLI in your project to view docs, manage components, and apply presets.

Frequently Asked Questions about shadcn

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add shadcn/ui components to an existing project?

To add shadcn/ui components, run the CLI command `npx shadcn@latest add` within your project. This Skill coordinates component management by using the CLI to fetch and integrate UI pieces directly into your codebase.

What is a shadcn/ui preset and how do I apply it?

A shadcn/ui preset is a predefined configuration for styling and UI components. You can apply presets to your project by using the `npx shadcn@latest apply` command, which centralizes your UI workflow.

Do I need a components.json file to manage shadcn/ui components?

Yes, a components.json file is required. This Skill is designed for projects using shadcn/ui and relies on the components.json file to drive discovery and manage component operations correctly.

How do I search shadcn registries for specific UI components?

You can search shadcn registries by running `npx shadcn@latest search` through your terminal. This allows you to browse available components across registries before adding them to your project.

Can I view shadcn/ui component documentation directly in my development workflow?

Yes, you can view component documentation by running `npx shadcn@latest view`. This provides centralized access to docs without leaving your project environment.

What's the best way to debug styles for shadcn/ui components?

The best way to debug styles is by using this Skill's centralized management workflow to inspect and fix component styling. It coordinates the CLI operations to help identify and resolve styling issues within your project.