/rocketride-design:shadcnfrom rocketride-design
Operate the shadcn/ui CLI and registry system (ui.shadcn.com) — initializing on an existing project, components.json anatomy, CSS-variable theming and remapping shadcn's --background/--foreground tokens onto an existing palette (like this repo's dark ink surfaces), third-party @namespace registries, and the upgrade/diff workflow. Use this whenever a task involves running npx shadcn init or add, editing components.json, theming or re-theming shadcn components, wiring shadcn into an existing Tailwind project, adding a component from a third-party or private registry (@acme/thing syntax), diffing local components against upstream, deciding which shadcn components belong on a marketing/launch page versus an app, or any question about the shadcn CLI, registry, or token system. Also use it BEFORE running any shadcn command on a Tailwind v3 project — the current CLI targets Tailwind v4, and the [email protected] vs shadcn@latest fork is the first decision, documented here.
Ships in rocketride-design. 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.
Read when SKILL.md points to them.
shadcn/ui is not a component library you install as a dependency. It is a
CLI plus a registry of open component source. npx shadcn add button copies
button.tsx into your repo; from that moment the code is yours to edit, and no
npm update will ever touch it. The system has three parts: the CLI
(init/add/search/build), components.json (per-project config the CLI reads),
and registries (the default @shadcn one plus any third-party or private
registry you configure).
This skill owns the CLI/registry/theming mechanics. For whether shadcn is the
right stack for an app, defer to rocketride-frontend (shadcn is its shared
baseline); for design rules and palettes, ui-ux-pro-max; for not looking
like a stock shadcn site, frontend-design / taste-skill; for animation
layered on top, motion-primitives; for which icon set to use and swapping
lucide out (migrate icons: @latest supports lucide/tabler/hugeicons/
phosphor/remixicon/radix, 2.3.0 only lucide↔radix, neither does
iconoir/heroicons), iconography.
Verified against npm and live docs, Aug 2026:
| Your project | CLI to use | Docs |
|---|---|---|
| Tailwind v4 / new project | npx shadcn@latest (4.18.0) | ui.shadcn.com/docs |
| Tailwind v3.x (this repo: 3.4) | npx [email protected] — last v3-compatible CLI | v3.shadcn.com (legacy) |
shadcn@latest is Tailwind v4 + React 19 territory: it writes
@import "shadcn/tailwind.css" into your global CSS, uses @theme inline and
oklch tokens, and offers a --base choice (base, radix, aria) and presets.
Do not run @latest init on a Tailwind 3.4 project — it will scaffold
v4-style CSS your build can't process. There is no compatibility flag; the fork
is the version number itself. Full verified command reference for both:
references/cli.md.
Oct 2026: 2.3.0 is no longer safe as-is on v3 (re-verified on a fresh
Next 14.2 / Tailwind 3.4 app, and hit independently by three registry tests):
init writes broken colours. It now emits --background: oklch(...) in
globals.css but still wraps every colour as hsl(var(--background)) in
tailwind.config.ts — invalid CSS, every token renders wrong. Fix right after
init (keeps /50 opacity modifiers working; build + render verified):
sed -i '' "s/hsl(var(\(--[a-z0-9-]*\)))/color-mix(in oklch, var(\1) calc(<alpha-value> * 100%), transparent)/g" tailwind.config.tsadd is still fine — 2.3.0 add button card writes v3 classes.2.3.0 for third-party registry items (@audiocn, @uiarc,
gauge-ui, mdxcn URLs): it hangs on overwrite prompts, writes a literal
./@components/ folder at the repo root, mangles cross-file imports, and
can't resolve namespaces outside ui.shadcn.com. Use shadcn@latest add <url>
even on a v3 repo — it leaves tailwind.config/globals.css alone for
items without CSS — then port by hand anything v4-only the item ships
(@theme/@utility CSS, h-(--var), outline-hidden, shadow-xs). Each
third-party skill lists its own v4-only surface; the tested registries are
tabled in references/cli.md.npx [email protected] init — answers create components.json, add the cn()
util, install tailwindcss-animate (1.0.7), and write default CSS variables.
Then apply the hsl() → color-mix fix above before anything else.ink/panel + ember palette
is in references/theming.md.npx [email protected] add button dialog ... — then edit the copied files
directly. Restyling a copied component beats wrapping it in prop layers.components.json, then
add @acme/component — syntax and trust model in references/cli.md.references/cli.md.Two settings are immutable after init (changing them means delete and
re-add every component): style and tailwind.cssVariables. Get them right
the first time: style: "new-york" (default is deprecated),
cssVariables: true.
Marketing / launch page — shadcn is mostly overkill here. Earns its place:
button, badge, accordion (FAQ), sheet/dialog (mobile nav, video
modal), navigation-menu, separator, skeleton. A launch page that inits
the full kit for one button has bought a token system it will fight; a bespoke
20-line button is often the better trade. App surfaces are where shadcn
pays rent: data-table, form + field primitives, command (⌘K), combobox,
tabs, dropdown-menu, toast/sonner, date-picker, sidebar — exactly
the archetype furniture rocketride-frontend's admin-console reference assumes.
bg-background, text-muted-foreground) would sit beside bespoke tokens
(bg-panel, text-ember) as a second, competing vocabulary. Either remap
shadcn's variables onto the existing tokens (references/theming.md) or skip
shadcn for that surface.shadcn@latest init on a Tailwind v3 project (see fork above).add -o (overwrite) on a component you've customized without a
clean branch — your edits are gone. Diff first (references/cli.md).components.json like a dependency review.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub shashidharbabu/rocketride-design-skills --plugin rocketride-design34 skills in this plugin
/arc-uiInstall and integrate Arc (uiarc.dev, "Arc UI") — Elia Kuratli's agent-oriented React library of 112 free MIT components + 22 free blocks (56 components / 72 blocks more behind Arc Pro, $129/yr or $199 lifetime), distributed as copy-in source through a shadcn registry (`@uiarc/<id>` → https://uiarc.dev/r/{name}.json) and styled with CSS Modules + its own oklch CSS-variable token layer (not Tailwind classes), animated with `motion/react` — into Next.js 14–16, React 18–19, Tailwind v3.4 or v4 repos, alone or beside shadcn/ui. Use this whenever a task mentions uiarc, uiarc.dev, Arc UI, an `@uiarc/` or `@uiarc-pro/` install, `components/arc/foundation.css` or `@/components/arc/...` imports; whenever an app wants a calm, neutral, Linear-like product UI base as an alternative to shadcn; or whenever it needs a finished product-UI interaction piece — confirm-in-place / hold-to-confirm / morphing delete button, sliding segmented control, KPI metric cards with rolling numbers, icon morph, expanding button group, swipe row actions, ridgeline / streamgraph / waffle / slope / treemap charts, or settings / pricing / dashboard / sign-in blocks with motion. Also use it before letting Arc's own vendor skill near a repo (don't — see below). Install pre-flight, the token-collision bridge with shadcn, and every verified fix live in references/integration.md./audiocnInstall and integrate audiocn (audiocn.dev) — a free, MIT-licensed shadcn registry of ~50 audio UI items for React by OrcDev (github.com/audiocn/ui): audio player, file waveform with seek/regions/markers, level meters, bar/spectrum/electric visualizers, live waveform, faders, knobs, pan, mute/solo toggles, channel strips, a full Web Audio mixer, sound pads, mic/device pickers, plus the Web Audio hooks that drive them (shared AudioContext, analyser, gain, microphone, system-audio capture, waveform peaks) — copied in via `npx shadcn@latest add @audiocn/<name>`, built on Base UI and canvas/rAF with no motion/framer-motion dependency. HARD GATE: Tailwind v4 + React 19.2+ only — on Tailwind 3.4 it builds green and renders broken (meters vanish, bars collapse), and on React 18 the hooks fail (`useEffectEvent`). TRAP: `npm i audiocn` installs an unrelated placeholder package — audiocn arrives only through the shadcn registry. Use this whenever a task involves audiocn.dev or an @audiocn/ install, an audio or podcast/episode player, a waveform seek bar or waveform regions/markers, a VU/level/dB meter, an audio visualizer or spectrum, voice-activity bars, a mic check or input-device picker, a mixer/fader/knob/channel strip, a soundboard or sound pads, replacing wavesurfer.js, or deciding whether an audio product repo can take these components at all. Inventory, deps, token remap, the v3 port list, crossOrigin, single-player coordination, and the waveform lint fix live in references/integration.md./bestfreefontsSource genuinely free fonts via Best Free Fonts (bestfreefonts.com) — a free curated directory of ~214 quality free typefaces (serif, sans, script, mono, display; many variable) where each font page shows styles, glyph counts, language support, designer, and the actual license, then links to the official download source — and integrate them into Next.js 14 + Tailwind 3.4: next/font/local self-hosting with woff2, next/font/google when the font is also on Google Fonts, variable fonts, subsetting, CLS-safe fallbacks, and this repo's --font-sans CSS-variable + fontFamily pattern. Use this whenever a task involves finding a free font, replacing or adding a typeface, "what font should we use (for free)", verifying whether a font is safe for a commercial site, self-hosting a font, woff2/subsetting/fallback work, a bestfreefonts.com link, or wiring any font into app/layout.tsx and tailwind.config.ts — hosting code lives in references/hosting.md. License verification before commercial use is this skill's non-negotiable./brandkitPremium brand-kit image generation skill for creating high-end brand-guidelines boards, logo systems, identity decks, and visual-world presentations. Trained for minimalist, cinematic, editorial, dark-tech, luxury, cultural, security, gaming, developer-tool, and consumer-app brand systems. Optimized for intentional logo concepting, refined composition, sparse typography, strong symbolic meaning, premium mockups, art-directed imagery, and flexible grid layouts./industrial-brutalist-uiRaw mechanical interfaces fusing Swiss typographic print with military terminal aesthetics. Rigid grids, extreme type scale contrast, utilitarian color, analog degradation effects. For data-heavy dashboards, portfolios, or editorial sites that need to feel like declassified blueprints./componentryInstall and integrate Componentry (componentry.dev — componentry.fun redirects there) — an MIT-licensed, Vercel-OSS-backed library of ~60 animated React components by Harsh Jadhav (@harshjdhv), distributed as copy-in source via the shadcn registry (npx shadcn@latest add @componentry/<name>) and built on framer-motion, Tailwind, and canvas/WebGL — into Next.js 14 + Tailwind 3.4 + motion v13 (`motion/react`). Use this whenever a task involves componentry.dev/componentry.fun or an @componentry/ install command, a landing page needs a spectacle background (matrix rain, dither gradient, aurora, liquid chrome, particle galaxy, circuit board, noise), an interactive set-piece (magnetic dock, eye tracking, image trail, spotlight card, split-flap display, mac keyboard), kinetic typography (letter cascade, text repel, particle typography, hyper text, text morph), or a scroll set-piece (sticky scroll cards, scroll split card, scroll velocity text, scroll choreography) — and whenever choosing between componentry and motion-primitives for an animation need. Component tiers, per-component deps, and wiring patterns live in references/integration.md.