/fullstack-skills:shadcn-reinstallfrom fullstack-skills
Use this skill when the user wants to remove and reinstall shadcn/ui safely in a frontend or React-based project. Triggers include reinstall shadcn, reset shadcn/ui, wipe shadcn, remove and reinstall shadcn, clean shadcn and install again, reinstall previous shadcn components, audit `"use client"` after reinstall, split `cva()` variants after reinstall, or rename the shadcn utility from `cn` to `Cn` in a confirmed scope.
Ships in fullstack-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this skill for high-risk shadcn/ui reset or reinstall work where files may be deleted, regenerated, or overwritten.
../../../RULES.md when available and apply it as the behavior, safety, validation, and communication baseline.components.json, UI path, utils path, CSS path, and imports before proposing changes.shadcn CLI as the generation source. Do not hand-write generated shadcn components.Stop and ask for confirmation before:
components.json.package.json or a lockfile.cn to Cn outside a narrow user-approved scope.git status before deleting or editing files.lib, CSS, config, and dependency files.pnpm-lock.yaml, package-lock.json, yarn.lock, bun.lock.components.json for aliases, style, rsc, tsx, icon library, UI path, utils path, and CSS path.tsconfig.json, jsconfig.json, or package.json#imports.lib/utils or src/lib/utils, based on project config.class-variance-authority, clsx, tailwind-merge, and lucide-react when present.Before deletion or overwrite, show:
components.json, UI path, utils path, and CSS path.Proceed only after the user confirms the exact destructive or overwrite actions.
components directory if it contains non-shadcn files.lib directory just because it contains a shadcn utility.pnpm dlx, npx, yarn dlx, or bunx.shadcn init only with options appropriate to the inspected framework and latest official docs.components.json.shadcn add only; do not hand-create generated component files."use client"Only do this when the user asks for it or when reinstall changed client/server boundaries.
"use client" only in files related to reinstalled shadcn components or affected wrappers."use client" just because a file looks non-interactive on a shallow read."use client" only where code evidence confirms it is unnecessary and the user agrees.cva() VariantsOnly do this when the user asks to split variants after reinstall.
cva() or variant definitions worth extracting.button-variants.ts.button_variants.ButtonVariantsProps.cn to Cncn.cn to Cn only in the user-approved scope.cn and Cn in the affected files.# Shadcn Reinstall Report
## Pre-Delete Plan
- Package manager/framework detected.
- shadcn paths and components found.
- Paths proposed for deletion or overwrite.
- Uncommitted changes and confirmation status.
## Changes Made
- CLI commands run.
- Files deleted, generated, edited, or preserved.
- Components reinstalled.
- Dependencies cleaned or kept.
## Verification
- Commands run and results.
- Build/typecheck/test status.
- Remaining verification gaps.
## Risks
- Lost customizations, shared CSS impact, dependency uncertainty, or follow-up decisions.
shadcn add work that does not require reinstall or reset.cva() variants or rename cn unless the user asks.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
81 skills in this plugin
/ab-testingWhen the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "should I test this," "which version is better," "test two versions," "statistical significance," "how long should I run this test," "growth experiments," "experiment velocity," "experiment backlog," "ICE score," "experimentation program," or "experiment playbook." Use this whenever someone is comparing two approaches and wants to measure which performs better, or when they want to build a systematic experimentation practice. For tracking implementation, see analytics. For page-level conversion optimization, see cro./ad-creativeWhen the user wants to generate, iterate, or scale ad creative — headlines, descriptions, primary text, or full ad variations — for any paid advertising platform. Also use when the user mentions 'ad copy variations,' 'ad creative,' 'generate headlines,' 'RSA headlines,' 'bulk ad copy,' 'ad iterations,' 'creative testing,' 'ad performance optimization,' 'write me some ads,' 'Facebook ad copy,' 'Google ad headlines,' 'LinkedIn ad text,' or 'I need more ad variations.' Use this whenever someone needs to produce ad copy at scale or iterate on existing ads. For campaign strategy and targeting, see ads. For landing page copy, see copywriting.Generated from the plugin's indexed repository (korwlik23/ai-skills) — no native marketplace selected
npx claudepluginhub p/korwlik23-fullstack-skills