shadcn

Manage shadcn UI components and generate source code from project configurations.

21|1|Updated Jan 6, 2025
One-click install
npx skills add https://github.com/ever-works/ever-works --skill shadcn-ever-works
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: shadcn
Source: https://github.com/ever-works/ever-works/tree/main/.agents/skills/shadcn
Command: npx skills add https://github.com/ever-works/ever-works --skill shadcn-ever-works

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

The shadcn Skill solves the problem of managing shadcn UI components and projects, providing functionality to add, search, fix, debug, style, and compose UI elements, as well as offering project context and component documentation.

Core Features & Use Cases

  • Component Management: Add, search, and manage shadcn UI components.
  • Project Context: Get project-specific information and documentation.
  • Code Generation: Automatically generate source code for UI components based on configuration.
  • Use Case: If you are working on a project that uses shadcn/ui, this Skill can help you find the right component, style it according to the project's guidelines, and generate the necessary code for integration.

Quick Start

Run 'npx shadcn@latest info' to get project context and documentation for any component.

Frequently Asked Questions about shadcn

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

FAQPage Schema
How do I add and manage shadcn UI components in my existing project?

To manage shadcn UI components, you can use the shadcn CLI tools to add, search, and configure UI elements based on project-specific specifications. Run 'npx shadcn@latest info' to retrieve project context and documentation for integration.

How does code generation work for shadcn UI components?

Code generation for shadcn UI components works by automatically generating source code based on your project's configuration and shadcn UI specifications. This ensures new UI elements match your existing framework guidelines.

Do I need the shadcn CLI installed to use this component management workflow?

Yes, you need the shadcn CLI tools installed because the workflow requires them for component management, style enforcement, and fetching project-specific configurations.

Can I search for specific shadcn UI components and get their documentation?

Yes, you can search for specific shadcn UI components and retrieve their documentation. The skill provides project context and component documentation to help you find the right UI element and understand its usage.

What's the best way to fix and style shadcn UI components according to project guidelines?

The best way to fix and style shadcn UI components is by using the skill's style enforcement feature, which debugs and composes UI elements to ensure they strictly adhere to your project's specific guidelines.

Why are my generated shadcn UI components not matching my project's style?

If generated shadcn UI components do not match your project style, you may need to verify your project-specific configurations. The skill enforces styling based on these defined shadcn UI specifications during code generation.