What problem does it solve?
This Skill provides comprehensive guidelines and best practices for developing with shadcn/ui, ensuring consistency, maintainability, and adherence to modern UI development standards.
Core Features & Use Cases
- Styling Rules: Enforces correct Tailwind CSS usage, semantic color application, and spacing conventions.
- Component Composition: Guides on proper structuring of components like Card, Dialog, and Tabs.
- Form Best Practices: Details on using FieldGroup, Field, and validation attributes for accessible forms.
- CLI Usage: Clarifies the correct usage of the shadcn/ui CLI for adding, updating, and managing components.
- Use Case: When you're unsure about the correct way to implement a new feature using shadcn/ui components, like creating a complex form or ensuring accessibility in a modal, this skill provides the definitive rules and examples.
Quick Start
Consult the shadcn-docs skill for guidance on using the cn() utility for conditional class names.