shadcn

Manage shadcn/ui component lifecycle and composition in Next.js or Vite projects.

1|Updated Jun 23, 2026
One-click install
npx skills add https://github.com/YOYOMAII/foundry --skill shadcn-yoyomaii
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: shadcn
Source: https://github.com/YOYOMAII/foundry/tree/main/.agents/skills/shadcn
Command: npx skills add https://github.com/YOYOMAII/foundry --skill shadcn-yoyomaii

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill resolves the complexity of managing shadcn/ui component libraries, ensuring consistent styling, correct composition, and adherence to accessibility standards across your project.

Core Features & Use Cases

  • Component Management: Seamlessly add, search, and update UI components using the project-aware CLI.
  • Styling & Composition: Enforces semantic color usage, correct layout patterns, and proper component nesting to prevent common UI anti-patterns.
  • Use Case: When building a complex dashboard, use this skill to ensure all form inputs, data tables, and navigation elements follow the project's design system and accessibility rules.

Quick Start

Use the shadcn skill to add a new button component to the project and verify it follows the current design system rules.

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 a Next.js or Vite project?

Use the project-aware CLI to add shadcn/ui components to a Next.js or Vite project, verifying correct composition and consistent Tailwind CSS utility application across the newly added UI elements.

What is the best way to manage semantic design tokens in a React component library?

Managing semantic design tokens in a React component library requires enforcing semantic color usage and proper component nesting during the component lifecycle, preventing common UI anti-patterns and ensuring consistent styling.

Does this approach support enforcing accessibility requirements for complex dashboard UI elements?

Yes, managing the composition of shadcn/ui components enforces accessibility requirements and semantic design tokens for complex dashboard UI elements like data tables and form inputs.

How do I debug Tailwind CSS styling issues with frontend UI components?

Debug Tailwind CSS styling issues by using the component management lifecycle to verify correct layout patterns, proper component nesting, and consistent utility application to prevent common UI anti-patterns.

Can I use shadcn/ui with an existing Tailwind CSS and React setup?

Yes, you can use shadcn/ui with an existing React and Tailwind CSS setup by integrating the component registry to ensure all added elements follow your project's current design system rules.