shadcn

Codify shadcn/ui best practices for AI agents across components, Radix primitives, and Tailwind theming.

2|1|Updated Apr 4, 2026
One-click install
npx skills add https://github.com/genfeedai/genfeed.ai --skill shadcn-genfeedai
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: shadcn
Source: https://github.com/genfeedai/genfeed.ai/tree/main/.agents/skills/shadcn
Command: npx skills add https://github.com/genfeedai/genfeed.ai --skill shadcn-genfeedai

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

shadcn/ui components often require disciplined patterns to maintain accessibility, consistency, and performance across large apps; this skill consolidates best practices into a discoverable guide for AI agents and developers.

Core Features & Use Cases

  • Comprehensive rules across categories (CLI setup, architecture, accessibility, styling, forms, data display, composition, performance, and state).
  • Provides guidance for initializing shadcn/ui in projects, building data tables, applying theming, and ensuring accessible components, as well as patterns for composing complex components with React.
  • Serves as a reference for AI-assisted code review and automated refactoring tasks across real-world projects.

Quick Start

Audit your codebase for shadcn/ui best practices and generate a concise conformance report.

Frequently Asked Questions about shadcn

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

FAQPage Schema
What are the best practices for shadcn/ui accessibility and Radix primitives?▼

Shadcn/ui accessibility best practices codify rules for using Radix primitives to ensure consistent component behavior. They enforce deterministic automation and validate frontmatter integrity for safe web app rendering.

How do I integrate react-hook-form validation with shadcn/ui components?▼

Form validation integration with shadcn/ui applies standardized patterns connecting react-hook-form to UI components. This enforces consistent data capture and state management across complex web applications.

Does this approach provide guidance for building data tables using Tailwind theming?▼

Yes, building data tables with Tailwind theming is supported through specific composition patterns. The guide provides architecture and styling rules to construct performant data display components in React.

How do I audit my codebase for shadcn/ui conformance and initialize projects?▼

Auditing a codebase for shadcn/ui conformance generates a concise report of rule violations. Initialization applies CLI setup rules, architecture patterns, and frontmatter validation to ensure project integrity.

What is the best way to compose complex components with shadcn/ui in React?▼

The best way to compose complex shadcn/ui components uses established React composition patterns. This ensures performance, maintains state correctly, and enforces deterministic structural integrity across the application.