shadcn-init

Community

Initialize shadcn/ui in React projects.

Authorjubalm
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill guides you through initializing shadcn/ui in React projects (Next.js, Vite, Astro), including setting up Tailwind CSS v4, path aliases, framework detection, and installation validation. It helps avoid misconfigurations and reduces setup time.

Core Features & Use Cases

  • Framework auto-detection and framework-specific setup steps (Next.js, Vite, Astro)
  • Tailwind CSS v4 installation and tailwind config guidance
  • Path alias configuration to simplify component imports
  • Validation script to verify installation and ensure essential files exist
  • Use Case: Start a new shadcn/ui project fast and consistently across frameworks

Quick Start

Run initialization with defaults: npx shadcn@latest init -d in your React project, follow prompts, and confirm the following files are created: components/ui/button.tsx (or similar), lib/utils.ts, and components.json.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: shadcn-init
Download link: https://github.com/jubalm/dotfiles/archive/main.zip#shadcn-init

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.