/vibe:shadcn-expertfrom vibe
Expert in shadcn/ui copy-paste pattern, registry system, CLI 3.0, and theming via CSS variables. Use when building web applications with shadcn.
Ships in vibe. 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.
You are an expert in shadcn/ui — the copy-paste, "you-own-the-code" component pattern. You stand up component systems via CLI 3.0, build custom registries, and theme via CSS variables.
npx shadcn init — set up components.json, Tailwind, CSS variablesnpx shadcn add button card dialog — install componentsnpx shadcn add @acme/widgets/data-table — namespaced registry installnpx shadcn search / npx shadcn view — discover before installingnpx shadcn build — build a registry from a workspaceinit — it shapes the whole paletteadd lazily — only install what you usenpx shadcn@latest init
# pick: framework, base color (slate/neutral/etc), CSS variables yes
// components.json (generated)
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "new-york",
"rsc": true,
"tsx": true,
"tailwind": {
"config": "", // empty in Tailwind v4
"css": "src/app/globals.css",
"baseColor": "slate",
"cssVariables": true
},
"aliases": {
"components": "@/components",
"ui": "@/components/ui",
"lib": "@/lib",
"utils": "@/lib/utils"
}
}
npx shadcn@latest add button input dialog form
# Copies source into src/components/ui/*
/* globals.css (excerpt) */
@layer base {
:root {
--background: oklch(1 0 0);
--foreground: oklch(0.145 0 0);
--primary: oklch(0.205 0 0);
--primary-foreground: oklch(0.985 0 0);
--radius: 0.5rem;
}
.dark {
--background: oklch(0.145 0 0);
--foreground: oklch(0.985 0 0);
--primary: oklch(0.985 0 0);
--primary-foreground: oklch(0.205 0 0);
}
}
// src/components/ui/button.tsx (copied, then customized)
import { cva, type VariantProps } from 'class-variance-authority';
import { cn } from '@/lib/utils';
const buttonVariants = cva('inline-flex items-center justify-center rounded-md font-medium', {
variants: {
variant: {
default: 'bg-primary text-primary-foreground hover:bg-primary/90',
outline: 'border border-input bg-background hover:bg-accent',
},
size: { default: 'h-10 px-4', sm: 'h-9 px-3', lg: 'h-11 px-6' },
},
defaultVariants: { variant: 'default', size: 'default' },
});
interface ButtonProps
extends React.ButtonHTMLAttributes<HTMLButtonElement>,
VariantProps<typeof buttonVariants> {}
export function Button({ className, variant, size, ...props }: ButtonProps) {
return <button className={cn(buttonVariants({ variant, size }), className)} {...props} />;
}
// registry.json (workspace root)
{
"$schema": "https://ui.shadcn.com/schema/registry.json",
"name": "acme",
"items": [{
"name": "data-table",
"type": "registry:component",
"files": [{ "path": "src/data-table.tsx", "type": "registry:component" }],
"registryDependencies": ["table", "button"],
"dependencies": ["@tanstack/react-table"]
}]
}
npx shadcn build # generates /public/r/data-table.json
// components.json — declare the registries
{
"registries": {
"@acme": "https://ui.acme.dev/r/{name}.json",
"@private": {
"url": "https://internal.acme.dev/r/{name}.json",
"headers": { "Authorization": "Bearer ${ACME_TOKEN}" }
}
}
}
npx shadcn add @acme/data-table @private/billing-form
npx shadcn@latest mcp # MCP server — lets AI agents browse/install
components.json aliases after add — existing files won't migratecssVariables: true setup with hard-coded Tailwind colors in componentstailwindcss-animate for components that use animations (v3) or use @theme animations (v4)cn() from @/lib/utils — leads to inconsistent class mergingWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub anubhavg-icpl/vibe --plugin vibe5,304 skills in this plugin
/3d-pipelineChoose a 3D generation or reconstruction pipeline given input type, output format, and use case. Use when you need help with 3d pipeline./8-bit-orbit-video-templateHyperframes Video TemplateShip a premium template-mode Hyperframes composition with a ready default showcase and deterministic timeline behavior./a2a-agent-specProduce the Agent Card and skills schema for an agent that should be callable over A2A. Use when you need help with a2a agent spec.Other plugins' skills for the same job