shadcn

Manage shadcn UI components and presets with guided installation and styling workflows.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill removes the guesswork from working with shadcn/ui by turning component selection, composition, styling, and preset management into a guided workflow with clear rules and project-aware context.

Core Features & Use Cases

  • Component Discovery and Installation: Helps find the right shadcn components, inspect documentation, and add them safely without duplicating or miscomposing UI.
  • Project-Aware Configuration: Uses project context such as aliases, framework, Tailwind version, icon library, and base style to keep generated code aligned with the current app.
  • UI Composition Guardrails: Enforces best practices for forms, dialogs, cards, tabs, avatars, icons, spacing, and semantic styling so implementations remain accessible and consistent.
  • Preset and Theme Management: Supports switching presets, updating themes, and preserving local changes through informed merge and overwrite workflows.

Quick Start

Ask the shadcn skill to inspect the current project and help you add, fix, or restyle the required UI components for your task.

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 project without breaking existing styles?

Adding shadcn UI components safely requires a project-aware workflow that reads your Tailwind configuration and path aliases. This prevents style duplication and miscomposition by enforcing correct CLI usage and UI rules during installation.

What is the best way to manage shadcn presets and switch themes?

Managing shadcn presets involves a guided workflow for switching themes and preserving local changes. It requires registry documentation and project context to execute informed merge and overwrite operations without losing custom styling.

Can I use shadcn components with my existing Tailwind setup and icon library?

Yes, shadcn components adapt to your existing setup by using project-aware configuration. The system checks your framework, Tailwind version, icon library, and base style to ensure generated code aligns with your current application environment.

How do I build accessible forms and dialogs using shadcn UI?

Building accessible shadcn UI forms and dialogs requires UI composition guardrails. These enforce best practices for semantic styling, spacing, and component layering so implementations remain consistent and accessible across your application.

Why are my shadcn UI components miscomposed or styled incorrectly after installation?

Incorrect shadcn UI styling often happens when project context like aliases and base style is ignored. Guided installation inspects installed component state and registry documentation to enforce correct CLI usage and prevent miscomposition.