[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75H2QBMX6NACJ28SCB1915T":3,"skill-same:01M75H2QBMX6NACJ28SCB1915T":47},{"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":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":46},"01M75H2QBMX6NACJ28SCB1915T","shadcn-theme-default",null,"Enforces the default shadcn\u002Fui Neutral theme (black\u002Fwhite\u002Fgray) with OKLCH CSS variables, Tailwind v4 integration, and dark mode support","javimosch\u002Fopen-claw-skills","javimosch","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F12900508?v=4","01M6D3F2AS6PV75ET9PZ1QGP8J","Javier Leandro Arancibia","01M75B8NCTAJG9WH5YNZH7C3D8",0,"MIT","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fguifav\u002Fshadcn-theme-default\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: shadcn-theme-default\ndescription: Enforces the default shadcn\u002Fui Neutral theme (black\u002Fwhite\u002Fgray) with OKLCH CSS variables, Tailwind v4 integration, and dark mode support\nuser-invocable: true\n---\n\n# shadcn\u002Fui Default Theme — Neutral (Black\u002FWhite\u002FGray)\n\nYou are a frontend engineer responsible for applying and maintaining the default shadcn\u002Fui Neutral theme across the project. When creating components, pages, layouts, or any visual element, you MUST use the theme tokens defined below. Never hardcode hex, RGB, or HSL values — always reference CSS variables via Tailwind utility classes.\n\nThis skill only modifies CSS and Tailwind configuration files. It never reads or modifies `.env`, `.env.local`, or credential files.\n\n## Planning Protocol (MANDATORY — execute before ANY action)\n\nBefore modifying any styling file or component, you MUST complete this planning phase:\n\n1. **Understand the request.** Determine what visual change is needed: new component styling, theme adjustment, dark mode fix, or full theme setup.\n\n2. **Survey the current state.** Check: (a) `src\u002Fapp\u002Fglobals.css` (or equivalent) for existing CSS variables, (b) `tailwind.config.ts` or `@theme` directives for Tailwind integration, (c) `components.json` for shadcn\u002Fui configuration, (d) whether dark mode is already configured. Do NOT read `.env` or credential files.\n\n3. **Build an execution plan.** Write out which files will be created or modified and in what order. Theme variables must be set before component styling.\n\n4. **Identify risks.** Flag: (a) overwriting custom theme values the user may have set, (b) breaking existing component styles by changing variable names, (c) Tailwind version incompatibility (v3 uses `hsl()`, v4 uses `oklch()`).\n\n5. **Execute sequentially.** Apply changes in order: CSS variables first, then Tailwind config, then component updates.\n\n6. **Summarize.** Report what changed and confirm both light and dark modes render correctly.\n\nDo NOT skip this protocol.\n\n---\n\n## Theme Architecture\n\nshadcn\u002Fui uses CSS custom properties (variables) following a **background\u002Fforeground** naming convention:\n\n- The **background** variable (e.g., `--primary`) is used for the element's fill\u002Fbackground.\n- The **foreground** variable (e.g., `--primary-foreground`) is used for text\u002Ficons on top of that background.\n\nIn Tailwind, these map to:\n- `bg-primary` uses `var(--primary)`\n- `text-primary-foreground` uses `var(--primary-foreground)`\n\nThe color space is **OKLCH** (Oklab Lightness Chroma Hue), which is perceptually uniform and the default in shadcn\u002Fui since Tailwind v4.\n\n---\n\n## Complete CSS Variables — Default Neutral Theme\n\n### Light Mode (`:root`)\n\n```css\n:root {\n  \u002F* Border radius *\u002F\n  --radius: 0.625rem;\n\n  \u002F* Core surfaces *\u002F\n  --background: oklch(1 0 0);                      \u002F* pure white *\u002F\n  --foreground: oklch(0.145 0 0);                   \u002F* near black *\u002F\n\n  \u002F* Card *\u002F\n  --card: oklch(1 0 0);\n  --card-foreground: oklch(0.145 0 0);\n\n  \u002F* Popover *\u002F\n  --popover: oklch(1 0 0);\n  --popover-foreground: oklch(0.145 0 0);\n\n  \u002F* Primary — used for main CTA buttons, links, active states *\u002F\n  --primary: oklch(0.205 0 0);                      \u002F* very dark gray \u002F near black *\u002F\n  --primary-foreground: oklch(0.985 0 0);            \u002F* near white *\u002F\n\n  \u002F* Secondary — used for secondary buttons, subtle backgrounds *\u002F\n  --secondary: oklch(0.97 0 0);                     \u002F* very light gray *\u002F\n  --secondary-foreground: oklch(0.205 0 0);\n\n  \u002F* Muted — used for disabled states, placeholder text backgrounds *\u002F\n  --muted: oklch(0.97 0 0);\n  --muted-foreground: oklch(0.556 0 0);              \u002F* medium gray *\u002F\n\n  \u002F* Accent — used for hover states, highlighted items *\u002F\n  --accent: oklch(0.97 0 0);\n  --accent-foreground: oklch(0.205 0 0);\n\n  \u002F* Destructive — used for delete buttons, error states *\u002F\n  --destructive: oklch(0.577 0.245 27.325);          \u002F* red *\u002F\n  --destructive-foreground: oklch(0.985 0 0);\n\n  \u002F* Borders and inputs *\u002F\n  --border: oklch(0.922 0 0);                        \u002F* light gray border *\u002F\n  --input: oklch(0.922 0 0);                         \u002F* input border *\u002F\n  --ring: oklch(0.708 0 0);                          \u002F* focus ring — medium gray *\u002F\n\n  \u002F* Chart colors (for Recharts, Chart.js, etc.) *\u002F\n  --chart-1: oklch(0.646 0.222 41.116);              \u002F* warm orange *\u002F\n  --chart-2: oklch(0.6 0.118 184.704);               \u002F* teal *\u002F\n  --chart-3: oklch(0.398 0.07 227.392);              \u002F* dark blue *\u002F\n  --chart-4: oklch(0.828 0.189 84.429);              \u002F* yellow-green *\u002F\n  --chart-5: oklch(0.769 0.188 70.08);               \u002F* golden *\u002F\n\n  \u002F* Sidebar *\u002F\n  --sidebar: oklch(0.985 0 0);\n  --sidebar-foreground: oklch(0.145 0 0);\n  --sidebar-primary: oklch(0.205 0 0);\n  --sidebar-primary-foreground: oklch(0.985 0 0);\n  --sidebar-accent: oklch(0.97 0 0);\n  --sidebar-accent-foreground: oklch(0.205 0 0);\n  --sidebar-border: oklch(0.922 0 0);\n  --sidebar-ring: oklch(0.708 0 0);\n}\n```\n\n### Dark Mode (`.dark`)\n\n```css\n.dark {\n  \u002F* Core surfaces *\u002F\n  --background: oklch(0.145 0 0);                   \u002F* near black *\u002F\n  --foreground: oklch(0.985 0 0);                    \u002F* near white *\u002F\n\n  \u002F* Card *\u002F\n  --card: oklch(0.205 0 0);                          \u002F* dark gray *\u002F\n  --card-foreground: oklch(0.985 0 0);\n\n  \u002F* Popover *\u002F\n  --popover: oklch(0.269 0 0);\n  --popover-foreground: oklch(0.985 0 0);\n\n  \u002F* Primary — inverted for dark mode *\u002F\n  --primary: oklch(0.922 0 0);                       \u002F* light gray *\u002F\n  --primary-foreground: oklch(0.205 0 0);             \u002F* dark gray *\u002F\n\n  \u002F* Secondary *\u002F\n  --secondary: oklch(0.269 0 0);\n  --secondary-foreground: oklch(0.985 0 0);\n\n  \u002F* Muted *\u002F\n  --muted: oklch(0.269 0 0);\n  --muted-foreground: oklch(0.708 0 0);\n\n  \u002F* Accent *\u002F\n  --accent: oklch(0.371 0 0);\n  --accent-foreground: oklch(0.985 0 0);\n\n  \u002F* Destructive *\u002F\n  --destructive: oklch(0.704 0.191 22.216);\n  --destructive-foreground: oklch(0.985 0 0);\n\n  \u002F* Borders and inputs — use alpha channel in dark mode *\u002F\n  --border: oklch(1 0 0 \u002F 10%);\n  --input: oklch(1 0 0 \u002F 15%);\n  --ring: oklch(0.556 0 0);\n\n  \u002F* Chart colors (dark mode variants) *\u002F\n  --chart-1: oklch(0.488 0.243 264.376);             \u002F* blue-purple *\u002F\n  --chart-2: oklch(0.696 0.17 162.48);               \u002F* green-teal *\u002F\n  --chart-3: oklch(0.769 0.188 70.08);               \u002F* golden *\u002F\n  --chart-4: oklch(0.627 0.265 303.9);               \u002F* purple *\u002F\n  --chart-5: oklch(0.645 0.246 16.439);              \u002F* warm red *\u002F\n\n  \u002F* Sidebar *\u002F\n  --sidebar: oklch(0.205 0 0);\n  --sidebar-foreground: oklch(0.985 0 0);\n  --sidebar-primary: oklch(0.488 0.243 264.376);\n  --sidebar-primary-foreground: oklch(0.985 0 0);\n  --sidebar-accent: oklch(0.269 0 0);\n  --sidebar-accent-foreground: oklch(0.985 0 0);\n  --sidebar-border: oklch(1 0 0 \u002F 10%);\n  --sidebar-ring: oklch(0.439 0 0);\n}\n```\n\n---\n\n## Tailwind v4 Integration\n\nIn Tailwind v4, register the CSS variables as colors using the `@theme inline` directive. Add this to your main CSS file after the variable definitions:\n\n```css\n@theme inline {\n  --color-background: var(--background);\n  --color-foreground: var(--foreground);\n  --color-card: var(--card);\n  --color-card-foreground: var(--card-foreground);\n  --color-popover: var(--popover);\n  --color-popover-foreground: var(--popover-foreground);\n  --color-primary: var(--primary);\n  --color-primary-foreground: var(--primary-foreground);\n  --color-secondary: var(--secondary);\n  --color-secondary-foreground: var(--secondary-foreground);\n  --color-muted: var(--muted);\n  --color-muted-foreground: var(--muted-foreground);\n  --color-accent: var(--accent);\n  --color-accent-foreground: var(--accent-foreground);\n  --color-destructive: var(--destructive);\n  --color-destructive-foreground: var(--destructive-foreground);\n  --color-border: var(--border);\n  --color-input: var(--input);\n  --color-ring: var(--ring);\n  --color-chart-1: var(--chart-1);\n  --color-chart-2: var(--chart-2);\n  --color-chart-3: var(--chart-3);\n  --color-chart-4: var(--chart-4);\n  --color-chart-5: var(--chart-5);\n  --color-sidebar: var(--sidebar);\n  --color-sidebar-foreground: var(--sidebar-foreground);\n  --color-sidebar-primary: var(--sidebar-primary);\n  --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);\n  --color-sidebar-accent: var(--sidebar-accent);\n  --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);\n  --color-sidebar-border: var(--sidebar-border);\n  --color-sidebar-ring: var(--sidebar-ring);\n  --radius-sm: calc(var(--radius) - 4px);\n  --radius-md: calc(var(--radius) - 2px);\n  --radius-lg: var(--radius);\n  --radius-xl: calc(var(--radius) + 4px);\n}\n```\n\n### Tailwind v3 (legacy)\n\nIf the project uses Tailwind v3, the variables use HSL format instead of OKLCH. Add to `tailwind.config.ts`:\n\n```typescript\nimport type { Config } from \"tailwindcss\";\n\nconst config: Config = {\n  darkMode: [\"class\"],\n  theme: {\n    extend: {\n      colors: {\n        background: \"hsl(var(--background))\",\n        foreground: \"hsl(var(--foreground))\",\n        card: {\n          DEFAULT: \"hsl(var(--card))\",\n          foreground: \"hsl(var(--card-foreground))\",\n        },\n        popover: {\n          DEFAULT: \"hsl(var(--popover))\",\n          foreground: \"hsl(var(--popover-foreground))\",\n        },\n        primary: {\n          DEFAULT: \"hsl(var(--primary))\",\n          foreground: \"hsl(var(--primary-foreground))\",\n        },\n        secondary: {\n          DEFAULT: \"hsl(var(--secondary))\",\n          foreground: \"hsl(var(--secondary-foreground))\",\n        },\n        muted: {\n          DEFAULT: \"hsl(var(--muted))\",\n          foreground: \"hsl(var(--muted-foreground))\",\n        },\n        accent: {\n          DEFAULT: \"hsl(var(--accent))\",\n          foreground: \"hsl(var(--accent-foreground))\",\n        },\n        destructive: {\n          DEFAULT: \"hsl(var(--destructive))\",\n          foreground: \"hsl(var(--destructive-foreground))\",\n        },\n        border: \"hsl(var(--border))\",\n        input: \"hsl(var(--input))\",\n        ring: \"hsl(var(--ring))\",\n      },\n      borderRadius: {\n        lg: \"var(--radius)\",\n        md: \"calc(var(--radius) - 2px)\",\n        sm: \"calc(var(--radius) - 4px)\",\n      },\n    },\n  },\n};\nexport default config;\n```\n\n---\n\n## Dark Mode Setup\n\n### Next.js (App Router) with next-themes\n\n```bash\nnpm install next-themes\n```\n\nCreate `src\u002Fcomponents\u002Fshared\u002Ftheme-provider.tsx`:\n\n```typescript\n\"use client\";\n\nimport { ThemeProvider as NextThemesProvider } from \"next-themes\";\n\nexport function ThemeProvider({ children, ...props }: React.ComponentProps\u003Ctypeof NextThemesProvider>) {\n  return \u003CNextThemesProvider {...props}>{children}\u003C\u002FNextThemesProvider>;\n}\n```\n\nWrap the app in `src\u002Fapp\u002Flayout.tsx`:\n\n```typescript\nimport { ThemeProvider } from \"@\u002Fcomponents\u002Fshared\u002Ftheme-provider\";\n\nexport default function RootLayout({ children }: { children: React.ReactNode }) {\n  return (\n    \u003Chtml lang=\"en\" suppressHydrationWarning>\n      \u003Cbody>\n        \u003CThemeProvider attribute=\"class\" defaultTheme=\"system\" enableSystem disableTransitionOnChange>\n          {children}\n        \u003C\u002FThemeProvider>\n      \u003C\u002Fbody>\n    \u003C\u002Fhtml>\n  );\n}\n```\n\n### Theme Toggle Component\n\n```typescript\n\"use client\";\n\nimport { useTheme } from \"next-themes\";\nimport { Button } from \"@\u002Fcomponents\u002Fui\u002Fbutton\";\n\nexport function ThemeToggle() {\n  const { theme, setTheme } = useTheme();\n\n  return (\n    \u003CButton\n      variant=\"ghost\"\n      size=\"icon\"\n      onClick={() => setTheme(theme === \"dark\" ? \"light\" : \"dark\")}\n      aria-label=\"Toggle theme\"\n    >\n      \u003Cspan className=\"sr-only\">Toggle theme\u003C\u002Fspan>\n      {\u002F* Sun icon for light, Moon icon for dark *\u002F}\n      \u003Csvg\n        className=\"h-5 w-5 rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0\"\n        xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\"\n        viewBox=\"0 0 24 24\"\n        fill=\"none\"\n        stroke=\"currentColor\"\n        strokeWidth=\"2\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n      >\n        \u003Ccircle cx=\"12\" cy=\"12\" r=\"4\" \u002F>\n        \u003Cpath d=\"M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41\" \u002F>\n      \u003C\u002Fsvg>\n      \u003Csvg\n        className=\"absolute h-5 w-5 rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100\"\n        xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\"\n        viewBox=\"0 0 24 24\"\n        fill=\"none\"\n        stroke=\"currentColor\"\n        strokeWidth=\"2\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n      >\n        \u003Cpath d=\"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z\" \u002F>\n      \u003C\u002Fsvg>\n    \u003C\u002FButton>\n  );\n}\n```\n\n### Nuxt \u002F SvelteKit \u002F Other Frameworks\n\nFor non-Next.js frameworks, toggle the `.dark` class on the `\u003Chtml>` element:\n\n```typescript\n\u002F\u002F Generic dark mode toggle\nfunction toggleDarkMode() {\n  document.documentElement.classList.toggle(\"dark\");\n  const isDark = document.documentElement.classList.contains(\"dark\");\n  localStorage.setItem(\"theme\", isDark ? \"dark\" : \"light\");\n}\n\n\u002F\u002F On page load, respect user preference\nfunction initTheme() {\n  const stored = localStorage.getItem(\"theme\");\n  const prefersDark = window.matchMedia(\"(prefers-color-scheme: dark)\").matches;\n  if (stored === \"dark\" || (!stored && prefersDark)) {\n    document.documentElement.classList.add(\"dark\");\n  }\n}\n```\n\n---\n\n## Available shadcn\u002Fui Components\n\nThe following components are available and all respect the theme tokens above. Install via `npx shadcn@latest add \u003Ccomponent>`:\n\nAccordion, Alert, Alert Dialog, Aspect Ratio, Avatar, Badge, Breadcrumb, Button, Button Group, Calendar, Card, Carousel, Chart, Checkbox, Collapsible, Combobox, Command, Context Menu, Data Table, Date Picker, Dialog, Drawer, Dropdown Menu, Empty, Field, Hover Card, Input, Input Group, Input OTP, Item, Kbd, Label, Menubar, Native Select, Navigation Menu, Pagination, Popover, Progress, Radio Group, Resizable, Scroll Area, Select, Separator, Sheet, Sidebar, Skeleton, Slider, Sonner, Spinner, Switch, Table, Tabs, Textarea, Toast, Toggle, Toggle Group, Tooltip, Typography.\n\n---\n\n## Tailwind Utility Class Reference\n\nUse these Tailwind classes to apply theme tokens. NEVER use arbitrary values like `bg-[#000]` or `text-[#fff]`.\n\n### Backgrounds\n| Purpose | Class |\n|---------|-------|\n| Page background | `bg-background` |\n| Card surface | `bg-card` |\n| Popover surface | `bg-popover` |\n| Primary fill (CTA buttons) | `bg-primary` |\n| Secondary fill (secondary buttons) | `bg-secondary` |\n| Muted fill (disabled, subtle) | `bg-muted` |\n| Accent fill (hover, highlight) | `bg-accent` |\n| Destructive fill (delete, error) | `bg-destructive` |\n| Sidebar background | `bg-sidebar` |\n\n### Text\n| Purpose | Class |\n|---------|-------|\n| Body text | `text-foreground` |\n| Text on primary bg | `text-primary-foreground` |\n| Text on secondary bg | `text-secondary-foreground` |\n| Muted\u002Fplaceholder text | `text-muted-foreground` |\n| Text on accent bg | `text-accent-foreground` |\n| Text on destructive bg | `text-destructive-foreground` |\n| Text on card bg | `text-card-foreground` |\n\n### Borders\n| Purpose | Class |\n|---------|-------|\n| Standard border | `border-border` |\n| Input border | `border-input` |\n| Focus ring | `ring-ring` |\n| Sidebar border | `border-sidebar-border` |\n\n### Border Radius\n| Purpose | Class |\n|---------|-------|\n| Small radius | `rounded-sm` (calc(var(--radius) - 4px)) |\n| Medium radius | `rounded-md` (calc(var(--radius) - 2px)) |\n| Large radius | `rounded-lg` (var(--radius) = 0.625rem) |\n| Extra large radius | `rounded-xl` (calc(var(--radius) + 4px)) |\n\n---\n\n## Component Styling Patterns\n\n### Standard Button Variants\n\n```tsx\n\u002F\u002F Primary (default) — dark bg, light text\n\u003CButton>Save changes\u003C\u002FButton>\n\u002F\u002F Uses: bg-primary text-primary-foreground\n\n\u002F\u002F Secondary — light bg, dark text\n\u003CButton variant=\"secondary\">Cancel\u003C\u002FButton>\n\u002F\u002F Uses: bg-secondary text-secondary-foreground\n\n\u002F\u002F Destructive — red bg, white text\n\u003CButton variant=\"destructive\">Delete\u003C\u002FButton>\n\u002F\u002F Uses: bg-destructive text-destructive-foreground\n\n\u002F\u002F Outline — transparent bg, border\n\u003CButton variant=\"outline\">Edit\u003C\u002FButton>\n\u002F\u002F Uses: border-input bg-background text-foreground\n\n\u002F\u002F Ghost — no bg, text only\n\u003CButton variant=\"ghost\">More\u003C\u002FButton>\n\u002F\u002F Uses: text-foreground, hover:bg-accent hover:text-accent-foreground\n\n\u002F\u002F Link — text styled as link\n\u003CButton variant=\"link\">Learn more\u003C\u002FButton>\n\u002F\u002F Uses: text-primary underline\n```\n\n### Card Pattern\n\n```tsx\n\u003Cdiv className=\"rounded-lg border border-border bg-card p-6 text-card-foreground shadow-sm\">\n  \u003Ch3 className=\"text-lg font-semibold text-foreground\">Title\u003C\u002Fh3>\n  \u003Cp className=\"text-sm text-muted-foreground\">Description text\u003C\u002Fp>\n\u003C\u002Fdiv>\n```\n\n### Input Pattern\n\n```tsx\n\u003Cinput\n  className=\"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm text-foreground ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2\"\n  placeholder=\"Enter value...\"\n\u002F>\n```\n\n### Alert\u002FBadge Pattern\n\n```tsx\n{\u002F* Info badge *\u002F}\n\u003Cspan className=\"inline-flex items-center rounded-md bg-secondary px-2.5 py-0.5 text-xs font-medium text-secondary-foreground\">\n  Active\n\u003C\u002Fspan>\n\n{\u002F* Destructive badge *\u002F}\n\u003Cspan className=\"inline-flex items-center rounded-md bg-destructive px-2.5 py-0.5 text-xs font-medium text-destructive-foreground\">\n  Error\n\u003C\u002Fspan>\n```\n\n---\n\n## Full globals.css Template\n\nThis is the complete `globals.css` file for a project using the default Neutral theme:\n\n```css\n@import \"tailwindcss\";\n\n@custom-variant dark (&:is(.dark *));\n\n:root {\n  --radius: 0.625rem;\n  --background: oklch(1 0 0);\n  --foreground: oklch(0.145 0 0);\n  --card: oklch(1 0 0);\n  --card-foreground: oklch(0.145 0 0);\n  --popover: oklch(1 0 0);\n  --popover-foreground: oklch(0.145 0 0);\n  --primary: oklch(0.205 0 0);\n  --primary-foreground: oklch(0.985 0 0);\n  --secondary: oklch(0.97 0 0);\n  --secondary-foreground: oklch(0.205 0 0);\n  --muted: oklch(0.97 0 0);\n  --muted-foreground: oklch(0.556 0 0);\n  --accent: oklch(0.97 0 0);\n  --accent-foreground: oklch(0.205 0 0);\n  --destructive: oklch(0.577 0.245 27.325);\n  --destructive-foreground: oklch(0.985 0 0);\n  --border: oklch(0.922 0 0);\n  --input: oklch(0.922 0 0);\n  --ring: oklch(0.708 0 0);\n  --chart-1: oklch(0.646 0.222 41.116);\n  --chart-2: oklch(0.6 0.118 184.704);\n  --chart-3: oklch(0.398 0.07 227.392);\n  --chart-4: oklch(0.828 0.189 84.429);\n  --chart-5: oklch(0.769 0.188 70.08);\n  --sidebar: oklch(0.985 0 0);\n  --sidebar-foreground: oklch(0.145 0 0);\n  --sidebar-primary: oklch(0.205 0 0);\n  --sidebar-primary-foreground: oklch(0.985 0 0);\n  --sidebar-accent: oklch(0.97 0 0);\n  --sidebar-accent-foreground: oklch(0.205 0 0);\n  --sidebar-border: oklch(0.922 0 0);\n  --sidebar-ring: oklch(0.708 0 0);\n}\n\n.dark {\n  --background: oklch(0.145 0 0);\n  --foreground: oklch(0.985 0 0);\n  --card: oklch(0.205 0 0);\n  --card-foreground: oklch(0.985 0 0);\n  --popover: oklch(0.269 0 0);\n  --popover-foreground: oklch(0.985 0 0);\n  --primary: oklch(0.922 0 0);\n  --primary-foreground: oklch(0.205 0 0);\n  --secondary: oklch(0.269 0 0);\n  --secondary-foreground: oklch(0.985 0 0);\n  --muted: oklch(0.269 0 0);\n  --muted-foreground: oklch(0.708 0 0);\n  --accent: oklch(0.371 0 0);\n  --accent-foreground: oklch(0.985 0 0);\n  --destructive: oklch(0.704 0.191 22.216);\n  --destructive-foreground: oklch(0.985 0 0);\n  --border: oklch(1 0 0 \u002F 10%);\n  --input: oklch(1 0 0 \u002F 15%);\n  --ring: oklch(0.556 0 0);\n  --chart-1: oklch(0.488 0.243 264.376);\n  --chart-2: oklch(0.696 0.17 162.48);\n  --chart-3: oklch(0.769 0.188 70.08);\n  --chart-4: oklch(0.627 0.265 303.9);\n  --chart-5: oklch(0.645 0.246 16.439);\n  --sidebar: oklch(0.205 0 0);\n  --sidebar-foreground: oklch(0.985 0 0);\n  --sidebar-primary: oklch(0.488 0.243 264.376);\n  --sidebar-primary-foreground: oklch(0.985 0 0);\n  --sidebar-accent: oklch(0.269 0 0);\n  --sidebar-accent-foreground: oklch(0.985 0 0);\n  --sidebar-border: oklch(1 0 0 \u002F 10%);\n  --sidebar-ring: oklch(0.439 0 0);\n}\n\n@theme inline {\n  --color-background: var(--background);\n  --color-foreground: var(--foreground);\n  --color-card: var(--card);\n  --color-card-foreground: var(--card-foreground);\n  --color-popover: var(--popover);\n  --color-popover-foreground: var(--popover-foreground);\n  --color-primary: var(--primary);\n  --color-primary-foreground: var(--primary-foreground);\n  --color-secondary: var(--secondary);\n  --color-secondary-foreground: var(--secondary-foreground);\n  --color-muted: var(--muted);\n  --color-muted-foreground: var(--muted-foreground);\n  --color-accent: var(--accent);\n  --color-accent-foreground: var(--accent-foreground);\n  --color-destructive: var(--destructive);\n  --color-destructive-foreground: var(--destructive-foreground);\n  --color-border: var(--border);\n  --color-input: var(--input);\n  --color-ring: var(--ring);\n  --color-chart-1: var(--chart-1);\n  --color-chart-2: var(--chart-2);\n  --color-chart-3: var(--chart-3);\n  --color-chart-4: var(--chart-4);\n  --color-chart-5: var(--chart-5);\n  --color-sidebar: var(--sidebar);\n  --color-sidebar-foreground: var(--sidebar-foreground);\n  --color-sidebar-primary: var(--sidebar-primary);\n  --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);\n  --color-sidebar-accent: var(--sidebar-accent);\n  --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);\n  --color-sidebar-border: var(--sidebar-border);\n  --color-sidebar-ring: var(--sidebar-ring);\n  --radius-sm: calc(var(--radius) - 4px);\n  --radius-md: calc(var(--radius) - 2px);\n  --radius-lg: var(--radius);\n  --radius-xl: calc(var(--radius) + 4px);\n}\n\n@layer base {\n  * {\n    @apply border-border;\n  }\n  body {\n    @apply bg-background text-foreground;\n  }\n}\n```\n\n---\n\n## components.json (shadcn\u002Fui config)\n\n```json\n{\n  \"$schema\": \"https:\u002F\u002Fui.shadcn.com\u002Fschema.json\",\n  \"style\": \"default\",\n  \"rsc\": true,\n  \"tsx\": true,\n  \"tailwind\": {\n    \"config\": \"\",\n    \"css\": \"src\u002Fapp\u002Fglobals.css\",\n    \"baseColor\": \"neutral\",\n    \"cssVariables\": true,\n    \"prefix\": \"\"\n  },\n  \"aliases\": {\n    \"components\": \"@\u002Fcomponents\",\n    \"utils\": \"@\u002Flib\u002Futils\",\n    \"ui\": \"@\u002Fcomponents\u002Fui\",\n    \"lib\": \"@\u002Flib\",\n    \"hooks\": \"@\u002Fhooks\"\n  },\n  \"iconLibrary\": \"lucide\"\n}\n```\n\n---\n\n## Rules for the Agent\n\n1. **ALWAYS use theme tokens.** Never write `bg-black`, `text-white`, `bg-gray-100`, `border-gray-200`, or any hardcoded color class. Use `bg-background`, `text-foreground`, `bg-muted`, `border-border` instead.\n\n2. **Respect the background\u002Fforeground pairing.** If you use `bg-primary`, the text on top must be `text-primary-foreground`. Never mix pairs (e.g., never use `text-foreground` on a `bg-primary` surface).\n\n3. **Dark mode is automatic.** The CSS variables handle the switch. Never write conditional dark mode classes like `dark:bg-gray-900` — the variables already flip values.\n\n4. **Use the radius tokens.** Instead of `rounded-lg` with a fixed value, use the radius variables: `rounded-sm`, `rounded-md`, `rounded-lg`, `rounded-xl`.\n\n5. **Chart colors follow the sequence.** For multi-series charts, use `chart-1` through `chart-5` in order.\n\n6. **Sidebar uses its own token set.** When styling sidebar components, use `bg-sidebar`, `text-sidebar-foreground`, `border-sidebar-border`, etc. — not the generic tokens.\n\n7. **Detect Tailwind version.** Check `package.json` for Tailwind version. If v4+, use OKLCH variables with `@theme inline`. If v3, use HSL variables with `tailwind.config.ts` extension.\n\n8. **Installing new components.** Use `npx shadcn@latest add \u003Ccomponent>`. The CLI respects `components.json` and generates components with the correct theme tokens.\n","# shadcn\u002Fui Default Theme — Neutral (Black\u002FWhite\u002FGray)\n\nYou are a frontend engineer responsible for applying and maintaining the default shadcn\u002Fui Neutral theme across the project. When creating components, pages, layouts, or any visual element, you MUST use the theme tokens defined below. Never hardcode hex, RGB, or HSL values — always reference CSS variables via Tailwind utility classes.\n\nThis skill only modifies CSS and Tailwind configuration files. It never reads or modifies `.env`, `.env.local`, or credential files.\n\n## Planning Protocol (MANDATORY — execute before ANY action)\n\nBefore modifying any styling file or component, you MUST complete this planning phase:\n\n1. **Understand the request.** Determine what visual change is needed: new component styling, theme adjustment, dark mode fix, or full theme setup.\n\n2. **Survey the current state.** Check: (a) `src\u002Fapp\u002Fglobals.css` (or equivalent) for existing CSS variables, (b) `tailwind.config.ts` or `@theme` directives for Tailwind integration, (c) `components.json` for shadcn\u002Fui configuration, (d) whether dark mode is already configured. Do NOT read `.env` or credential files.\n\n3. **Build an execution plan.** Write out which files will be created or modified and in what order. Theme variables must be set before component styling.\n\n4. **Identify risks.** Flag: (a) overwriting custom theme values the user may have set, (b) breaking existing component styles by changing variable names, (c) Tailwind version incompatibility (v3 uses `hsl()`, v4 uses `oklch()`).\n\n5. **Execute sequentially.** Apply changes in order: CSS variables first, then Tailwind config, then component updates.\n\n6. **Summarize.** Report what changed and confirm both light and dark modes render correctly.\n\nDo NOT skip this protocol.\n\n---\n\n## Theme Architecture\n\nshadcn\u002Fui uses CSS custom properties (variables) following a **background\u002Fforeground** naming convention:\n\n- The **background** variable (e.g., `--primary`) is used for the element's fill\u002Fbackground.\n- The **foreground** variable (e.g., `--primary-foreground`) is used for text\u002Ficons on top of that background.\n\nIn Tailwind, these map to:\n- `bg-primary` uses `var(--primary)`\n- `text-primary-foreground` uses `var(--primary-foreground)`\n\nThe color space is **OKLCH** (Oklab Lightness Chroma Hue), which is perceptually uniform and the default in shadcn\u002Fui since Tailwind v4.\n\n---\n\n## Complete CSS Variables — Default Neutral Theme\n\n### Light Mode (`:root`)\n\n```css\n:root {\n  \u002F* Border radius *\u002F\n  --radius: 0.625rem;\n\n  \u002F* Core surfaces *\u002F\n  --background: oklch(1 0 0);                      \u002F* pure white *\u002F\n  --foreground: oklch(0.145 0 0);                   \u002F* near black *\u002F\n\n  \u002F* Card *\u002F\n  --card: oklch(1 0 0);\n  --card-foreground: oklch(0.145 0 0);\n\n  \u002F* Popover *\u002F\n  --popover: oklch(1 0 0);\n  --popover-foreground: oklch(0.145 0 0);\n\n  \u002F* Primary — used for main CTA buttons, links, active states *\u002F\n  --primary: oklch(0.205 0 0);                      \u002F* very dark gray \u002F near black *\u002F\n  --primary-foreground: oklch(0.985 0 0);            \u002F* near white *\u002F\n\n  \u002F* Secondary — used for secondary buttons, subtle backgrounds *\u002F\n  --secondary: oklch(0.97 0 0);                     \u002F* very light gray *\u002F\n  --secondary-foreground: oklch(0.205 0 0);\n\n  \u002F* Muted — used for disabled states, placeholder text backgrounds *\u002F\n  --muted: oklch(0.97 0 0);\n  --muted-foreground: oklch(0.556 0 0);              \u002F* medium gray *\u002F\n\n  \u002F* Accent — used for hover states, highlighted items *\u002F\n  --accent: oklch(0.97 0 0);\n  --accent-foreground: oklch(0.205 0 0);\n\n  \u002F* Destructive — used for delete buttons, error states *\u002F\n  --destructive: oklch(0.577 0.245 27.325);          \u002F* red *\u002F\n  --destructive-foreground: oklch(0.985 0 0);\n\n  \u002F* Borders and inputs *\u002F\n  --border: oklch(0.922 0 0);                        \u002F* light gray border *\u002F\n  --input: oklch(0.922 0 0);                         \u002F* input border *\u002F\n  --ring: oklch(0.708 0 0);                          \u002F* focus ring — medium gray *\u002F\n\n  \u002F* Chart colors (for Recharts, Chart.js, etc.) *\u002F\n  --chart-1: oklch(0.646 0.222 41.116);              \u002F* warm orange *\u002F\n  --chart-2: oklch(0.6 0.118 184.704);               \u002F* teal *\u002F\n  --chart-3: oklch(0.398 0.07 227.392);              \u002F* dark blue *\u002F\n  --chart-4: oklch(0.828 0.189 84.429);              \u002F* yellow-green *\u002F\n  --chart-5: oklch(0.769 0.188 70.08);               \u002F* golden *\u002F\n\n  \u002F* Sidebar *\u002F\n  --sidebar: oklch(0.985 0 0);\n  --sidebar-foreground: oklch(0.145 0 0);\n  --sidebar-primary: oklch(0.205 0 0);\n  --sidebar-primary-foreground: oklch(0.985 0 0);\n  --sidebar-accent: oklch(0.97 0 0);\n  --sidebar-accent-foreground: oklch(0.205 0 0);\n  --sidebar-border: oklch(0.922 0 0);\n  --sidebar-ring: oklch(0.708 0 0);\n}\n```\n\n### Dark Mode (`.dark`)\n\n```css\n.dark {\n  \u002F* Core surfaces *\u002F\n  --background: oklch(0.145 0 0);                   \u002F* near black *\u002F\n  --foreground: oklch(0.985 0 0);                    \u002F* near white *\u002F\n\n  \u002F* Card *\u002F\n  --card: oklch(0.205 0 0);                          \u002F* dark gray *\u002F\n  --card-foreground: oklch(0.985 0 0);\n\n  \u002F* Popover *\u002F\n  --popover: oklch(0.269 0 0);\n  --popover-foreground: oklch(0.985 0 0);\n\n  \u002F* Primary — inverted for dark mode *\u002F\n  --primary: oklch(0.922 0 0);                       \u002F* light gray *\u002F\n  --primary-foreground: oklch(0.205 0 0);             \u002F* dark gray *\u002F\n\n  \u002F* Secondary *\u002F\n  --secondary: oklch(0.269 0 0);\n  --secondary-foreground: oklch(0.985 0 0);\n\n  \u002F* Muted *\u002F\n  --muted: oklch(0.269 0 0);\n  --muted-foreground: oklch(0.708 0 0);\n\n  \u002F* Accent *\u002F\n  --accent: oklch(0.371 0 0);\n  --accent-foreground: oklch(0.985 0 0);\n\n  \u002F* Destructive *\u002F\n  --destructive: oklch(0.704 0.191 22.216);\n  --destructive-foreground: oklch(0.985 0 0);\n\n  \u002F* Borders and inputs — use alpha channel in dark mode *\u002F\n  --border: oklch(1 0 0 \u002F 10%);\n  --input: oklch(1 0 0 \u002F 15%);\n  --ring: oklch(0.556 0 0);\n\n  \u002F* Chart colors (dark mode variants) *\u002F\n  --chart-1: oklch(0.488 0.243 264.376);             \u002F* blue-purple *\u002F\n  --chart-2: oklch(0.696 0.17 162.48);               \u002F* green-teal *\u002F\n  --chart-3: oklch(0.769 0.188 70.08);               \u002F* golden *\u002F\n  --chart-4: oklch(0.627 0.265 303.9);               \u002F* purple *\u002F\n  --chart-5: oklch(0.645 0.246 16.439);              \u002F* warm red *\u002F\n\n  \u002F* Sidebar *\u002F\n  --sidebar: oklch(0.205 0 0);\n  --sidebar-foreground: oklch(0.985 0 0);\n  --sidebar-primary: oklch(0.488 0.243 264.376);\n  --sidebar-primary-foreground: oklch(0.985 0 0);\n  --sidebar-accent: oklch(0.269 0 0);\n  --sidebar-accent-foreground: oklch(0.985 0 0);\n  --sidebar-border: oklch(1 0 0 \u002F 10%);\n  --sidebar-ring: oklch(0.439 0 0);\n}\n```\n\n---\n\n## Tailwind v4 Integration\n\nIn Tailwind v4, register the CSS variables as colors using the `@theme inline` directive. Add this to your main CSS file after the variable definitions:\n\n```css\n@theme inline {\n  --color-background: var(--background);\n  --color-foreground: var(--foreground);\n  --color-card: var(--card);\n  --color-card-foreground: var(--card-foreground);\n  --color-popover: var(--popover);\n  --color-popover-foreground: var(--popover-foreground);\n  --color-primary: var(--primary);\n  --color-primary-foreground: var(--primary-foreground);\n  --color-secondary: var(--secondary);\n  --color-secondary-foreground: var(--secondary-foreground);\n  --color-muted: var(--muted);\n  --color-muted-foreground: var(--muted-foreground);\n  --color-accent: var(--accent);\n  --color-accent-foreground: var(--accent-foreground);\n  --color-destructive: var(--destructive);\n  --color-destructive-foreground: var(--destructive-foreground);\n  --color-border: var(--border);\n  --color-input: var(--input);\n  --color-ring: var(--ring);\n  --color-chart-1: var(--chart-1);\n  --color-chart-2: var(--chart-2);\n  --color-chart-3: var(--chart-3);\n  --color-chart-4: var(--chart-4);\n  --color-chart-5: var(--chart-5);\n  --color-sidebar: var(--sidebar);\n  --color-sidebar-foreground: var(--sidebar-foreground);\n  --color-sidebar-primary: var(--sidebar-primary);\n  --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);\n  --color-sidebar-accent: var(--sidebar-accent);\n  --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);\n  --color-sidebar-border: var(--sidebar-border);\n  --color-sidebar-ring: var(--sidebar-ring);\n  --radius-sm: calc(var(--radius) - 4px);\n  --radius-md: calc(var(--radius) - 2px);\n  --radius-lg: var(--radius);\n  --radius-xl: calc(var(--radius) + 4px);\n}\n```\n\n### Tailwind v3 (legacy)\n\nIf the project uses Tailwind v3, the variables use HSL format instead of OKLCH. Add to `tailwind.config.ts`:\n\n```typescript\nimport type { Config } from \"tailwindcss\";\n\nconst config: Config = {\n  darkMode: [\"class\"],\n  theme: {\n    extend: {\n      colors: {\n        background: \"hsl(var(--background))\",\n        foreground: \"hsl(var(--foreground))\",\n        card: {\n          DEFAULT: \"hsl(var(--card))\",\n          foreground: \"hsl(var(--card-foreground))\",\n        },\n        popover: {\n          DEFAULT: \"hsl(var(--popover))\",\n          foreground: \"hsl(var(--popover-foreground))\",\n        },\n        primary: {\n          DEFAULT: \"hsl(var(--primary))\",\n          foreground: \"hsl(var(--primary-foreground))\",\n        },\n        secondary: {\n          DEFAULT: \"hsl(var(--secondary))\",\n          foreground: \"hsl(var(--secondary-foreground))\",\n        },\n        muted: {\n          DEFAULT: \"hsl(var(--muted))\",\n          foreground: \"hsl(var(--muted-foreground))\",\n        },\n        accent: {\n          DEFAULT: \"hsl(var(--accent))\",\n          foreground: \"hsl(var(--accent-foreground))\",\n        },\n        destructive: {\n          DEFAULT: \"hsl(var(--destructive))\",\n          foreground: \"hsl(var(--destructive-foreground))\",\n        },\n        border: \"hsl(var(--border))\",\n        input: \"hsl(var(--input))\",\n        ring: \"hsl(var(--ring))\",\n      },\n      borderRadius: {\n        lg: \"var(--radius)\",\n        md: \"calc(var(--radius) - 2px)\",\n        sm: \"calc(var(--radius) - 4px)\",\n      },\n    },\n  },\n};\nexport default config;\n```\n\n---\n\n## Dark Mode Setup\n\n### Next.js (App Router) with next-themes\n\n```bash\nnpm install next-themes\n```\n\nCreate `src\u002Fcomponents\u002Fshared\u002Ftheme-provider.tsx`:\n\n```typescript\n\"use client\";\n\nimport { ThemeProvider as NextThemesProvider } from \"next-themes\";\n\nexport function ThemeProvider({ children, ...props }: React.ComponentProps\u003Ctypeof NextThemesProvider>) {\n  return \u003CNextThemesProvider {...props}>{children}\u003C\u002FNextThemesProvider>;\n}\n```\n\nWrap the app in `src\u002Fapp\u002Flayout.tsx`:\n\n```typescript\nimport { ThemeProvider } from \"@\u002Fcomponents\u002Fshared\u002Ftheme-provider\";\n\nexport default function RootLayout({ children }: { children: React.ReactNode }) {\n  return (\n    \u003Chtml lang=\"en\" suppressHydrationWarning>\n      \u003Cbody>\n        \u003CThemeProvider attribute=\"class\" defaultTheme=\"system\" enableSystem disableTransitionOnChange>\n          {children}\n        \u003C\u002FThemeProvider>\n      \u003C\u002Fbody>\n    \u003C\u002Fhtml>\n  );\n}\n```\n\n### Theme Toggle Component\n\n```typescript\n\"use client\";\n\nimport { useTheme } from \"next-themes\";\nimport { Button } from \"@\u002Fcomponents\u002Fui\u002Fbutton\";\n\nexport function ThemeToggle() {\n  const { theme, setTheme } = useTheme();\n\n  return (\n    \u003CButton\n      variant=\"ghost\"\n      size=\"icon\"\n      onClick={() => setTheme(theme === \"dark\" ? \"light\" : \"dark\")}\n      aria-label=\"Toggle theme\"\n    >\n      \u003Cspan className=\"sr-only\">Toggle theme\u003C\u002Fspan>\n      {\u002F* Sun icon for light, Moon icon for dark *\u002F}\n      \u003Csvg\n        className=\"h-5 w-5 rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0\"\n        xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\"\n        viewBox=\"0 0 24 24\"\n        fill=\"none\"\n        stroke=\"currentColor\"\n        strokeWidth=\"2\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n      >\n        \u003Ccircle cx=\"12\" cy=\"12\" r=\"4\" \u002F>\n        \u003Cpath d=\"M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41\" \u002F>\n      \u003C\u002Fsvg>\n      \u003Csvg\n        className=\"absolute h-5 w-5 rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100\"\n        xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\"\n        viewBox=\"0 0 24 24\"\n        fill=\"none\"\n        stroke=\"currentColor\"\n        strokeWidth=\"2\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n      >\n        \u003Cpath d=\"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z\" \u002F>\n      \u003C\u002Fsvg>\n    \u003C\u002FButton>\n  );\n}\n```\n\n### Nuxt \u002F SvelteKit \u002F Other Frameworks\n\nFor non-Next.js frameworks, toggle the `.dark` class on the `\u003Chtml>` element:\n\n```typescript\n\u002F\u002F Generic dark mode toggle\nfunction toggleDarkMode() {\n  document.documentElement.classList.toggle(\"dark\");\n  const isDark = document.documentElement.classList.contains(\"dark\");\n  localStorage.setItem(\"theme\", isDark ? \"dark\" : \"light\");\n}\n\n\u002F\u002F On page load, respect user preference\nfunction initTheme() {\n  const stored = localStorage.getItem(\"theme\");\n  const prefersDark = window.matchMedia(\"(prefers-color-scheme: dark)\").matches;\n  if (stored === \"dark\" || (!stored && prefersDark)) {\n    document.documentElement.classList.add(\"dark\");\n  }\n}\n```\n\n---\n\n## Available shadcn\u002Fui Components\n\nThe following components are available and all respect the theme tokens above. Install via `npx shadcn@latest add \u003Ccomponent>`:\n\nAccordion, Alert, Alert Dialog, Aspect Ratio, Avatar, Badge, Breadcrumb, Button, Button Group, Calendar, Card, Carousel, Chart, Checkbox, Collapsible, Combobox, Command, Context Menu, Data Table, Date Picker, Dialog, Drawer, Dropdown Menu, Empty, Field, Hover Card, Input, Input Group, Input OTP, Item, Kbd, Label, Menubar, Native Select, Navigation Menu, Pagination, Popover, Progress, Radio Group, Resizable, Scroll Area, Select, Separator, Sheet, Sidebar, Skeleton, Slider, Sonner, Spinner, Switch, Table, Tabs, Textarea, Toast, Toggle, Toggle Group, Tooltip, Typography.\n\n---\n\n## Tailwind Utility Class Reference\n\nUse these Tailwind classes to apply theme tokens. NEVER use arbitrary values like `bg-[#000]` or `text-[#fff]`.\n\n### Backgrounds\n| Purpose | Class |\n|---------|-------|\n| Page background | `bg-background` |\n| Card surface | `bg-card` |\n| Popover surface | `bg-popover` |\n| Primary fill (CTA buttons) | `bg-primary` |\n| Secondary fill (secondary buttons) | `bg-secondary` |\n| Muted fill (disabled, subtle) | `bg-muted` |\n| Accent fill (hover, highlight) | `bg-accent` |\n| Destructive fill (delete, error) | `bg-destructive` |\n| Sidebar background | `bg-sidebar` |\n\n### Text\n| Purpose | Class |\n|---------|-------|\n| Body text | `text-foreground` |\n| Text on primary bg | `text-primary-foreground` |\n| Text on secondary bg | `text-secondary-foreground` |\n| Muted\u002Fplaceholder text | `text-muted-foreground` |\n| Text on accent bg | `text-accent-foreground` |\n| Text on destructive bg | `text-destructive-foreground` |\n| Text on card bg | `text-card-foreground` |\n\n### Borders\n| Purpose | Class |\n|---------|-------|\n| Standard border | `border-border` |\n| Input border | `border-input` |\n| Focus ring | `ring-ring` |\n| Sidebar border | `border-sidebar-border` |\n\n### Border Radius\n| Purpose | Class |\n|---------|-------|\n| Small radius | `rounded-sm` (calc(var(--radius) - 4px)) |\n| Medium radius | `rounded-md` (calc(var(--radius) - 2px)) |\n| Large radius | `rounded-lg` (var(--radius) = 0.625rem) |\n| Extra large radius | `rounded-xl` (calc(var(--radius) + 4px)) |\n\n---\n\n## Component Styling Patterns\n\n### Standard Button Variants\n\n```tsx\n\u002F\u002F Primary (default) — dark bg, light text\n\u003CButton>Save changes\u003C\u002FButton>\n\u002F\u002F Uses: bg-primary text-primary-foreground\n\n\u002F\u002F Secondary — light bg, dark text\n\u003CButton variant=\"secondary\">Cancel\u003C\u002FButton>\n\u002F\u002F Uses: bg-secondary text-secondary-foreground\n\n\u002F\u002F Destructive — red bg, white text\n\u003CButton variant=\"destructive\">Delete\u003C\u002FButton>\n\u002F\u002F Uses: bg-destructive text-destructive-foreground\n\n\u002F\u002F Outline — transparent bg, border\n\u003CButton variant=\"outline\">Edit\u003C\u002FButton>\n\u002F\u002F Uses: border-input bg-background text-foreground\n\n\u002F\u002F Ghost — no bg, text only\n\u003CButton variant=\"ghost\">More\u003C\u002FButton>\n\u002F\u002F Uses: text-foreground, hover:bg-accent hover:text-accent-foreground\n\n\u002F\u002F Link — text styled as link\n\u003CButton variant=\"link\">Learn more\u003C\u002FButton>\n\u002F\u002F Uses: text-primary underline\n```\n\n### Card Pattern\n\n```tsx\n\u003Cdiv className=\"rounded-lg border border-border bg-card p-6 text-card-foreground shadow-sm\">\n  \u003Ch3 className=\"text-lg font-semibold text-foreground\">Title\u003C\u002Fh3>\n  \u003Cp className=\"text-sm text-muted-foreground\">Description text\u003C\u002Fp>\n\u003C\u002Fdiv>\n```\n\n### Input Pattern\n\n```tsx\n\u003Cinput\n  className=\"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm text-foreground ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2\"\n  placeholder=\"Enter value...\"\n\u002F>\n```\n\n### Alert\u002FBadge Pattern\n\n```tsx\n{\u002F* Info badge *\u002F}\n\u003Cspan className=\"inline-flex items-center rounded-md bg-secondary px-2.5 py-0.5 text-xs font-medium text-secondary-foreground\">\n  Active\n\u003C\u002Fspan>\n\n{\u002F* Destructive badge *\u002F}\n\u003Cspan className=\"inline-flex items-center rounded-md bg-destructive px-2.5 py-0.5 text-xs font-medium text-destructive-foreground\">\n  Error\n\u003C\u002Fspan>\n```\n\n---\n\n## Full globals.css Template\n\nThis is the complete `globals.css` file for a project using the default Neutral theme:\n\n```css\n@import \"tailwindcss\";\n\n@custom-variant dark (&:is(.dark *));\n\n:root {\n  --radius: 0.625rem;\n  --background: oklch(1 0 0);\n  --foreground: oklch(0.145 0 0);\n  --card: oklch(1 0 0);\n  --card-foreground: oklch(0.145 0 0);\n  --popover: oklch(1 0 0);\n  --popover-foreground: oklch(0.145 0 0);\n  --primary: oklch(0.205 0 0);\n  --primary-foreground: oklch(0.985 0 0);\n  --secondary: oklch(0.97 0 0);\n  --secondary-foreground: oklch(0.205 0 0);\n  --muted: oklch(0.97 0 0);\n  --muted-foreground: oklch(0.556 0 0);\n  --accent: oklch(0.97 0 0);\n  --accent-foreground: oklch(0.205 0 0);\n  --destructive: oklch(0.577 0.245 27.325);\n  --destructive-foreground: oklch(0.985 0 0);\n  --border: oklch(0.922 0 0);\n  --input: oklch(0.922 0 0);\n  --ring: oklch(0.708 0 0);\n  --chart-1: oklch(0.646 0.222 41.116);\n  --chart-2: oklch(0.6 0.118 184.704);\n  --chart-3: oklch(0.398 0.07 227.392);\n  --chart-4: oklch(0.828 0.189 84.429);\n  --chart-5: oklch(0.769 0.188 70.08);\n  --sidebar: oklch(0.985 0 0);\n  --sidebar-foreground: oklch(0.145 0 0);\n  --sidebar-primary: oklch(0.205 0 0);\n  --sidebar-primary-foreground: oklch(0.985 0 0);\n  --sidebar-accent: oklch(0.97 0 0);\n  --sidebar-accent-foreground: oklch(0.205 0 0);\n  --sidebar-border: oklch(0.922 0 0);\n  --sidebar-ring: oklch(0.708 0 0);\n}\n\n.dark {\n  --background: oklch(0.145 0 0);\n  --foreground: oklch(0.985 0 0);\n  --card: oklch(0.205 0 0);\n  --card-foreground: oklch(0.985 0 0);\n  --popover: oklch(0.269 0 0);\n  --popover-foreground: oklch(0.985 0 0);\n  --primary: oklch(0.922 0 0);\n  --primary-foreground: oklch(0.205 0 0);\n  --secondary: oklch(0.269 0 0);\n  --secondary-foreground: oklch(0.985 0 0);\n  --muted: oklch(0.269 0 0);\n  --muted-foreground: oklch(0.708 0 0);\n  --accent: oklch(0.371 0 0);\n  --accent-foreground: oklch(0.985 0 0);\n  --destructive: oklch(0.704 0.191 22.216);\n  --destructive-foreground: oklch(0.985 0 0);\n  --border: oklch(1 0 0 \u002F 10%);\n  --input: oklch(1 0 0 \u002F 15%);\n  --ring: oklch(0.556 0 0);\n  --chart-1: oklch(0.488 0.243 264.376);\n  --chart-2: oklch(0.696 0.17 162.48);\n  --chart-3: oklch(0.769 0.188 70.08);\n  --chart-4: oklch(0.627 0.265 303.9);\n  --chart-5: oklch(0.645 0.246 16.439);\n  --sidebar: oklch(0.205 0 0);\n  --sidebar-foreground: oklch(0.985 0 0);\n  --sidebar-primary: oklch(0.488 0.243 264.376);\n  --sidebar-primary-foreground: oklch(0.985 0 0);\n  --sidebar-accent: oklch(0.269 0 0);\n  --sidebar-accent-foreground: oklch(0.985 0 0);\n  --sidebar-border: oklch(1 0 0 \u002F 10%);\n  --sidebar-ring: oklch(0.439 0 0);\n}\n\n@theme inline {\n  --color-background: var(--background);\n  --color-foreground: var(--foreground);\n  --color-card: var(--card);\n  --color-card-foreground: var(--card-foreground);\n  --color-popover: var(--popover);\n  --color-popover-foreground: var(--popover-foreground);\n  --color-primary: var(--primary);\n  --color-primary-foreground: var(--primary-foreground);\n  --color-secondary: var(--secondary);\n  --color-secondary-foreground: var(--secondary-foreground);\n  --color-muted: var(--muted);\n  --color-muted-foreground: var(--muted-foreground);\n  --color-accent: var(--accent);\n  --color-accent-foreground: var(--accent-foreground);\n  --color-destructive: var(--destructive);\n  --color-destructive-foreground: var(--destructive-foreground);\n  --color-border: var(--border);\n  --color-input: var(--input);\n  --color-ring: var(--ring);\n  --color-chart-1: var(--chart-1);\n  --color-chart-2: var(--chart-2);\n  --color-chart-3: var(--chart-3);\n  --color-chart-4: var(--chart-4);\n  --color-chart-5: var(--chart-5);\n  --color-sidebar: var(--sidebar);\n  --color-sidebar-foreground: var(--sidebar-foreground);\n  --color-sidebar-primary: var(--sidebar-primary);\n  --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);\n  --color-sidebar-accent: var(--sidebar-accent);\n  --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);\n  --color-sidebar-border: var(--sidebar-border);\n  --color-sidebar-ring: var(--sidebar-ring);\n  --radius-sm: calc(var(--radius) - 4px);\n  --radius-md: calc(var(--radius) - 2px);\n  --radius-lg: var(--radius);\n  --radius-xl: calc(var(--radius) + 4px);\n}\n\n@layer base {\n  * {\n    @apply border-border;\n  }\n  body {\n    @apply bg-background text-foreground;\n  }\n}\n```\n\n---\n\n## components.json (shadcn\u002Fui config)\n\n```json\n{\n  \"$schema\": \"https:\u002F\u002Fui.shadcn.com\u002Fschema.json\",\n  \"style\": \"default\",\n  \"rsc\": true,\n  \"tsx\": true,\n  \"tailwind\": {\n    \"config\": \"\",\n    \"css\": \"src\u002Fapp\u002Fglobals.css\",\n    \"baseColor\": \"neutral\",\n    \"cssVariables\": true,\n    \"prefix\": \"\"\n  },\n  \"aliases\": {\n    \"components\": \"@\u002Fcomponents\",\n    \"utils\": \"@\u002Flib\u002Futils\",\n    \"ui\": \"@\u002Fcomponents\u002Fui\",\n    \"lib\": \"@\u002Flib\",\n    \"hooks\": \"@\u002Fhooks\"\n  },\n  \"iconLibrary\": \"lucide\"\n}\n```\n\n---\n\n## Rules for the Agent\n\n1. **ALWAYS use theme tokens.** Never write `bg-black`, `text-white`, `bg-gray-100`, `border-gray-200`, or any hardcoded color class. Use `bg-background`, `text-foreground`, `bg-muted`, `border-border` instead.\n\n2. **Respect the background\u002Fforeground pairing.** If you use `bg-primary`, the text on top must be `text-primary-foreground`. Never mix pairs (e.g., never use `text-foreground` on a `bg-primary` surface).\n\n3. **Dark mode is automatic.** The CSS variables handle the switch. Never write conditional dark mode classes like `dark:bg-gray-900` — the variables already flip values.\n\n4. **Use the radius tokens.** Instead of `rounded-lg` with a fixed value, use the radius variables: `rounded-sm`, `rounded-md`, `rounded-lg`, `rounded-xl`.\n\n5. **Chart colors follow the sequence.** For multi-series charts, use `chart-1` through `chart-5` in order.\n\n6. **Sidebar uses its own token set.** When styling sidebar components, use `bg-sidebar`, `text-sidebar-foreground`, `border-sidebar-border`, etc. — not the generic tokens.\n\n7. **Detect Tailwind version.** Check `package.json` for Tailwind version. If v4+, use OKLCH variables with `@theme inline`. If v3, use HSL variables with `tailwind.config.ts` extension.\n\n8. **Installing new components.** Use `npx shadcn@latest add \u003Ccomponent>`. The CLI respects `components.json` and generates components with the correct theme tokens.\n",{"name":5,"description":7,"user-invocable":24},true,"main","f9d3fe7cf9ac8f1ea63a0d96e98e1f510a3814db","skills\u002Fguifav\u002Fshadcn-theme-default",1,"https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills","https:\u002F\u002Fgithub.com\u002Fjavimosch","intrane.fr","Building robust, open-source infrastructure for the commons. AI-leveraged, self-hosted, built to last.","2026-06-07 03:34:58",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":24},[36,39,42],{"tool":37,"command":38},"npx","npx skills add javimosch\u002Fopen-claw-skills --skill shadcn-theme-default",{"tool":40,"command":41},"bunx","bunx skills add javimosch\u002Fopen-claw-skills --skill shadcn-theme-default",{"tool":43,"command":44},"pnpm","pnpm dlx skills add javimosch\u002Fopen-claw-skills --skill shadcn-theme-default","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fguifav\u002Fshadcn-theme-default\u002FSKILL.md",[],[48,56,63,70,77,84],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":55},"01M778GGXG2VQ0YF31W2MKGMQZ","crowd-prompting","A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":55},"01M778G7BH8SBJ9FJ6C3G7CB1K","ceaser","Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir\u002FUltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":55},"01M778FYCJQZWFKKX5FYMK3S47","ceaser-send","Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir\u002FUltraHonk zero-knowledge proofs.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser-send\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":55},"01M778FQQNSEYA3HJKZBPQ4M9Z","dilemm-ai","Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":55},"01M778FGVZX7QA2TF9BFMM37FY","moldium","Post and manage content on the Moldium blog platform. Triggered by \"post to Moldium\", \"write a blog post\", \"publish an article\", etc.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyom45\u002Fmoldium\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":55},"01M778F88D8PQ9MQ0KNW2TJ8ZH","arxiv-paper-reviews","Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date\u002Fcategory\u002Finterest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http:\u002F\u002Fweakaccept.top:8000\u002F.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[],[]]