shadcn-core-cli

Official

Run shadcn safely and never lose component edits.

AuthorImpertio-Studio
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents destructive or confusing shadcn CLI outcomes, especially silent overwrites of local component changes and misconfigured components.json that cause broken installs or inconsistent theming.

Core Features & Use Cases

  • Safe CLI workflows for every shadcn command: Covers init/add/view/search/apply/preset/build/docs/info/migrate and the correct flags for previewing vs applying changes.
  • components.json correctness: Explains the complete components.json schema, including which fields are immutable after init and how that affects already-installed components.
  • Registry + alias resolution guardrails: Handles custom registries (with required {name} substitution), prevents broken import rewriting, and clarifies the tsconfig paths vs package.json#imports approach introduced in [email protected].
  • Recovery from common failure modes: Provides verified fixes for production anti-patterns such as running add without --diff, assuming non-existent subcommands, and changing immutable styling settings without re-installing.

Quick Start

Tell the AI: "I changed components.json but my existing components still use the old theme—what exact shadcn CLI commands should I run to re-install safely and preserve my custom edits?"

Dependency Matrix

Required Modules

None required

Components

references

💻 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-core-cli
Download link: https://github.com/Impertio-Studio/shadcn-ui-Claude-Skill-Package/archive/main.zip#shadcn-core-cli

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 471,000+ vetted skills library on demand.