[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7E8GT5YBHZECT7XGHD3PRYS":3,"skill-same:01M7E8GT5YBHZECT7XGHD3PRYS":72},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":14,"repositoryHtmlUrl":47,"repositoryHomepageUrl":6,"ownerHtmlUrl":48,"ownerBlogUrl":49,"ownerDescription":50,"updatedAt":51,"install":52,"resources":65},"01M7E8GT5YBHZECT7XGHD3PRYS","shadcn",null,"shadcn\u002Fui expert guidance — CLI, component installation, composition patterns, custom registries, theming, Tailwind CSS integration, and high-quality interface design. Use when initializing shadcn, adding components, composing product UI, building custom registries, configuring themes, or troubleshooting component issues.","wxdwu\u002Fnew-api","wxdwu","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F80968397?v=4","01M7E6AEMB59N90BKXD77EC83D","Xudong Wu","01M7E6AEMY2BXCDVZ9MJJHFQ4C",0,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api\u002Fblob\u002Fmain\u002Fplugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Fvercel\u002Fskills\u002Fshadcn\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: shadcn\ndescription: shadcn\u002Fui expert guidance — CLI, component installation, composition patterns, custom registries, theming, Tailwind CSS integration, and high-quality interface design. Use when initializing shadcn, adding components, composing product UI, building custom registries, configuring themes, or troubleshooting component issues.\nmetadata:\n  priority: 6\n  docs:\n    - \"https:\u002F\u002Fui.shadcn.com\u002Fdocs\"\n    - \"https:\u002F\u002Fui.shadcn.com\u002Fdocs\u002Fcomponents\"\n  pathPatterns:\n    - 'components.json'\n    - 'components\u002Fui\u002F**'\n    - 'src\u002Fcomponents\u002Fui\u002F**'\n    - 'apps\u002F*\u002Fcomponents\u002Fui\u002F**'\n    - 'apps\u002F*\u002Fsrc\u002Fcomponents\u002Fui\u002F**'\n    - 'packages\u002F*\u002Fcomponents\u002Fui\u002F**'\n    - 'packages\u002F*\u002Fsrc\u002Fcomponents\u002Fui\u002F**'\n  bashPatterns:\n    - '\\bnpx\\s+shadcn\\b'\n    - '\\bnpx\\s+shadcn@latest\\s+(init|add|build|search|list|migrate|info|docs|view)\\b'\n    - '\\bnpx\\s+create-next-app\\b'\n    - '\\bbunx\\s+create-next-app\\b'\n    - '\\bpnpm\\s+create\\s+next-app\\b'\n    - '\\bnpm\\s+create\\s+next-app\\b'\n---\n\n# shadcn\u002Fui\n\nYou are an expert in shadcn\u002Fui — a collection of beautifully designed, accessible, and customizable React components built on Radix UI primitives and Tailwind CSS. Components are added directly to your codebase as source code, not installed as a dependency.\n\n## Key Concept\n\nshadcn\u002Fui is **not a component library** in the traditional sense. You don't install it as a package. Instead, the CLI copies component source code into your project, giving you full ownership and customization ability.\n\n## CLI Commands\n\n### Initialize (non-interactive — ALWAYS use this)\n\n**IMPORTANT**: `shadcn init` is interactive by default. Always use `-d` (defaults) for non-interactive initialization:\n\n```bash\n# Non-interactive init with defaults — USE THIS\nnpx shadcn@latest init -d\n\n# Non-interactive with a preset (recommended for consistent design systems)\nnpx shadcn@latest init --preset \u003Ccode> -f\n\n# Non-interactive with explicit base library choice\nnpx shadcn@latest init -d --base radix\nnpx shadcn@latest init -d --base base-ui\n\n# Scaffold a full project template (CLI v4)\n```\n\n> **AI Elements compatibility**: Always use `--base radix` (the default) when the project uses or may use AI Elements. AI Elements components rely on Radix APIs and have type errors with Base UI.\n\n```bash\nnpx shadcn@latest init --template next -d\nnpx shadcn@latest init --template vite -d\n```\n\nOptions:\n- `-d, --defaults` — **Use default configuration, skip all interactive prompts** (REQUIRED for CI\u002Fagent use)\n- `-y, --yes` — Skip confirmation prompts (does NOT skip library selection — use `-d` instead)\n- `-f, --force` — Force overwrite existing configuration\n- `-t, --template` — Scaffold full project template (`next`, `vite`, `react-router`, `astro`, `laravel`, `tanstack-start`)\n- `--preset` — Apply a design system preset (colors, theme, icons, fonts, radius) as a single shareable code\n- `--base` — Choose primitive library: `radix` (default) or `base-ui`\n- `--monorepo` — Set up a monorepo structure\n\n> **WARNING**: `-y`\u002F`--yes` alone does NOT make init fully non-interactive — it still prompts for component library selection. Always use `-d` to skip ALL prompts.\n\n> **Deprecated in CLI v4**: `--style`, `--base-color`, `--src-dir`, `--no-base-style`, and `--css-variables` flags are removed and will error. The `registry:build` and `registry:mcp` registry types are also deprecated. Use `registry:base` and `registry:font` instead.\n\nThe init command:\n1. Detects your framework (Next.js, Vite, React Router, Astro, Laravel, TanStack Start)\n2. Installs required dependencies (Radix UI, tailwind-merge, class-variance-authority)\n3. Creates `components.json` configuration\n4. Sets up the `cn()` utility function\n5. Configures CSS variables for theming\n\n### Add Components\n\n```bash\n# Add specific components\nnpx shadcn@latest add button dialog card\n\n# Add all available components\nnpx shadcn@latest add --all\n\n# Add from a custom registry\nnpx shadcn@latest add @v0\u002Fdashboard\nnpx shadcn@latest add @acme\u002Fcustom-button\n\n# Add from AI Elements registry\nnpx shadcn@latest add https:\u002F\u002Felements.ai-sdk.dev\u002Fapi\u002Fregistry\u002Fall.json\n```\n\nOptions:\n- `-o, --overwrite` — Overwrite existing files\n- `-p, --path` — Custom install path\n- `-a, --all` — Install all components\n- `--dry-run` — Preview what will be added without writing files\n- `--diff` — Show diff of changes when updating existing components\n- `--view` — Display a registry item's source code inline\n\n### Search & List\n\n```bash\nnpx shadcn@latest search button\nnpx shadcn@latest list @v0\n```\n\n### Build (Custom Registry)\n\n```bash\nnpx shadcn@latest build\nnpx shadcn@latest build .\u002Fregistry.json -o .\u002Fpublic\u002Fr\n```\n\n### View, Info & Docs (CLI v4)\n\n```bash\n# View a registry item's source before installing\nnpx shadcn@latest view button\n\n# Show project diagnostics — config, installed components, dependencies\nnpx shadcn@latest info\n\n# Get docs, code, and examples for any component (agent-friendly output)\nnpx shadcn@latest docs button\nnpx shadcn@latest docs dialog\n```\n\n> **`shadcn docs`** gives coding agents the context to use primitives correctly — returns code examples, API reference, and usage patterns inline.\n\n### Migrate\n\n```bash\nnpx shadcn@latest migrate rtl    # RTL support migration\nnpx shadcn@latest migrate radix  # Migrate to unified radix-ui package\nnpx shadcn@latest migrate icons  # Icon library changes\n\n# Migrate components outside the default ui directory\nnpx shadcn@latest migrate radix src\u002Fcomponents\u002Fcustom\n```\n\n## shadcn\u002Fskills (CLI v4)\n\nshadcn\u002Fskills gives coding agents the context they need to work with components and registries correctly. It covers both Radix and Base UI primitives, updated APIs, component patterns, and registry workflows. The skill knows how to use the CLI, when to invoke it, and which flags to pass — so agents produce code that matches your design system.\n\nInstall: `pnpm dlx skills add shadcn\u002Fui`\n\n## Unified Radix UI Package (February 2026)\n\nThe `new-york` style now uses a single `radix-ui` package instead of individual `@radix-ui\u002Freact-*` packages:\n\n```tsx\n\u002F\u002F OLD — individual packages\nimport * as DialogPrimitive from \"@radix-ui\u002Freact-dialog\"\n\n\u002F\u002F NEW — unified package\nimport { Dialog as DialogPrimitive } from \"radix-ui\"\n```\n\nTo migrate existing projects: `npx shadcn@latest migrate radix`. After migration, remove unused `@radix-ui\u002Freact-*` packages from `package.json`.\n\n## Base UI Support (January 2026)\n\nshadcn\u002Fui now supports **Base UI** as an alternative to Radix UI for the underlying primitive library. Components look and behave the same way regardless of which library you choose — only the underlying implementation changes.\n\nChoose during init: `npx shadcn@latest init --base base-ui`\n\nThe CLI pulls the correct component variant based on your project configuration automatically.\n\n## Configuration (components.json)\n\nThe `components.json` file configures how shadcn\u002Fui works in your project:\n\n```json\n{\n  \"$schema\": \"https:\u002F\u002Fui.shadcn.com\u002Fschema.json\",\n  \"style\": \"new-york\",\n  \"rsc\": true,\n  \"tsx\": true,\n  \"tailwind\": {\n    \"config\": \"tailwind.config.ts\",\n    \"css\": \"src\u002Fapp\u002Fglobals.css\",\n    \"baseColor\": \"zinc\",  \u002F\u002F Options: gray, neutral, slate, stone, zinc, mauve, olive, mist, taupe\n    \"cssVariables\": true\n  },\n  \"aliases\": {\n    \"components\": \"@\u002Fcomponents\",\n    \"utils\": \"@\u002Flib\u002Futils\",\n    \"ui\": \"@\u002Fcomponents\u002Fui\",\n    \"lib\": \"@\u002Flib\",\n    \"hooks\": \"@\u002Fhooks\"\n  },\n  \"registries\": {\n    \"v0\": {\n      \"url\": \"https:\u002F\u002Fv0.dev\u002Fchat\u002Fapi\u002Fregistry\"\n    },\n    \"ai-elements\": {\n      \"url\": \"https:\u002F\u002Felements.ai-sdk.dev\u002Fapi\u002Fregistry\"\n    }\n  }\n}\n```\n\n### Namespaced Registries\n\nConfigure multiple registries for your project:\n\n```json\n{\n  \"registries\": {\n    \"acme\": {\n      \"url\": \"https:\u002F\u002Facme.com\u002Fregistry\u002F{name}.json\"\n    },\n    \"private\": {\n      \"url\": \"https:\u002F\u002Finternal.company.com\u002Fregistry\u002F{name}.json\",\n      \"headers\": {\n        \"Authorization\": \"Bearer ${REGISTRY_TOKEN}\"\n      }\n    }\n  }\n}\n```\n\nInstall using namespace syntax:\n\n```bash\nnpx shadcn@latest add @acme\u002Fheader @private\u002Fauth-form\n```\n\n## Theming\n\n### CSS Variables\n\nshadcn\u002Fui uses CSS custom properties for theming, defined in `globals.css`:\n\n```css\n@theme inline {\n  --color-background: oklch(0.145 0 0);\n  --color-foreground: oklch(0.985 0 0);\n  --color-card: oklch(0.205 0 0);\n  --color-card-foreground: oklch(0.985 0 0);\n  --color-primary: oklch(0.488 0.243 264.376);\n  --color-primary-foreground: oklch(0.985 0 0);\n  --color-secondary: oklch(0.269 0 0);\n  --color-secondary-foreground: oklch(0.985 0 0);\n  --color-muted: oklch(0.269 0 0);\n  --color-muted-foreground: oklch(0.708 0 0);\n  --color-accent: oklch(0.269 0 0);\n  --color-accent-foreground: oklch(0.985 0 0);\n  --color-destructive: oklch(0.396 0.141 25.723);\n  --color-border: oklch(0.269 0 0);\n  --color-input: oklch(0.269 0 0);\n  --color-ring: oklch(0.488 0.243 264.376);\n  --radius: 0.625rem;\n  \u002F* CLI v4: radius tokens use multiplicative calc instead of additive *\u002F\n  --radius-xs: calc(var(--radius) * 0.5);\n  --radius-sm: calc(var(--radius) * 0.75);\n  --radius-md: calc(var(--radius) * 0.875);\n  --radius-lg: var(--radius);\n  --radius-xl: calc(var(--radius) * 1.5);\n}\n```\n\n### Dark Mode\n\nFor dark mode, use the `dark` class on `\u003Chtml>`:\n\n```tsx\n\u002F\u002F app\u002Flayout.tsx\n\u003Chtml lang=\"en\" className=\"dark\">\n```\n\nOr use next-themes for toggling:\n\n```tsx\nimport { ThemeProvider } from 'next-themes'\n\n\u003CThemeProvider attribute=\"class\" defaultTheme=\"dark\">\n  {children}\n\u003C\u002FThemeProvider>\n```\n\n### Custom Colors\n\nAdd application-specific colors alongside shadcn defaults:\n\n```css\n@theme inline {\n  \u002F* shadcn defaults above... *\u002F\n\n  \u002F* Custom app colors *\u002F\n  --color-priority-urgent: oklch(0.637 0.237 15.163);\n  --color-priority-high: oklch(0.705 0.213 47.604);\n  --color-status-done: oklch(0.723 0.219 149.579);\n}\n```\n\nUse in components:\n\n```tsx\n\u003Cspan className=\"text-[var(--color-priority-urgent)]\">Urgent\u003C\u002Fspan>\n\u002F\u002F Or with Tailwind v4 theme():\n\u003Cspan className=\"text-priority-urgent\">Urgent\u003C\u002Fspan>\n```\n\n## Most Common Components\n\n| Component | Use Case |\n|-----------|----------|\n| `button` | Actions, form submission |\n| `card` | Content containers |\n| `dialog` | Modals, confirmation prompts |\n| `input` \u002F `textarea` | Form fields |\n| `select` | Dropdowns |\n| `table` | Data display |\n| `tabs` | View switching |\n| `command` | Command palette (Cmd+K) |\n| `dropdown-menu` | Context menus |\n| `popover` | Floating content |\n| `tooltip` | Hover hints |\n| `badge` | Status indicators |\n| `avatar` | User profile images |\n| `scroll-area` | Scrollable containers |\n| `separator` | Visual dividers |\n| `label` | Form labels |\n| `sheet` | Slide-out panels |\n| `skeleton` | Loading placeholders |\n\n## Design Direction for shadcn on Vercel\n\nshadcn\u002Fui is not only a component source generator. In the Vercel stack it is the default interface language. Do not stop at \"the component works.\" Compose pages that feel deliberate, high-signal, and consistent.\n\n### Default aesthetic for product UI\n\n- Prefer style: `new-york` for product, dashboard, AI, and admin surfaces.\n- Default to dark mode for dashboards, AI apps, internal tools, settings, and developer-facing products. Use light mode only when the product is clearly content-first or editorial.\n- Use Geist Sans for interface text and Geist Mono for code, metrics, IDs, timestamps, commands.\n- Prefer zinc, neutral, or slate as the base palette. Use one accent color through `--color-primary`.\n- Build core surfaces from tokens: `bg-background`, `bg-card`, `text-foreground`, `text-muted-foreground`, `border-border`, `ring-ring`. Avoid ad-hoc hex values.\n- Keep radius consistent. The default `--radius: 0.625rem` is a strong baseline.\n- Use one density system per page: comfortable (`gap-6` \u002F `p-6` \u002F `text-sm`) or compact (`gap-4` \u002F `p-4` \u002F `text-sm`).\n- Keep icons quiet and consistent. Lucide icons at `h-4 w-4` or `h-5 w-5`.\n\n### Reach for this first\n\n| Use case | Reach for this first | Why |\n|----------|----------------------|-----|\n| Settings page | `Tabs` + `Card` + `Form` | Clear information grouping with predictable save flows |\n| Data dashboard | `Card` + `Badge` + `Table` + `DropdownMenu` | Covers summary, status, dense data, and row actions without custom shells |\n| CRUD table | `Table` + `DropdownMenu` + `Sheet` + `AlertDialog` | Supports browse, act, edit, and destructive confirmation in a standard pattern |\n| Auth screen | `Card` + `Label` + `Input` + `Button` + `Alert` | Keeps entry flows focused and gives errors a proper treatment |\n| Global search | `Command` + `Dialog` | Fast keyboard-first discovery with an established interaction model |\n| Mobile nav | `Sheet` + `Button` + `Separator` | Provides a compact navigation shell that adapts cleanly to small screens |\n| Detail page | header + `Badge` + `Separator` + `Card` | Balances hierarchy, metadata, and supporting content without over-nesting |\n| Filters | `Card` sidebar + `Sheet` + `Select` | Works for persistent desktop filters and collapsible mobile controls |\n| Empty\u002Floading\u002Ferror states | `Card` + `Skeleton` + `Alert` | Gives non-happy paths a designed surface instead of placeholder text |\n\n### Composition recipes\n\n- Settings page: `Tabs` + `Card` per group + `Separator` + save action\n- Admin dashboard: summary `Card`s + filter bar + `Table`\n- Entity detail: header + status `Badge` + main `Card` + side `Card` + `AlertDialog` for destructive\n- Search-heavy: `Command` for quick find, `Popover` for pickers, `Sheet` for mobile filters\n- Auth\u002Fonboarding: centered `Card` + social `Separator` + inline `Alert` for errors\n- Destructive flows: `AlertDialog` (not `Dialog`) for confirmation\n\n### Anti-patterns to avoid\n\n- Raw `button` \u002F `input` \u002F `select` \u002F `div` when shadcn primitives exist\n- Repeated `div rounded-xl border p-6` instead of `Tabs` \u002F `Table` \u002F `Sheet` \u002F `Dialog`\n- Multiple accent colors fighting each other\n- Nested cards inside cards inside cards\n- Large gradient backgrounds and glassmorphism on every surface\n- Mixing arbitrary spacing and radius values\n- Using `Dialog` for destructive confirmation instead of `AlertDialog`\n- Shipping empty\u002Floading\u002Ferror states without design treatment\n- Using ad-hoc Tailwind palette classes for foundational surfaces instead of theme tokens\n\n## Building a Custom Registry\n\nCreate your own component registry to share across projects:\n\n### Registry Types (CLI v4)\n\n| Type | Purpose |\n|------|---------|\n| `registry:ui` | Individual UI components |\n| `registry:base` | Full design system payload — components, deps, CSS vars, fonts, config |\n| `registry:font` | Font configuration as a first-class registry item |\n\n### 1. Define registry.json\n\n```json\n[\n  {\n    \"name\": \"my-component\",\n    \"type\": \"registry:ui\",\n    \"title\": \"My Component\",\n    \"description\": \"A custom component\",\n    \"files\": [\n      {\n        \"path\": \"components\u002Fmy-component.tsx\",\n        \"type\": \"registry:ui\"\n      }\n    ],\n    \"dependencies\": [\"lucide-react\"]\n  }\n]\n```\n\n### 2. Build\n\n```bash\nnpx shadcn@latest build\n# Outputs to public\u002Fr\u002Fmy-component.json\n```\n\n### 3. Consume\n\n```bash\nnpx shadcn@latest add https:\u002F\u002Fyour-domain.com\u002Fr\u002Fmy-component.json\n```\n\n## Component Gotchas\n\n### `shadcn init` Breaks Geist Font in Next.js (Tailwind v4)\n\n`shadcn init` rewrites `globals.css` and may introduce `--font-sans: var(--font-sans)` — a circular self-reference that breaks font loading. Tailwind v4's `@theme inline` resolves CSS custom properties at **parse time**, not runtime — so even `var(--font-geist-sans)` won't work because Next.js injects that variable via className at runtime.\n\n**The fix**: Use literal font family names in `@theme inline`:\n\n```css\n\u002F* In @theme inline — CORRECT (literal names) *\u002F\n--font-sans: \"Geist\", \"Geist Fallback\", ui-sans-serif, system-ui, sans-serif;\n--font-mono: \"Geist Mono\", \"Geist Mono Fallback\", ui-monospace, monospace;\n\n\u002F* WRONG — circular, resolves to nothing *\u002F\n--font-sans: var(--font-sans);\n\n\u002F* ALSO WRONG — @theme inline can't resolve runtime CSS variables *\u002F\n--font-sans: var(--font-geist-sans);\n```\n\n**After running `shadcn init`**, always:\n1. Replace font declarations in `@theme inline` with literal Geist font names (as shown above)\n2. Move the font variable classNames from `\u003Cbody>` to `\u003Chtml>` in `layout.tsx`:\n\n```tsx\n\u002F\u002F layout.tsx — font variables on \u003Chtml>, not \u003Cbody>\n\u003Chtml lang=\"en\" className={`${geistSans.variable} ${geistMono.variable}`}>\n  \u003Cbody className=\"antialiased\">\n```\n\n### Avatar Has No `size` Prop\n\nThe shadcn Avatar component does **not** accept a `size` variant prop. Control size with Tailwind classes:\n\n```tsx\n\u002F\u002F WRONG — no size variant exists\n\u003CAvatar size=\"lg\" \u002F>  \u002F\u002F ❌ TypeScript error \u002F silently ignored\n\n\u002F\u002F CORRECT — use Tailwind\n\u003CAvatar className=\"h-12 w-12\">\n  \u003CAvatarImage src={user.image} \u002F>\n  \u003CAvatarFallback>JD\u003C\u002FAvatarFallback>\n\u003C\u002FAvatar>\n\n\u002F\u002F Small avatar\n\u003CAvatar className=\"h-6 w-6\"> ... \u003C\u002FAvatar>\n```\n\nThis applies to most shadcn components — they use Tailwind classes for sizing, not variant props. If you need reusable size variants, add them yourself via `cva` in the component source.\n\n## Common Patterns\n\n### cn() Utility\n\nAll shadcn components use the `cn()` utility for conditional class merging:\n\n```ts\nimport { clsx, type ClassValue } from 'clsx'\nimport { twMerge } from 'tailwind-merge'\n\nexport function cn(...inputs: ClassValue[]) {\n  return twMerge(clsx(inputs))\n}\n```\n\n### Extending Components\n\nSince you own the source code, extend components directly:\n\n```tsx\n\u002F\u002F components\u002Fui\u002Fbutton.tsx — add your custom variant\nconst buttonVariants = cva('...', {\n  variants: {\n    variant: {\n      default: '...',\n      destructive: '...',\n      \u002F\u002F Add custom variants\n      success: 'bg-green-600 text-white hover:bg-green-700',\n      premium: 'bg-gradient-to-r from-purple-500 to-pink-500 text-white',\n    },\n  },\n})\n```\n\n### Wrapping with TooltipProvider\n\nMany components require `TooltipProvider` at the root:\n\n```tsx\n\u002F\u002F app\u002Flayout.tsx\nimport { TooltipProvider } from '@\u002Fcomponents\u002Fui\u002Ftooltip'\n\nexport default function RootLayout({ children }) {\n  return (\n    \u003Chtml lang=\"en\" className=\"dark\">\n      \u003Cbody>\n        \u003CTooltipProvider>{children}\u003C\u002FTooltipProvider>\n      \u003C\u002Fbody>\n    \u003C\u002Fhtml>\n  )\n}\n```\n\n## Framework Support\n\n- **Next.js** — Full support (App Router + Pages Router)\n- **Vite** — Full support\n- **React Router** — Full support\n- **Astro** — Full support\n- **Laravel** — Full support (via Inertia)\n- **TanStack Start** — Full support\n\n## Presets (CLI v4)\n\nPresets bundle your entire design system config (colors, theme, icon library, fonts, radius) into a single shareable code. One string configures everything:\n\n```bash\n# Apply a preset during init\nnpx shadcn@latest init --preset \u003Ccode>\n\n# Switch presets in an existing project (reconfigures everything including components)\nnpx shadcn@latest init --preset \u003Ccode>\n```\n\nBuild custom presets on `shadcn\u002Fcreate` — preview how colors, fonts, and radius apply to real components before publishing.\n\n## RTL Support (2026)\n\nThe CLI handles RTL transformation at install time:\n\n```bash\nnpx shadcn@latest migrate rtl\n```\n\nConverts directional classes (`ml-4`, `left-2`) to logical properties (`ms-4`, `start-2`) automatically.\n\n## Official Documentation\n\n- [shadcn\u002Fui](https:\u002F\u002Fui.shadcn.com)\n- [Components](https:\u002F\u002Fui.shadcn.com\u002Fdocs\u002Fcomponents)\n- [CLI](https:\u002F\u002Fui.shadcn.com\u002Fdocs\u002Fcli)\n- [Theming](https:\u002F\u002Fui.shadcn.com\u002Fdocs\u002Ftheming)\n- [Custom Registry](https:\u002F\u002Fui.shadcn.com\u002Fdocs\u002Fregistry)\n- [Registry Directory](https:\u002F\u002Fui.shadcn.com\u002Fdocs\u002Fdirectory)\n- [GitHub: shadcn\u002Fui](https:\u002F\u002Fgithub.com\u002Fshadcn-ui\u002Fui)\n","# shadcn\u002Fui\n\nYou are an expert in shadcn\u002Fui — a collection of beautifully designed, accessible, and customizable React components built on Radix UI primitives and Tailwind CSS. Components are added directly to your codebase as source code, not installed as a dependency.\n\n## Key Concept\n\nshadcn\u002Fui is **not a component library** in the traditional sense. You don't install it as a package. Instead, the CLI copies component source code into your project, giving you full ownership and customization ability.\n\n## CLI Commands\n\n### Initialize (non-interactive — ALWAYS use this)\n\n**IMPORTANT**: `shadcn init` is interactive by default. Always use `-d` (defaults) for non-interactive initialization:\n\n```bash\n# Non-interactive init with defaults — USE THIS\nnpx shadcn@latest init -d\n\n# Non-interactive with a preset (recommended for consistent design systems)\nnpx shadcn@latest init --preset \u003Ccode> -f\n\n# Non-interactive with explicit base library choice\nnpx shadcn@latest init -d --base radix\nnpx shadcn@latest init -d --base base-ui\n\n# Scaffold a full project template (CLI v4)\n```\n\n> **AI Elements compatibility**: Always use `--base radix` (the default) when the project uses or may use AI Elements. AI Elements components rely on Radix APIs and have type errors with Base UI.\n\n```bash\nnpx shadcn@latest init --template next -d\nnpx shadcn@latest init --template vite -d\n```\n\nOptions:\n- `-d, --defaults` — **Use default configuration, skip all interactive prompts** (REQUIRED for CI\u002Fagent use)\n- `-y, --yes` — Skip confirmation prompts (does NOT skip library selection — use `-d` instead)\n- `-f, --force` — Force overwrite existing configuration\n- `-t, --template` — Scaffold full project template (`next`, `vite`, `react-router`, `astro`, `laravel`, `tanstack-start`)\n- `--preset` — Apply a design system preset (colors, theme, icons, fonts, radius) as a single shareable code\n- `--base` — Choose primitive library: `radix` (default) or `base-ui`\n- `--monorepo` — Set up a monorepo structure\n\n> **WARNING**: `-y`\u002F`--yes` alone does NOT make init fully non-interactive — it still prompts for component library selection. Always use `-d` to skip ALL prompts.\n\n> **Deprecated in CLI v4**: `--style`, `--base-color`, `--src-dir`, `--no-base-style`, and `--css-variables` flags are removed and will error. The `registry:build` and `registry:mcp` registry types are also deprecated. Use `registry:base` and `registry:font` instead.\n\nThe init command:\n1. Detects your framework (Next.js, Vite, React Router, Astro, Laravel, TanStack Start)\n2. Installs required dependencies (Radix UI, tailwind-merge, class-variance-authority)\n3. Creates `components.json` configuration\n4. Sets up the `cn()` utility function\n5. Configures CSS variables for theming\n\n### Add Components\n\n```bash\n# Add specific components\nnpx shadcn@latest add button dialog card\n\n# Add all available components\nnpx shadcn@latest add --all\n\n# Add from a custom registry\nnpx shadcn@latest add @v0\u002Fdashboard\nnpx shadcn@latest add @acme\u002Fcustom-button\n\n# Add from AI Elements registry\nnpx shadcn@latest add https:\u002F\u002Felements.ai-sdk.dev\u002Fapi\u002Fregistry\u002Fall.json\n```\n\nOptions:\n- `-o, --overwrite` — Overwrite existing files\n- `-p, --path` — Custom install path\n- `-a, --all` — Install all components\n- `--dry-run` — Preview what will be added without writing files\n- `--diff` — Show diff of changes when updating existing components\n- `--view` — Display a registry item's source code inline\n\n### Search & List\n\n```bash\nnpx shadcn@latest search button\nnpx shadcn@latest list @v0\n```\n\n### Build (Custom Registry)\n\n```bash\nnpx shadcn@latest build\nnpx shadcn@latest build .\u002Fregistry.json -o .\u002Fpublic\u002Fr\n```\n\n### View, Info & Docs (CLI v4)\n\n```bash\n# View a registry item's source before installing\nnpx shadcn@latest view button\n\n# Show project diagnostics — config, installed components, dependencies\nnpx shadcn@latest info\n\n# Get docs, code, and examples for any component (agent-friendly output)\nnpx shadcn@latest docs button\nnpx shadcn@latest docs dialog\n```\n\n> **`shadcn docs`** gives coding agents the context to use primitives correctly — returns code examples, API reference, and usage patterns inline.\n\n### Migrate\n\n```bash\nnpx shadcn@latest migrate rtl    # RTL support migration\nnpx shadcn@latest migrate radix  # Migrate to unified radix-ui package\nnpx shadcn@latest migrate icons  # Icon library changes\n\n# Migrate components outside the default ui directory\nnpx shadcn@latest migrate radix src\u002Fcomponents\u002Fcustom\n```\n\n## shadcn\u002Fskills (CLI v4)\n\nshadcn\u002Fskills gives coding agents the context they need to work with components and registries correctly. It covers both Radix and Base UI primitives, updated APIs, component patterns, and registry workflows. The skill knows how to use the CLI, when to invoke it, and which flags to pass — so agents produce code that matches your design system.\n\nInstall: `pnpm dlx skills add shadcn\u002Fui`\n\n## Unified Radix UI Package (February 2026)\n\nThe `new-york` style now uses a single `radix-ui` package instead of individual `@radix-ui\u002Freact-*` packages:\n\n```tsx\n\u002F\u002F OLD — individual packages\nimport * as DialogPrimitive from \"@radix-ui\u002Freact-dialog\"\n\n\u002F\u002F NEW — unified package\nimport { Dialog as DialogPrimitive } from \"radix-ui\"\n```\n\nTo migrate existing projects: `npx shadcn@latest migrate radix`. After migration, remove unused `@radix-ui\u002Freact-*` packages from `package.json`.\n\n## Base UI Support (January 2026)\n\nshadcn\u002Fui now supports **Base UI** as an alternative to Radix UI for the underlying primitive library. Components look and behave the same way regardless of which library you choose — only the underlying implementation changes.\n\nChoose during init: `npx shadcn@latest init --base base-ui`\n\nThe CLI pulls the correct component variant based on your project configuration automatically.\n\n## Configuration (components.json)\n\nThe `components.json` file configures how shadcn\u002Fui works in your project:\n\n```json\n{\n  \"$schema\": \"https:\u002F\u002Fui.shadcn.com\u002Fschema.json\",\n  \"style\": \"new-york\",\n  \"rsc\": true,\n  \"tsx\": true,\n  \"tailwind\": {\n    \"config\": \"tailwind.config.ts\",\n    \"css\": \"src\u002Fapp\u002Fglobals.css\",\n    \"baseColor\": \"zinc\",  \u002F\u002F Options: gray, neutral, slate, stone, zinc, mauve, olive, mist, taupe\n    \"cssVariables\": true\n  },\n  \"aliases\": {\n    \"components\": \"@\u002Fcomponents\",\n    \"utils\": \"@\u002Flib\u002Futils\",\n    \"ui\": \"@\u002Fcomponents\u002Fui\",\n    \"lib\": \"@\u002Flib\",\n    \"hooks\": \"@\u002Fhooks\"\n  },\n  \"registries\": {\n    \"v0\": {\n      \"url\": \"https:\u002F\u002Fv0.dev\u002Fchat\u002Fapi\u002Fregistry\"\n    },\n    \"ai-elements\": {\n      \"url\": \"https:\u002F\u002Felements.ai-sdk.dev\u002Fapi\u002Fregistry\"\n    }\n  }\n}\n```\n\n### Namespaced Registries\n\nConfigure multiple registries for your project:\n\n```json\n{\n  \"registries\": {\n    \"acme\": {\n      \"url\": \"https:\u002F\u002Facme.com\u002Fregistry\u002F{name}.json\"\n    },\n    \"private\": {\n      \"url\": \"https:\u002F\u002Finternal.company.com\u002Fregistry\u002F{name}.json\",\n      \"headers\": {\n        \"Authorization\": \"Bearer ${REGISTRY_TOKEN}\"\n      }\n    }\n  }\n}\n```\n\nInstall using namespace syntax:\n\n```bash\nnpx shadcn@latest add @acme\u002Fheader @private\u002Fauth-form\n```\n\n## Theming\n\n### CSS Variables\n\nshadcn\u002Fui uses CSS custom properties for theming, defined in `globals.css`:\n\n```css\n@theme inline {\n  --color-background: oklch(0.145 0 0);\n  --color-foreground: oklch(0.985 0 0);\n  --color-card: oklch(0.205 0 0);\n  --color-card-foreground: oklch(0.985 0 0);\n  --color-primary: oklch(0.488 0.243 264.376);\n  --color-primary-foreground: oklch(0.985 0 0);\n  --color-secondary: oklch(0.269 0 0);\n  --color-secondary-foreground: oklch(0.985 0 0);\n  --color-muted: oklch(0.269 0 0);\n  --color-muted-foreground: oklch(0.708 0 0);\n  --color-accent: oklch(0.269 0 0);\n  --color-accent-foreground: oklch(0.985 0 0);\n  --color-destructive: oklch(0.396 0.141 25.723);\n  --color-border: oklch(0.269 0 0);\n  --color-input: oklch(0.269 0 0);\n  --color-ring: oklch(0.488 0.243 264.376);\n  --radius: 0.625rem;\n  \u002F* CLI v4: radius tokens use multiplicative calc instead of additive *\u002F\n  --radius-xs: calc(var(--radius) * 0.5);\n  --radius-sm: calc(var(--radius) * 0.75);\n  --radius-md: calc(var(--radius) * 0.875);\n  --radius-lg: var(--radius);\n  --radius-xl: calc(var(--radius) * 1.5);\n}\n```\n\n### Dark Mode\n\nFor dark mode, use the `dark` class on `\u003Chtml>`:\n\n```tsx\n\u002F\u002F app\u002Flayout.tsx\n\u003Chtml lang=\"en\" className=\"dark\">\n```\n\nOr use next-themes for toggling:\n\n```tsx\nimport { ThemeProvider } from 'next-themes'\n\n\u003CThemeProvider attribute=\"class\" defaultTheme=\"dark\">\n  {children}\n\u003C\u002FThemeProvider>\n```\n\n### Custom Colors\n\nAdd application-specific colors alongside shadcn defaults:\n\n```css\n@theme inline {\n  \u002F* shadcn defaults above... *\u002F\n\n  \u002F* Custom app colors *\u002F\n  --color-priority-urgent: oklch(0.637 0.237 15.163);\n  --color-priority-high: oklch(0.705 0.213 47.604);\n  --color-status-done: oklch(0.723 0.219 149.579);\n}\n```\n\nUse in components:\n\n```tsx\n\u003Cspan className=\"text-[var(--color-priority-urgent)]\">Urgent\u003C\u002Fspan>\n\u002F\u002F Or with Tailwind v4 theme():\n\u003Cspan className=\"text-priority-urgent\">Urgent\u003C\u002Fspan>\n```\n\n## Most Common Components\n\n| Component | Use Case |\n|-----------|----------|\n| `button` | Actions, form submission |\n| `card` | Content containers |\n| `dialog` | Modals, confirmation prompts |\n| `input` \u002F `textarea` | Form fields |\n| `select` | Dropdowns |\n| `table` | Data display |\n| `tabs` | View switching |\n| `command` | Command palette (Cmd+K) |\n| `dropdown-menu` | Context menus |\n| `popover` | Floating content |\n| `tooltip` | Hover hints |\n| `badge` | Status indicators |\n| `avatar` | User profile images |\n| `scroll-area` | Scrollable containers |\n| `separator` | Visual dividers |\n| `label` | Form labels |\n| `sheet` | Slide-out panels |\n| `skeleton` | Loading placeholders |\n\n## Design Direction for shadcn on Vercel\n\nshadcn\u002Fui is not only a component source generator. In the Vercel stack it is the default interface language. Do not stop at \"the component works.\" Compose pages that feel deliberate, high-signal, and consistent.\n\n### Default aesthetic for product UI\n\n- Prefer style: `new-york` for product, dashboard, AI, and admin surfaces.\n- Default to dark mode for dashboards, AI apps, internal tools, settings, and developer-facing products. Use light mode only when the product is clearly content-first or editorial.\n- Use Geist Sans for interface text and Geist Mono for code, metrics, IDs, timestamps, commands.\n- Prefer zinc, neutral, or slate as the base palette. Use one accent color through `--color-primary`.\n- Build core surfaces from tokens: `bg-background`, `bg-card`, `text-foreground`, `text-muted-foreground`, `border-border`, `ring-ring`. Avoid ad-hoc hex values.\n- Keep radius consistent. The default `--radius: 0.625rem` is a strong baseline.\n- Use one density system per page: comfortable (`gap-6` \u002F `p-6` \u002F `text-sm`) or compact (`gap-4` \u002F `p-4` \u002F `text-sm`).\n- Keep icons quiet and consistent. Lucide icons at `h-4 w-4` or `h-5 w-5`.\n\n### Reach for this first\n\n| Use case | Reach for this first | Why |\n|----------|----------------------|-----|\n| Settings page | `Tabs` + `Card` + `Form` | Clear information grouping with predictable save flows |\n| Data dashboard | `Card` + `Badge` + `Table` + `DropdownMenu` | Covers summary, status, dense data, and row actions without custom shells |\n| CRUD table | `Table` + `DropdownMenu` + `Sheet` + `AlertDialog` | Supports browse, act, edit, and destructive confirmation in a standard pattern |\n| Auth screen | `Card` + `Label` + `Input` + `Button` + `Alert` | Keeps entry flows focused and gives errors a proper treatment |\n| Global search | `Command` + `Dialog` | Fast keyboard-first discovery with an established interaction model |\n| Mobile nav | `Sheet` + `Button` + `Separator` | Provides a compact navigation shell that adapts cleanly to small screens |\n| Detail page | header + `Badge` + `Separator` + `Card` | Balances hierarchy, metadata, and supporting content without over-nesting |\n| Filters | `Card` sidebar + `Sheet` + `Select` | Works for persistent desktop filters and collapsible mobile controls |\n| Empty\u002Floading\u002Ferror states | `Card` + `Skeleton` + `Alert` | Gives non-happy paths a designed surface instead of placeholder text |\n\n### Composition recipes\n\n- Settings page: `Tabs` + `Card` per group + `Separator` + save action\n- Admin dashboard: summary `Card`s + filter bar + `Table`\n- Entity detail: header + status `Badge` + main `Card` + side `Card` + `AlertDialog` for destructive\n- Search-heavy: `Command` for quick find, `Popover` for pickers, `Sheet` for mobile filters\n- Auth\u002Fonboarding: centered `Card` + social `Separator` + inline `Alert` for errors\n- Destructive flows: `AlertDialog` (not `Dialog`) for confirmation\n\n### Anti-patterns to avoid\n\n- Raw `button` \u002F `input` \u002F `select` \u002F `div` when shadcn primitives exist\n- Repeated `div rounded-xl border p-6` instead of `Tabs` \u002F `Table` \u002F `Sheet` \u002F `Dialog`\n- Multiple accent colors fighting each other\n- Nested cards inside cards inside cards\n- Large gradient backgrounds and glassmorphism on every surface\n- Mixing arbitrary spacing and radius values\n- Using `Dialog` for destructive confirmation instead of `AlertDialog`\n- Shipping empty\u002Floading\u002Ferror states without design treatment\n- Using ad-hoc Tailwind palette classes for foundational surfaces instead of theme tokens\n\n## Building a Custom Registry\n\nCreate your own component registry to share across projects:\n\n### Registry Types (CLI v4)\n\n| Type | Purpose |\n|------|---------|\n| `registry:ui` | Individual UI components |\n| `registry:base` | Full design system payload — components, deps, CSS vars, fonts, config |\n| `registry:font` | Font configuration as a first-class registry item |\n\n### 1. Define registry.json\n\n```json\n[\n  {\n    \"name\": \"my-component\",\n    \"type\": \"registry:ui\",\n    \"title\": \"My Component\",\n    \"description\": \"A custom component\",\n    \"files\": [\n      {\n        \"path\": \"components\u002Fmy-component.tsx\",\n        \"type\": \"registry:ui\"\n      }\n    ],\n    \"dependencies\": [\"lucide-react\"]\n  }\n]\n```\n\n### 2. Build\n\n```bash\nnpx shadcn@latest build\n# Outputs to public\u002Fr\u002Fmy-component.json\n```\n\n### 3. Consume\n\n```bash\nnpx shadcn@latest add https:\u002F\u002Fyour-domain.com\u002Fr\u002Fmy-component.json\n```\n\n## Component Gotchas\n\n### `shadcn init` Breaks Geist Font in Next.js (Tailwind v4)\n\n`shadcn init` rewrites `globals.css` and may introduce `--font-sans: var(--font-sans)` — a circular self-reference that breaks font loading. Tailwind v4's `@theme inline` resolves CSS custom properties at **parse time**, not runtime — so even `var(--font-geist-sans)` won't work because Next.js injects that variable via className at runtime.\n\n**The fix**: Use literal font family names in `@theme inline`:\n\n```css\n\u002F* In @theme inline — CORRECT (literal names) *\u002F\n--font-sans: \"Geist\", \"Geist Fallback\", ui-sans-serif, system-ui, sans-serif;\n--font-mono: \"Geist Mono\", \"Geist Mono Fallback\", ui-monospace, monospace;\n\n\u002F* WRONG — circular, resolves to nothing *\u002F\n--font-sans: var(--font-sans);\n\n\u002F* ALSO WRONG — @theme inline can't resolve runtime CSS variables *\u002F\n--font-sans: var(--font-geist-sans);\n```\n\n**After running `shadcn init`**, always:\n1. Replace font declarations in `@theme inline` with literal Geist font names (as shown above)\n2. Move the font variable classNames from `\u003Cbody>` to `\u003Chtml>` in `layout.tsx`:\n\n```tsx\n\u002F\u002F layout.tsx — font variables on \u003Chtml>, not \u003Cbody>\n\u003Chtml lang=\"en\" className={`${geistSans.variable} ${geistMono.variable}`}>\n  \u003Cbody className=\"antialiased\">\n```\n\n### Avatar Has No `size` Prop\n\nThe shadcn Avatar component does **not** accept a `size` variant prop. Control size with Tailwind classes:\n\n```tsx\n\u002F\u002F WRONG — no size variant exists\n\u003CAvatar size=\"lg\" \u002F>  \u002F\u002F ❌ TypeScript error \u002F silently ignored\n\n\u002F\u002F CORRECT — use Tailwind\n\u003CAvatar className=\"h-12 w-12\">\n  \u003CAvatarImage src={user.image} \u002F>\n  \u003CAvatarFallback>JD\u003C\u002FAvatarFallback>\n\u003C\u002FAvatar>\n\n\u002F\u002F Small avatar\n\u003CAvatar className=\"h-6 w-6\"> ... \u003C\u002FAvatar>\n```\n\nThis applies to most shadcn components — they use Tailwind classes for sizing, not variant props. If you need reusable size variants, add them yourself via `cva` in the component source.\n\n## Common Patterns\n\n### cn() Utility\n\nAll shadcn components use the `cn()` utility for conditional class merging:\n\n```ts\nimport { clsx, type ClassValue } from 'clsx'\nimport { twMerge } from 'tailwind-merge'\n\nexport function cn(...inputs: ClassValue[]) {\n  return twMerge(clsx(inputs))\n}\n```\n\n### Extending Components\n\nSince you own the source code, extend components directly:\n\n```tsx\n\u002F\u002F components\u002Fui\u002Fbutton.tsx — add your custom variant\nconst buttonVariants = cva('...', {\n  variants: {\n    variant: {\n      default: '...',\n      destructive: '...',\n      \u002F\u002F Add custom variants\n      success: 'bg-green-600 text-white hover:bg-green-700',\n      premium: 'bg-gradient-to-r from-purple-500 to-pink-500 text-white',\n    },\n  },\n})\n```\n\n### Wrapping with TooltipProvider\n\nMany components require `TooltipProvider` at the root:\n\n```tsx\n\u002F\u002F app\u002Flayout.tsx\nimport { TooltipProvider } from '@\u002Fcomponents\u002Fui\u002Ftooltip'\n\nexport default function RootLayout({ children }) {\n  return (\n    \u003Chtml lang=\"en\" className=\"dark\">\n      \u003Cbody>\n        \u003CTooltipProvider>{children}\u003C\u002FTooltipProvider>\n      \u003C\u002Fbody>\n    \u003C\u002Fhtml>\n  )\n}\n```\n\n## Framework Support\n\n- **Next.js** — Full support (App Router + Pages Router)\n- **Vite** — Full support\n- **React Router** — Full support\n- **Astro** — Full support\n- **Laravel** — Full support (via Inertia)\n- **TanStack Start** — Full support\n\n## Presets (CLI v4)\n\nPresets bundle your entire design system config (colors, theme, icon library, fonts, radius) into a single shareable code. One string configures everything:\n\n```bash\n# Apply a preset during init\nnpx shadcn@latest init --preset \u003Ccode>\n\n# Switch presets in an existing project (reconfigures everything including components)\nnpx shadcn@latest init --preset \u003Ccode>\n```\n\nBuild custom presets on `shadcn\u002Fcreate` — preview how colors, fonts, and radius apply to real components before publishing.\n\n## RTL Support (2026)\n\nThe CLI handles RTL transformation at install time:\n\n```bash\nnpx shadcn@latest migrate rtl\n```\n\nConverts directional classes (`ml-4`, `left-2`) to logical properties (`ms-4`, `start-2`) automatically.\n\n## Official Documentation\n\n- [shadcn\u002Fui](https:\u002F\u002Fui.shadcn.com)\n- [Components](https:\u002F\u002Fui.shadcn.com\u002Fdocs\u002Fcomponents)\n- [CLI](https:\u002F\u002Fui.shadcn.com\u002Fdocs\u002Fcli)\n- [Theming](https:\u002F\u002Fui.shadcn.com\u002Fdocs\u002Ftheming)\n- [Custom Registry](https:\u002F\u002Fui.shadcn.com\u002Fdocs\u002Fregistry)\n- [Registry Directory](https:\u002F\u002Fui.shadcn.com\u002Fdocs\u002Fdirectory)\n- [GitHub: shadcn\u002Fui](https:\u002F\u002Fgithub.com\u002Fshadcn-ui\u002Fui)\n",{"name":5,"metadata":24,"description":7},{"docs":25,"priority":28,"bashPatterns":29,"pathPatterns":36},[26,27],"https:\u002F\u002Fui.shadcn.com\u002Fdocs","https:\u002F\u002Fui.shadcn.com\u002Fdocs\u002Fcomponents",6,[30,31,32,33,34,35],"\\bnpx\\s+shadcn\\b","\\bnpx\\s+shadcn@latest\\s+(init|add|build|search|list|migrate|info|docs|view)\\b","\\bnpx\\s+create-next-app\\b","\\bbunx\\s+create-next-app\\b","\\bpnpm\\s+create\\s+next-app\\b","\\bnpm\\s+create\\s+next-app\\b",[37,38,39,40,41,42,43],"components.json","components\u002Fui\u002F**","src\u002Fcomponents\u002Fui\u002F**","apps\u002F*\u002Fcomponents\u002Fui\u002F**","apps\u002F*\u002Fsrc\u002Fcomponents\u002Fui\u002F**","packages\u002F*\u002Fcomponents\u002Fui\u002F**","packages\u002F*\u002Fsrc\u002Fcomponents\u002Fui\u002F**","main","dde9a06ab10bce3fe52058c783826590231f7df3","plugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Fvercel\u002Fskills\u002Fshadcn","https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api","https:\u002F\u002Fgithub.com\u002Fwxdwu","24120128@bjtu.edu.cn","I am Xudong Wu，a student in beijing jiaotong University, \"I am eager to learn on GitHub and contribute my part to this community.","2026-10-05 17:26:50",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add wxdwu\u002Fnew-api --skill shadcn",{"tool":58,"command":59},"bunx","bunx skills add wxdwu\u002Fnew-api --skill shadcn",{"tool":61,"command":62},"pnpm","pnpm dlx skills add wxdwu\u002Fnew-api --skill shadcn","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api\u002Fblob\u002Fmain\u002Fplugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Fvercel\u002Fskills\u002Fshadcn\u002FSKILL.md",true,[66],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"agents\u002Fopenai.yaml","REFERENCE","参考文档",171,"https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api\u002Fblob\u002Fmain\u002Fplugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Fvercel\u002Fskills\u002Fshadcn\u002Fagents\u002Fopenai.yaml",[73,80,87,94,101,108],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7E8SVA2N0JA09RW1XJYXCWX","Zotero","Use Zotero Desktop from Codex to enable\u002Fprobe the local API, search a local Zotero library, list items\u002Fcollections\u002Ftags, export BibTeX, insert citation keys into LaTeX or Markdown drafts, read indexed full text when requested, and import BibTeX\u002FRIS records into Zotero through the connector server. Use when the user mentions Zotero, citations, references.bib, BibTeX export, local Zotero API, localhost:23119, or adding citations from a Zotero library.","https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api\u002Fblob\u002Fmain\u002Fplugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Fzotero\u002Fskills\u002Fzotero\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7E8ST1FJAD5PWTW2FN1NSK0","zoom-apps-sdk","Use when using Apps SDK.","https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api\u002Fblob\u002Fmain\u002Fplugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7E8SRW074NNNCZRCZA5T3Z1","setup-zoom-websockets","Use when building Zoom WebSockets.","https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api\u002Fblob\u002Fmain\u002Fplugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M7E8SPCFMD3YVPRX2MW8X3RA","setup-zoom-webhooks","Use when building Zoom webhooks.","https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api\u002Fblob\u002Fmain\u002Fplugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Fzoom\u002Fskills\u002Fwebhooks\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":19},"01M7E8SMCH4RPCX8YSBNGWQCMP","zoom-virtual-agent-web","Zoom Virtual Agent SDK for web embeds. Use for campaign or entry ID chat launch, event-driven controls, user context updates, and CSP-safe deployment.","https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api\u002Fblob\u002Fmain\u002Fplugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Fzoom\u002Fskills\u002Fvirtual-agent\u002Fweb\u002FSKILL.md",[],[],{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":19},"01M7E8SJCAY323E36Z8SAP8H4M","zoom-virtual-agent-ios","Zoom Virtual Agent iOS integration via WKWebView. Use for Swift\u002FObjective-C script injection, message handlers, support_handoff relay, and URL routing policies.","https:\u002F\u002Fgithub.com\u002Fwxdwu\u002Fnew-api\u002Fblob\u002Fmain\u002Fplugins\u002F.tmp\u002Fplugins\u002Fplugins\u002Fzoom\u002Fskills\u002Fvirtual-agent\u002Fios\u002FSKILL.md",[],[]]