shadcn

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

2|Updated Apr 11, 2026
One-click install
npx skills add https://github.com/PlazaCC/antes-da-tela --skill shadcn-plazacc
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: shadcn
Source: https://github.com/PlazaCC/antes-da-tela/tree/main/.agents/skills/shadcn
Command: npx skills add https://github.com/PlazaCC/antes-da-tela --skill shadcn-plazacc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Developers often struggle to consistently apply shadcn/ui guidelines, manage component installations, and adhere to project‑specific styling rules, leading to fragmented UI and wasted time.

Core Features & Use Cases

  • Enforces shadcn/ui best‑practice rules for styling, composition, and accessibility.
  • Provides step‑by‑step guidance for adding, updating, and fixing components via the shadcn CLI.
  • Helps switch presets, resolve icon libraries, and align Tailwind configuration across projects.
  • Ideal for Next.js, Vite, or any framework using shadcn/ui component libraries.

Quick Start

Ask the assistant to add a shadcn button component to your project.

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?▼

To add shadcn/ui components, you need project context JSON from `npx shadcn@latest info` and the shadcn CLI. The CLI manages component installation, updates, and lifecycle operations within your Next.js or Vite environment.

How do I fix styling inconsistencies and align Tailwind configuration when using shadcn/ui?▼

To fix styling inconsistencies in shadcn/ui, enforce best-practice rules for composition and accessibility. You can align Tailwind configuration across projects by switching presets and resolving icon libraries.

Can I use shadcn/ui presets and registries with frameworks other than Next.js?▼

shadcn/ui presets and registries work ideally with Next.js and Vite projects. The component lifecycle management applies to any framework using shadcn/ui component libraries that provide the required project context.

What is the best way to manage the shadcn component lifecycle and debug UI components?▼

The best way to manage the shadcn component lifecycle is by using the shadcn CLI for operations. This provides step-by-step guidance for adding, searching, fixing, and debugging UI components based on configured presets.

Do I need to run a specific command before adding or updating shadcn components?▼

Yes, you need to run `npx shadcn@latest info` to generate project context JSON. This context is required before using the shadcn CLI to add, update, or fix components to ensure project-specific styling rules are applied.