shadcn

Manage shadcn/ui components via CLI with project context and styling rules.

7|2|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/wenerme/ai --skill shadcn-wenerme
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: shadcn
Source: https://github.com/wenerme/ai/tree/main/skills/shadcn
Command: npx skills add https://github.com/wenerme/ai --skill shadcn-wenerme

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve?

shadcn helps you avoid incorrect shadcn/ui implementation details by guiding how to add, search, update, and compose components in your project with consistent styling and correct component structure.

Core Features & Use Cases

  • Project-aware setup and context: Uses the project's configured aliases, base (radix vs base), Tailwind version, icon library, and existing installed components.
  • Add, search, view, and debug UI components: Install components with documentation-first guidance, fetch docs/examples, and inspect registry items to prevent guesswork.
  • Safe updates and preset management: Supports reviewing diffs before changes and applying or switching presets without breaking accessibility/composition rules.

Quick Start

Ask the AI: “Use shadcn to add the button, dialog, and select components to my current project, then summarize any required changes based on the project’s base and icon library.”

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 without breaking styling?

To add shadcn/ui components safely, use the CLI with project context fields like aliases, base, and tailwindVersion. This ensures component installation preserves your local structure and maintains consistent semantic styling without guesswork.

Can I update shadcn/ui components and switch presets without losing local customizations?

Yes, you can safely update shadcn/ui components and apply presets by reviewing diffs before changes. This preserves your local structure and prevents breaking accessibility and composition rules during the update process.

Does shadcn/ui work with both Radix and base component foundations?

shadcn/ui supports both Radix and base component foundations. The project context uses your configured base setting to ensure correct component structure and enforce rules for form composition, overlays, and icons during installation.

Why do my shadcn/ui form and overlay components have composition issues?

shadcn/ui form and overlay composition issues usually occur when project context fields are ignored. Enforcing shadcn/ui rules for form composition, overlays, and semantic styling using the CLI prevents incorrect implementation details.

What is the best way to manage a Tailwind design system using shadcn/ui?

The best way to manage a Tailwind design system with shadcn/ui is by using the CLI to search registries, install components with documentation-first guidance, and apply preset theming while respecting your project's configured Tailwind version.

Do I need a specific icon library configured to use shadcn/ui components?

You need to specify your project's icon library in the context fields. shadcn/ui uses this configuration to ensure correct component installation and enforce rules for icons and semantic styling across your project.