[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AQ0K45ES936JAPPK3R3MTT":3,"skill-same:01M7AQ0K45ES936JAPPK3R3MTT":60},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":24,"commitSha":25,"skillDirectory":5,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M7AQ0K45ES936JAPPK3R3MTT","tailwind-v4-shadcn",null,"Production-tested setup for Tailwind CSS v4 with shadcn\u002Fui, Vite, and React.\n\nUse when: initializing React projects with Tailwind v4, setting up shadcn\u002Fui,\nimplementing dark mode, debugging CSS variable issues, fixing theme switching,\nmigrating from Tailwind v3, or encountering color\u002Ftheming problems.\n\nCovers: @theme inline pattern, CSS variable architecture, dark mode with\nThemeProvider, component composition, vite.config setup, common v4 gotchas,\nand production-tested patterns.\n\nKeywords: Tailwind v4, shadcn\u002Fui, @tailwindcss\u002Fvite, @theme inline, dark mode,\nCSS variables, hsl() wrapper, components.json, React theming, theme switching,\ncolors not working, variables broken, theme not applying, @plugin directive,\ntypography plugin, forms plugin, prose class, @tailwindcss\u002Ftypography,\n@tailwindcss\u002Fforms","davidanthonyn\u002Fagent-skills","davidanthonyn","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F55152980?v=4","01M7AJ4MY8S5C2RJCGX6626J0G","01M7AJ4MZB7EC7CAP27ANCSE7N",1,"MIT","https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Ftailwind-v4-shadcn\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: tailwind-v4-shadcn\ndescription: |\n  Production-tested setup for Tailwind CSS v4 with shadcn\u002Fui, Vite, and React.\n\n  Use when: initializing React projects with Tailwind v4, setting up shadcn\u002Fui,\n  implementing dark mode, debugging CSS variable issues, fixing theme switching,\n  migrating from Tailwind v3, or encountering color\u002Ftheming problems.\n\n  Covers: @theme inline pattern, CSS variable architecture, dark mode with\n  ThemeProvider, component composition, vite.config setup, common v4 gotchas,\n  and production-tested patterns.\n\n  Keywords: Tailwind v4, shadcn\u002Fui, @tailwindcss\u002Fvite, @theme inline, dark mode,\n  CSS variables, hsl() wrapper, components.json, React theming, theme switching,\n  colors not working, variables broken, theme not applying, @plugin directive,\n  typography plugin, forms plugin, prose class, @tailwindcss\u002Ftypography,\n  @tailwindcss\u002Fforms\nlicense: MIT\n---\n\n# Tailwind v4 + shadcn\u002Fui Production Stack\n\n**Production-tested**: WordPress Auditor (https:\u002F\u002Fwordpress-auditor.webfonts.workers.dev)\n**Last Updated**: 2025-10-29\n**Status**: Production Ready ✅\n\n---\n\n## ⚠️ BEFORE YOU START (READ THIS!)\n\n**CRITICAL FOR AI AGENTS**: If you're Claude Code helping a user set up Tailwind v4:\n\n1. **Explicitly state you're using this skill** at the start of the conversation\n2. **Reference patterns from the skill** rather than general knowledge\n3. **Prevent known issues** listed in `reference\u002Fcommon-gotchas.md`\n4. **Don't guess** - if unsure, check the skill documentation\n\n**USER ACTION REQUIRED**: Tell Claude to check this skill first!\n\nSay: **\"I'm setting up Tailwind v4 + shadcn\u002Fui - check the tailwind-v4-shadcn skill first\"**\n\n### Why This Matters (Real-World Results)\n\n**Without skill activation:**\n- ❌ Setup time: ~5 minutes\n- ❌ Errors encountered: 2-3 (tw-animate-css, duplicate @layer base)\n- ❌ Manual fixes needed: 2+ commits\n- ❌ Token usage: ~65k\n- ❌ User confidence: Required debugging\n\n**With skill activation:**\n- ✅ Setup time: ~1 minute\n- ✅ Errors encountered: 0\n- ✅ Manual fixes needed: 0\n- ✅ Token usage: ~20k (70% reduction)\n- ✅ User confidence: Instant success\n\n### Known Issues This Skill Prevents\n\n1. **tw-animate-css import error** (deprecated in v4)\n2. **Duplicate @layer base blocks** (shadcn init adds its own)\n3. **Wrong template selection** (vanilla TS vs React)\n4. **Missing post-init cleanup** (incompatible CSS rules)\n5. **Wrong plugin syntax** (using @import or require() instead of @plugin directive)\n\nAll of these are handled automatically when the skill is active.\n\n---\n\n## Quick Start (5 Minutes - Follow This Exact Order)\n\n### 1. Install Dependencies\n\n```bash\npnpm add tailwindcss @tailwindcss\u002Fvite\npnpm add -D @types\u002Fnode\npnpm dlx shadcn@latest init\n```\n\n### 2. Configure Vite\n\n```typescript\n\u002F\u002F vite.config.ts\nimport { defineConfig } from 'vite'\nimport react from '@vitejs\u002Fplugin-react'\nimport tailwindcss from '@tailwindcss\u002Fvite'\nimport path from 'path'\n\nexport default defineConfig({\n  plugins: [react(), tailwindcss()],\n  resolve: {\n    alias: {\n      '@': path.resolve(__dirname, '.\u002Fsrc')\n    }\n  }\n})\n```\n\n### 3. Update components.json\n\n```json\n{\n  \"tailwind\": {\n    \"config\": \"\",              \u002F\u002F ← CRITICAL: Empty for v4\n    \"css\": \"src\u002Findex.css\",\n    \"cssVariables\": true\n  }\n}\n```\n\n### 4. Delete tailwind.config.ts\n\n```bash\nrm tailwind.config.ts  # v4 doesn't use this file\n```\n\n---\n\n## The Four-Step Architecture (CRITICAL)\n\nThis pattern is **mandatory** - skipping steps will break your theme.\n\n### Step 1: Define CSS Variables at Root Level\n\n```css\n\u002F* src\u002Findex.css *\u002F\n@import \"tailwindcss\";\n\n:root {\n  --background: hsl(0 0% 100%);      \u002F* ← hsl() wrapper required *\u002F\n  --foreground: hsl(222.2 84% 4.9%);\n  --primary: hsl(221.2 83.2% 53.3%);\n  \u002F* ... all light mode colors *\u002F\n}\n\n.dark {\n  --background: hsl(222.2 84% 4.9%);\n  --foreground: hsl(210 40% 98%);\n  --primary: hsl(217.2 91.2% 59.8%);\n  \u002F* ... all dark mode colors *\u002F\n}\n```\n\n**Critical Rules:**\n- ✅ Define at root level (NOT inside `@layer base`)\n- ✅ Use `hsl()` wrapper on all color values\n- ✅ Use `.dark` for dark mode (NOT `.dark { @theme { } }`)\n\n### Step 2: Map Variables to Tailwind Utilities\n\n```css\n@theme inline {\n  --color-background: var(--background);\n  --color-foreground: var(--foreground);\n  --color-primary: var(--primary);\n  \u002F* ... map ALL CSS variables *\u002F\n}\n```\n\n**Why This Is Required:**\n- Generates utility classes (`bg-background`, `text-primary`)\n- Without this, `bg-primary` etc. won't exist\n\n### Step 3: Apply Base Styles\n\n```css\n@layer base {\n  body {\n    background-color: var(--background);  \u002F* NO hsl() here *\u002F\n    color: var(--foreground);\n  }\n}\n```\n\n**Critical Rules:**\n- ✅ Reference variables directly: `var(--background)`\n- ❌ Never double-wrap: `hsl(var(--background))`\n\n### Step 4: Result - Automatic Dark Mode\n\n```tsx\n\u003Cdiv className=\"bg-background text-foreground\">\n  {\u002F* No dark: variants needed - theme switches automatically *\u002F}\n\u003C\u002Fdiv>\n```\n\n---\n\n## Dark Mode Setup\n\n### 1. Create ThemeProvider\n\nSee `reference\u002Fdark-mode.md` for full implementation or use template:\n\n```typescript\n\u002F\u002F Copy from: templates\u002Ftheme-provider.tsx\n```\n\n### 2. Wrap Your App\n\n```typescript\n\u002F\u002F src\u002Fmain.tsx\nimport { ThemeProvider } from '@\u002Fcomponents\u002Ftheme-provider'\n\nReactDOM.createRoot(document.getElementById('root')!).render(\n  \u003CReact.StrictMode>\n    \u003CThemeProvider defaultTheme=\"dark\" storageKey=\"vite-ui-theme\">\n      \u003CApp \u002F>\n    \u003C\u002FThemeProvider>\n  \u003C\u002FReact.StrictMode>,\n)\n```\n\n### 3. Add Theme Toggle\n\n```bash\npnpm dlx shadcn@latest add dropdown-menu\n```\n\nSee `reference\u002Fdark-mode.md` for ModeToggle component code.\n\n---\n\n## Critical Rules (MUST FOLLOW)\n\n### ✅ Always Do:\n\n1. **Wrap color values with `hsl()` in `:root` and `.dark`**\n   ```css\n   --background: hsl(0 0% 100%);  \u002F* ✅ Correct *\u002F\n   ```\n\n2. **Use `@theme inline` to map all CSS variables**\n   ```css\n   @theme inline {\n     --color-background: var(--background);\n   }\n   ```\n\n3. **Set `\"tailwind.config\": \"\"` in components.json**\n   ```json\n   { \"tailwind\": { \"config\": \"\" } }\n   ```\n\n4. **Delete `tailwind.config.ts` if it exists**\n\n5. **Use `@tailwindcss\u002Fvite` plugin (NOT PostCSS)**\n\n6. **Use `cn()` for conditional classes**\n   ```typescript\n   import { cn } from \"@\u002Flib\u002Futils\"\n   \u003Cdiv className={cn(\"base\", isActive && \"active\")} \u002F>\n   ```\n\n### ❌ Never Do:\n\n1. **Put `:root` or `.dark` inside `@layer base`**\n   ```css\n   \u002F* WRONG *\u002F\n   @layer base {\n     :root { --background: hsl(...); }\n   }\n   ```\n\n2. **Use `.dark { @theme { } }` pattern**\n   ```css\n   \u002F* WRONG - v4 doesn't support nested @theme *\u002F\n   .dark {\n     @theme {\n       --color-primary: hsl(...);\n     }\n   }\n   ```\n\n3. **Double-wrap colors**\n   ```css\n   \u002F* WRONG *\u002F\n   body {\n     background-color: hsl(var(--background));\n   }\n   ```\n\n4. **Use `tailwind.config.ts` for theme colors**\n   ```typescript\n   \u002F* WRONG - v4 ignores this *\u002F\n   export default {\n     theme: {\n       extend: {\n         colors: { primary: 'hsl(var(--primary))' }\n       }\n     }\n   }\n   ```\n\n5. **Use `@apply` directive (deprecated in v4)**\n\n6. **Use `dark:` variants for semantic colors**\n   ```tsx\n   \u002F* WRONG *\u002F\n   \u003Cdiv className=\"bg-primary dark:bg-primary-dark\" \u002F>\n\n   \u002F* CORRECT *\u002F\n   \u003Cdiv className=\"bg-primary\" \u002F>\n   ```\n\n---\n\n## Semantic Color Tokens\n\nAlways use semantic names for colors:\n\n```css\n:root {\n  --destructive: hsl(0 84.2% 60.2%);        \u002F* Red - errors, critical *\u002F\n  --success: hsl(142.1 76.2% 36.3%);        \u002F* Green - success states *\u002F\n  --warning: hsl(38 92% 50%);               \u002F* Yellow - warnings *\u002F\n  --info: hsl(221.2 83.2% 53.3%);           \u002F* Blue - info, primary *\u002F\n}\n```\n\n**Usage:**\n```tsx\n\u003Cdiv className=\"bg-destructive text-destructive-foreground\">Critical\u003C\u002Fdiv>\n\u003Cdiv className=\"bg-success text-success-foreground\">Success\u003C\u002Fdiv>\n\u003Cdiv className=\"bg-warning text-warning-foreground\">Warning\u003C\u002Fdiv>\n\u003Cdiv className=\"bg-info text-info-foreground\">Info\u003C\u002Fdiv>\n```\n\n---\n\n## Common Issues & Quick Fixes\n\n| Symptom | Cause | Fix |\n|---------|-------|-----|\n| `bg-primary` doesn't work | Missing `@theme inline` mapping | Add `@theme inline` block |\n| Colors all black\u002Fwhite | Double `hsl()` wrapping | Use `var(--color)` not `hsl(var(--color))` |\n| Dark mode not switching | Missing ThemeProvider | Wrap app in `\u003CThemeProvider>` |\n| Build fails | `tailwind.config.ts` exists | Delete the file |\n| Text invisible | Wrong contrast colors | Check color definitions in `:root`\u002F`.dark` |\n\nSee `reference\u002Fcommon-gotchas.md` for complete troubleshooting guide.\n\n---\n\n## File Templates\n\nAll templates are available in the `templates\u002F` directory:\n\n- **index.css** - Complete CSS setup with all color variables\n- **components.json** - shadcn\u002Fui v4 configuration\n- **vite.config.ts** - Vite + Tailwind plugin setup\n- **tsconfig.app.json** - TypeScript with path aliases\n- **theme-provider.tsx** - Dark mode provider with localStorage\n- **utils.ts** - `cn()` utility for class merging\n\nCopy these files to your project and customize as needed.\n\n---\n\n## Complete Setup Checklist\n\n- [ ] Vite + React + TypeScript project created\n- [ ] `@tailwindcss\u002Fvite` installed (NOT postcss)\n- [ ] `vite.config.ts` uses `tailwindcss()` plugin\n- [ ] `tsconfig.json` has path aliases configured\n- [ ] `components.json` exists with `\"config\": \"\"`\n- [ ] NO `tailwind.config.ts` file exists\n- [ ] `src\u002Findex.css` follows v4 pattern:\n  - [ ] `:root` and `.dark` at root level (not in @layer)\n  - [ ] Colors wrapped with `hsl()`\n  - [ ] `@theme inline` maps all variables\n  - [ ] `@layer base` uses unwrapped variables\n- [ ] Theme provider installed and wrapping app\n- [ ] Dark mode toggle component created\n- [ ] Test theme switching works in browser\n\n---\n\n## Advanced Topics\n\n### Custom Colors\n\nAdd new semantic colors:\n\n```css\n:root {\n  --brand: hsl(280 65% 60%);\n  --brand-foreground: hsl(0 0% 100%);\n}\n\n.dark {\n  --brand: hsl(280 75% 70%);\n  --brand-foreground: hsl(280 20% 10%);\n}\n\n@theme inline {\n  --color-brand: var(--brand);\n  --color-brand-foreground: var(--brand-foreground);\n}\n```\n\nUsage: `\u003Cdiv className=\"bg-brand text-brand-foreground\">Branded\u003C\u002Fdiv>`\n\n### Migration from v3\n\nSee `reference\u002Fmigration-guide.md` for complete v3 → v4 migration steps.\n\n### Component Best Practices\n\n1. **Always use semantic tokens**\n   ```tsx\n   \u003CButton variant=\"destructive\">Delete\u003C\u002FButton>  \u002F* ✅ *\u002F\n   \u003CButton className=\"bg-red-600\">Delete\u003C\u002FButton>  \u002F* ❌ *\u002F\n   ```\n\n2. **Use `cn()` for conditional styling**\n   ```tsx\n   import { cn } from \"@\u002Flib\u002Futils\"\n\n   \u003Cdiv className={cn(\n     \"base-class\",\n     isActive && \"active-class\",\n     hasError && \"error-class\"\n   )} \u002F>\n   ```\n\n3. **Compose shadcn\u002Fui components**\n   ```tsx\n   \u003CDialog>\n     \u003CDialogTrigger asChild>\n       \u003CButton>Open\u003C\u002FButton>\n     \u003C\u002FDialogTrigger>\n     \u003CDialogContent>\n       \u003CDialogHeader>\n         \u003CDialogTitle>Title\u003C\u002FDialogTitle>\n       \u003C\u002FDialogHeader>\n     \u003C\u002FDialogContent>\n   \u003C\u002FDialog>\n   ```\n\n---\n\n## Dependencies\n\n### ✅ Install These\n\n```json\n{\n  \"dependencies\": {\n    \"tailwindcss\": \"^4.1.14\",\n    \"@tailwindcss\u002Fvite\": \"^4.1.14\",\n    \"clsx\": \"^2.1.1\",\n    \"tailwind-merge\": \"^3.3.1\",\n    \"@radix-ui\u002Freact-*\": \"latest\",\n    \"lucide-react\": \"^0.545.0\",\n    \"react\": \"^19.2.0\",\n    \"react-dom\": \"^19.2.0\"\n  },\n  \"devDependencies\": {\n    \"@types\u002Fnode\": \"^24.0.0\",\n    \"@vitejs\u002Fplugin-react\": \"^5.0.4\",\n    \"vite\": \"^7.0.0\",\n    \"typescript\": \"~5.9.0\"\n  }\n}\n```\n\n### ❌ NEVER Install These (Deprecated in v4)\n\n```bash\n# These packages will cause build errors:\nnpm install tailwindcss-animate  # ❌ Deprecated\nnpm install tw-animate-css      # ❌ Doesn't exist\n```\n\n**If you see import errors for these packages**, remove them and use native CSS animations or `@tailwindcss\u002Fmotion` instead.\n\n---\n\n## Tailwind v4 Plugins\n\nTailwind v4 supports official plugins using the `@plugin` directive in CSS.\n\n### Official Plugins (Tailwind Labs)\n\n#### Typography Plugin - Style Markdown\u002FCMS Content\n\n**When to use:** Displaying blog posts, documentation, or any HTML from Markdown\u002FCMS.\n\n**Installation:**\n```bash\npnpm add -D @tailwindcss\u002Ftypography\n```\n\n**Configuration (v4 syntax):**\n```css\n\u002F* src\u002Findex.css *\u002F\n@import \"tailwindcss\";\n@plugin \"@tailwindcss\u002Ftypography\";\n```\n\n**Usage:**\n```html\n\u003Carticle class=\"prose lg:prose-xl dark:prose-invert\">\n  {{ markdown_content }}\n\u003C\u002Farticle>\n```\n\n**Available classes:**\n- `prose` - Base typography styles\n- `prose-sm`, `prose-base`, `prose-lg`, `prose-xl`, `prose-2xl` - Size variants\n- `dark:prose-invert` - Dark mode styles\n\n---\n\n#### Forms Plugin - Reset Form Element Styles\n\n**When to use:** Building custom forms without shadcn\u002Fui components, or need consistent cross-browser form styling.\n\n**Installation:**\n```bash\npnpm add -D @tailwindcss\u002Fforms\n```\n\n**Configuration (v4 syntax):**\n```css\n\u002F* src\u002Findex.css *\u002F\n@import \"tailwindcss\";\n@plugin \"@tailwindcss\u002Fforms\";\n```\n\n**What it does:**\n- Resets browser default form styles\n- Makes form elements styleable with Tailwind utilities\n- Fixes cross-browser inconsistencies for inputs, selects, checkboxes, radios\n\n**Note:** Less critical for shadcn\u002Fui users (they have pre-styled form components), but still useful for basic forms.\n\n---\n\n### Common Plugin Errors\n\nThese errors happen when using v3 syntax in v4 projects:\n\n**❌ WRONG (v3 config file syntax):**\n```js\n\u002F\u002F tailwind.config.js\nmodule.exports = {\n  plugins: [require('@tailwindcss\u002Ftypography')]\n}\n```\n\n**❌ WRONG (@import instead of @plugin):**\n```css\n@import \"@tailwindcss\u002Ftypography\";  \u002F* Doesn't work *\u002F\n```\n\n**✅ CORRECT (v4 @plugin directive):**\n```css\n\u002F* src\u002Findex.css *\u002F\n@import \"tailwindcss\";\n@plugin \"@tailwindcss\u002Ftypography\";\n@plugin \"@tailwindcss\u002Fforms\";\n```\n\n---\n\n### Built-in Features (No Plugin Needed)\n\n**Container queries** are built into Tailwind v4 core - no plugin needed:\n\n```tsx\n\u003Cdiv className=\"@container\">\n  \u003Cdiv className=\"@md:text-lg\">\n    Responds to container width, not viewport\n  \u003C\u002Fdiv>\n\u003C\u002Fdiv>\n```\n\n**❌ Don't install:** `@tailwindcss\u002Fcontainer-queries` (deprecated, now core feature)\n\n---\n\n## Reference Documentation\n\nFor deeper understanding, see:\n\n- **architecture.md** - Deep dive into the 4-step pattern\n- **dark-mode.md** - Complete dark mode implementation\n- **common-gotchas.md** - All the ways it can break (and fixes)\n- **migration-guide.md** - Migrating hardcoded colors to CSS variables\n\n---\n\n## Official Documentation\n\n- **shadcn\u002Fui Vite Setup**: https:\u002F\u002Fui.shadcn.com\u002Fdocs\u002Finstallation\u002Fvite\n- **shadcn\u002Fui Tailwind v4 Guide**: https:\u002F\u002Fui.shadcn.com\u002Fdocs\u002Ftailwind-v4\n- **shadcn\u002Fui Dark Mode (Vite)**: https:\u002F\u002Fui.shadcn.com\u002Fdocs\u002Fdark-mode\u002Fvite\n- **Tailwind v4 Docs**: https:\u002F\u002Ftailwindcss.com\u002Fdocs\n- **shadcn\u002Fui Theming**: https:\u002F\u002Fui.shadcn.com\u002Fdocs\u002Ftheming\n\n---\n\n## Production Example\n\nThis skill is based on the WordPress Auditor project:\n- **Live**: https:\u002F\u002Fwordpress-auditor.webfonts.workers.dev\n- **Stack**: Vite + React 19 + Tailwind v4 + shadcn\u002Fui + Cloudflare Workers\n- **Dark Mode**: Full system\u002Flight\u002Fdark support\n- **Version**: Tailwind v4.1.14 + shadcn\u002Fui latest (Oct 2025)\n\nAll patterns in this skill have been validated in production.\n\n---\n\n**Questions? Issues?**\n\n1. Check `reference\u002Fcommon-gotchas.md` first\n2. Verify all steps in the 4-step architecture\n3. Ensure `components.json` has `\"config\": \"\"`\n4. Delete `tailwind.config.ts` if it exists\n5. Check official docs: https:\u002F\u002Fui.shadcn.com\u002Fdocs\u002Ftailwind-v4\n","# Tailwind v4 + shadcn\u002Fui Production Stack\n\n**Production-tested**: WordPress Auditor (https:\u002F\u002Fwordpress-auditor.webfonts.workers.dev)\n**Last Updated**: 2025-10-29\n**Status**: Production Ready ✅\n\n---\n\n## ⚠️ BEFORE YOU START (READ THIS!)\n\n**CRITICAL FOR AI AGENTS**: If you're Claude Code helping a user set up Tailwind v4:\n\n1. **Explicitly state you're using this skill** at the start of the conversation\n2. **Reference patterns from the skill** rather than general knowledge\n3. **Prevent known issues** listed in `reference\u002Fcommon-gotchas.md`\n4. **Don't guess** - if unsure, check the skill documentation\n\n**USER ACTION REQUIRED**: Tell Claude to check this skill first!\n\nSay: **\"I'm setting up Tailwind v4 + shadcn\u002Fui - check the tailwind-v4-shadcn skill first\"**\n\n### Why This Matters (Real-World Results)\n\n**Without skill activation:**\n- ❌ Setup time: ~5 minutes\n- ❌ Errors encountered: 2-3 (tw-animate-css, duplicate @layer base)\n- ❌ Manual fixes needed: 2+ commits\n- ❌ Token usage: ~65k\n- ❌ User confidence: Required debugging\n\n**With skill activation:**\n- ✅ Setup time: ~1 minute\n- ✅ Errors encountered: 0\n- ✅ Manual fixes needed: 0\n- ✅ Token usage: ~20k (70% reduction)\n- ✅ User confidence: Instant success\n\n### Known Issues This Skill Prevents\n\n1. **tw-animate-css import error** (deprecated in v4)\n2. **Duplicate @layer base blocks** (shadcn init adds its own)\n3. **Wrong template selection** (vanilla TS vs React)\n4. **Missing post-init cleanup** (incompatible CSS rules)\n5. **Wrong plugin syntax** (using @import or require() instead of @plugin directive)\n\nAll of these are handled automatically when the skill is active.\n\n---\n\n## Quick Start (5 Minutes - Follow This Exact Order)\n\n### 1. Install Dependencies\n\n```bash\npnpm add tailwindcss @tailwindcss\u002Fvite\npnpm add -D @types\u002Fnode\npnpm dlx shadcn@latest init\n```\n\n### 2. Configure Vite\n\n```typescript\n\u002F\u002F vite.config.ts\nimport { defineConfig } from 'vite'\nimport react from '@vitejs\u002Fplugin-react'\nimport tailwindcss from '@tailwindcss\u002Fvite'\nimport path from 'path'\n\nexport default defineConfig({\n  plugins: [react(), tailwindcss()],\n  resolve: {\n    alias: {\n      '@': path.resolve(__dirname, '.\u002Fsrc')\n    }\n  }\n})\n```\n\n### 3. Update components.json\n\n```json\n{\n  \"tailwind\": {\n    \"config\": \"\",              \u002F\u002F ← CRITICAL: Empty for v4\n    \"css\": \"src\u002Findex.css\",\n    \"cssVariables\": true\n  }\n}\n```\n\n### 4. Delete tailwind.config.ts\n\n```bash\nrm tailwind.config.ts  # v4 doesn't use this file\n```\n\n---\n\n## The Four-Step Architecture (CRITICAL)\n\nThis pattern is **mandatory** - skipping steps will break your theme.\n\n### Step 1: Define CSS Variables at Root Level\n\n```css\n\u002F* src\u002Findex.css *\u002F\n@import \"tailwindcss\";\n\n:root {\n  --background: hsl(0 0% 100%);      \u002F* ← hsl() wrapper required *\u002F\n  --foreground: hsl(222.2 84% 4.9%);\n  --primary: hsl(221.2 83.2% 53.3%);\n  \u002F* ... all light mode colors *\u002F\n}\n\n.dark {\n  --background: hsl(222.2 84% 4.9%);\n  --foreground: hsl(210 40% 98%);\n  --primary: hsl(217.2 91.2% 59.8%);\n  \u002F* ... all dark mode colors *\u002F\n}\n```\n\n**Critical Rules:**\n- ✅ Define at root level (NOT inside `@layer base`)\n- ✅ Use `hsl()` wrapper on all color values\n- ✅ Use `.dark` for dark mode (NOT `.dark { @theme { } }`)\n\n### Step 2: Map Variables to Tailwind Utilities\n\n```css\n@theme inline {\n  --color-background: var(--background);\n  --color-foreground: var(--foreground);\n  --color-primary: var(--primary);\n  \u002F* ... map ALL CSS variables *\u002F\n}\n```\n\n**Why This Is Required:**\n- Generates utility classes (`bg-background`, `text-primary`)\n- Without this, `bg-primary` etc. won't exist\n\n### Step 3: Apply Base Styles\n\n```css\n@layer base {\n  body {\n    background-color: var(--background);  \u002F* NO hsl() here *\u002F\n    color: var(--foreground);\n  }\n}\n```\n\n**Critical Rules:**\n- ✅ Reference variables directly: `var(--background)`\n- ❌ Never double-wrap: `hsl(var(--background))`\n\n### Step 4: Result - Automatic Dark Mode\n\n```tsx\n\u003Cdiv className=\"bg-background text-foreground\">\n  {\u002F* No dark: variants needed - theme switches automatically *\u002F}\n\u003C\u002Fdiv>\n```\n\n---\n\n## Dark Mode Setup\n\n### 1. Create ThemeProvider\n\nSee `reference\u002Fdark-mode.md` for full implementation or use template:\n\n```typescript\n\u002F\u002F Copy from: templates\u002Ftheme-provider.tsx\n```\n\n### 2. Wrap Your App\n\n```typescript\n\u002F\u002F src\u002Fmain.tsx\nimport { ThemeProvider } from '@\u002Fcomponents\u002Ftheme-provider'\n\nReactDOM.createRoot(document.getElementById('root')!).render(\n  \u003CReact.StrictMode>\n    \u003CThemeProvider defaultTheme=\"dark\" storageKey=\"vite-ui-theme\">\n      \u003CApp \u002F>\n    \u003C\u002FThemeProvider>\n  \u003C\u002FReact.StrictMode>,\n)\n```\n\n### 3. Add Theme Toggle\n\n```bash\npnpm dlx shadcn@latest add dropdown-menu\n```\n\nSee `reference\u002Fdark-mode.md` for ModeToggle component code.\n\n---\n\n## Critical Rules (MUST FOLLOW)\n\n### ✅ Always Do:\n\n1. **Wrap color values with `hsl()` in `:root` and `.dark`**\n   ```css\n   --background: hsl(0 0% 100%);  \u002F* ✅ Correct *\u002F\n   ```\n\n2. **Use `@theme inline` to map all CSS variables**\n   ```css\n   @theme inline {\n     --color-background: var(--background);\n   }\n   ```\n\n3. **Set `\"tailwind.config\": \"\"` in components.json**\n   ```json\n   { \"tailwind\": { \"config\": \"\" } }\n   ```\n\n4. **Delete `tailwind.config.ts` if it exists**\n\n5. **Use `@tailwindcss\u002Fvite` plugin (NOT PostCSS)**\n\n6. **Use `cn()` for conditional classes**\n   ```typescript\n   import { cn } from \"@\u002Flib\u002Futils\"\n   \u003Cdiv className={cn(\"base\", isActive && \"active\")} \u002F>\n   ```\n\n### ❌ Never Do:\n\n1. **Put `:root` or `.dark` inside `@layer base`**\n   ```css\n   \u002F* WRONG *\u002F\n   @layer base {\n     :root { --background: hsl(...); }\n   }\n   ```\n\n2. **Use `.dark { @theme { } }` pattern**\n   ```css\n   \u002F* WRONG - v4 doesn't support nested @theme *\u002F\n   .dark {\n     @theme {\n       --color-primary: hsl(...);\n     }\n   }\n   ```\n\n3. **Double-wrap colors**\n   ```css\n   \u002F* WRONG *\u002F\n   body {\n     background-color: hsl(var(--background));\n   }\n   ```\n\n4. **Use `tailwind.config.ts` for theme colors**\n   ```typescript\n   \u002F* WRONG - v4 ignores this *\u002F\n   export default {\n     theme: {\n       extend: {\n         colors: { primary: 'hsl(var(--primary))' }\n       }\n     }\n   }\n   ```\n\n5. **Use `@apply` directive (deprecated in v4)**\n\n6. **Use `dark:` variants for semantic colors**\n   ```tsx\n   \u002F* WRONG *\u002F\n   \u003Cdiv className=\"bg-primary dark:bg-primary-dark\" \u002F>\n\n   \u002F* CORRECT *\u002F\n   \u003Cdiv className=\"bg-primary\" \u002F>\n   ```\n\n---\n\n## Semantic Color Tokens\n\nAlways use semantic names for colors:\n\n```css\n:root {\n  --destructive: hsl(0 84.2% 60.2%);        \u002F* Red - errors, critical *\u002F\n  --success: hsl(142.1 76.2% 36.3%);        \u002F* Green - success states *\u002F\n  --warning: hsl(38 92% 50%);               \u002F* Yellow - warnings *\u002F\n  --info: hsl(221.2 83.2% 53.3%);           \u002F* Blue - info, primary *\u002F\n}\n```\n\n**Usage:**\n```tsx\n\u003Cdiv className=\"bg-destructive text-destructive-foreground\">Critical\u003C\u002Fdiv>\n\u003Cdiv className=\"bg-success text-success-foreground\">Success\u003C\u002Fdiv>\n\u003Cdiv className=\"bg-warning text-warning-foreground\">Warning\u003C\u002Fdiv>\n\u003Cdiv className=\"bg-info text-info-foreground\">Info\u003C\u002Fdiv>\n```\n\n---\n\n## Common Issues & Quick Fixes\n\n| Symptom | Cause | Fix |\n|---------|-------|-----|\n| `bg-primary` doesn't work | Missing `@theme inline` mapping | Add `@theme inline` block |\n| Colors all black\u002Fwhite | Double `hsl()` wrapping | Use `var(--color)` not `hsl(var(--color))` |\n| Dark mode not switching | Missing ThemeProvider | Wrap app in `\u003CThemeProvider>` |\n| Build fails | `tailwind.config.ts` exists | Delete the file |\n| Text invisible | Wrong contrast colors | Check color definitions in `:root`\u002F`.dark` |\n\nSee `reference\u002Fcommon-gotchas.md` for complete troubleshooting guide.\n\n---\n\n## File Templates\n\nAll templates are available in the `templates\u002F` directory:\n\n- **index.css** - Complete CSS setup with all color variables\n- **components.json** - shadcn\u002Fui v4 configuration\n- **vite.config.ts** - Vite + Tailwind plugin setup\n- **tsconfig.app.json** - TypeScript with path aliases\n- **theme-provider.tsx** - Dark mode provider with localStorage\n- **utils.ts** - `cn()` utility for class merging\n\nCopy these files to your project and customize as needed.\n\n---\n\n## Complete Setup Checklist\n\n- [ ] Vite + React + TypeScript project created\n- [ ] `@tailwindcss\u002Fvite` installed (NOT postcss)\n- [ ] `vite.config.ts` uses `tailwindcss()` plugin\n- [ ] `tsconfig.json` has path aliases configured\n- [ ] `components.json` exists with `\"config\": \"\"`\n- [ ] NO `tailwind.config.ts` file exists\n- [ ] `src\u002Findex.css` follows v4 pattern:\n  - [ ] `:root` and `.dark` at root level (not in @layer)\n  - [ ] Colors wrapped with `hsl()`\n  - [ ] `@theme inline` maps all variables\n  - [ ] `@layer base` uses unwrapped variables\n- [ ] Theme provider installed and wrapping app\n- [ ] Dark mode toggle component created\n- [ ] Test theme switching works in browser\n\n---\n\n## Advanced Topics\n\n### Custom Colors\n\nAdd new semantic colors:\n\n```css\n:root {\n  --brand: hsl(280 65% 60%);\n  --brand-foreground: hsl(0 0% 100%);\n}\n\n.dark {\n  --brand: hsl(280 75% 70%);\n  --brand-foreground: hsl(280 20% 10%);\n}\n\n@theme inline {\n  --color-brand: var(--brand);\n  --color-brand-foreground: var(--brand-foreground);\n}\n```\n\nUsage: `\u003Cdiv className=\"bg-brand text-brand-foreground\">Branded\u003C\u002Fdiv>`\n\n### Migration from v3\n\nSee `reference\u002Fmigration-guide.md` for complete v3 → v4 migration steps.\n\n### Component Best Practices\n\n1. **Always use semantic tokens**\n   ```tsx\n   \u003CButton variant=\"destructive\">Delete\u003C\u002FButton>  \u002F* ✅ *\u002F\n   \u003CButton className=\"bg-red-600\">Delete\u003C\u002FButton>  \u002F* ❌ *\u002F\n   ```\n\n2. **Use `cn()` for conditional styling**\n   ```tsx\n   import { cn } from \"@\u002Flib\u002Futils\"\n\n   \u003Cdiv className={cn(\n     \"base-class\",\n     isActive && \"active-class\",\n     hasError && \"error-class\"\n   )} \u002F>\n   ```\n\n3. **Compose shadcn\u002Fui components**\n   ```tsx\n   \u003CDialog>\n     \u003CDialogTrigger asChild>\n       \u003CButton>Open\u003C\u002FButton>\n     \u003C\u002FDialogTrigger>\n     \u003CDialogContent>\n       \u003CDialogHeader>\n         \u003CDialogTitle>Title\u003C\u002FDialogTitle>\n       \u003C\u002FDialogHeader>\n     \u003C\u002FDialogContent>\n   \u003C\u002FDialog>\n   ```\n\n---\n\n## Dependencies\n\n### ✅ Install These\n\n```json\n{\n  \"dependencies\": {\n    \"tailwindcss\": \"^4.1.14\",\n    \"@tailwindcss\u002Fvite\": \"^4.1.14\",\n    \"clsx\": \"^2.1.1\",\n    \"tailwind-merge\": \"^3.3.1\",\n    \"@radix-ui\u002Freact-*\": \"latest\",\n    \"lucide-react\": \"^0.545.0\",\n    \"react\": \"^19.2.0\",\n    \"react-dom\": \"^19.2.0\"\n  },\n  \"devDependencies\": {\n    \"@types\u002Fnode\": \"^24.0.0\",\n    \"@vitejs\u002Fplugin-react\": \"^5.0.4\",\n    \"vite\": \"^7.0.0\",\n    \"typescript\": \"~5.9.0\"\n  }\n}\n```\n\n### ❌ NEVER Install These (Deprecated in v4)\n\n```bash\n# These packages will cause build errors:\nnpm install tailwindcss-animate  # ❌ Deprecated\nnpm install tw-animate-css      # ❌ Doesn't exist\n```\n\n**If you see import errors for these packages**, remove them and use native CSS animations or `@tailwindcss\u002Fmotion` instead.\n\n---\n\n## Tailwind v4 Plugins\n\nTailwind v4 supports official plugins using the `@plugin` directive in CSS.\n\n### Official Plugins (Tailwind Labs)\n\n#### Typography Plugin - Style Markdown\u002FCMS Content\n\n**When to use:** Displaying blog posts, documentation, or any HTML from Markdown\u002FCMS.\n\n**Installation:**\n```bash\npnpm add -D @tailwindcss\u002Ftypography\n```\n\n**Configuration (v4 syntax):**\n```css\n\u002F* src\u002Findex.css *\u002F\n@import \"tailwindcss\";\n@plugin \"@tailwindcss\u002Ftypography\";\n```\n\n**Usage:**\n```html\n\u003Carticle class=\"prose lg:prose-xl dark:prose-invert\">\n  {{ markdown_content }}\n\u003C\u002Farticle>\n```\n\n**Available classes:**\n- `prose` - Base typography styles\n- `prose-sm`, `prose-base`, `prose-lg`, `prose-xl`, `prose-2xl` - Size variants\n- `dark:prose-invert` - Dark mode styles\n\n---\n\n#### Forms Plugin - Reset Form Element Styles\n\n**When to use:** Building custom forms without shadcn\u002Fui components, or need consistent cross-browser form styling.\n\n**Installation:**\n```bash\npnpm add -D @tailwindcss\u002Fforms\n```\n\n**Configuration (v4 syntax):**\n```css\n\u002F* src\u002Findex.css *\u002F\n@import \"tailwindcss\";\n@plugin \"@tailwindcss\u002Fforms\";\n```\n\n**What it does:**\n- Resets browser default form styles\n- Makes form elements styleable with Tailwind utilities\n- Fixes cross-browser inconsistencies for inputs, selects, checkboxes, radios\n\n**Note:** Less critical for shadcn\u002Fui users (they have pre-styled form components), but still useful for basic forms.\n\n---\n\n### Common Plugin Errors\n\nThese errors happen when using v3 syntax in v4 projects:\n\n**❌ WRONG (v3 config file syntax):**\n```js\n\u002F\u002F tailwind.config.js\nmodule.exports = {\n  plugins: [require('@tailwindcss\u002Ftypography')]\n}\n```\n\n**❌ WRONG (@import instead of @plugin):**\n```css\n@import \"@tailwindcss\u002Ftypography\";  \u002F* Doesn't work *\u002F\n```\n\n**✅ CORRECT (v4 @plugin directive):**\n```css\n\u002F* src\u002Findex.css *\u002F\n@import \"tailwindcss\";\n@plugin \"@tailwindcss\u002Ftypography\";\n@plugin \"@tailwindcss\u002Fforms\";\n```\n\n---\n\n### Built-in Features (No Plugin Needed)\n\n**Container queries** are built into Tailwind v4 core - no plugin needed:\n\n```tsx\n\u003Cdiv className=\"@container\">\n  \u003Cdiv className=\"@md:text-lg\">\n    Responds to container width, not viewport\n  \u003C\u002Fdiv>\n\u003C\u002Fdiv>\n```\n\n**❌ Don't install:** `@tailwindcss\u002Fcontainer-queries` (deprecated, now core feature)\n\n---\n\n## Reference Documentation\n\nFor deeper understanding, see:\n\n- **architecture.md** - Deep dive into the 4-step pattern\n- **dark-mode.md** - Complete dark mode implementation\n- **common-gotchas.md** - All the ways it can break (and fixes)\n- **migration-guide.md** - Migrating hardcoded colors to CSS variables\n\n---\n\n## Official Documentation\n\n- **shadcn\u002Fui Vite Setup**: https:\u002F\u002Fui.shadcn.com\u002Fdocs\u002Finstallation\u002Fvite\n- **shadcn\u002Fui Tailwind v4 Guide**: https:\u002F\u002Fui.shadcn.com\u002Fdocs\u002Ftailwind-v4\n- **shadcn\u002Fui Dark Mode (Vite)**: https:\u002F\u002Fui.shadcn.com\u002Fdocs\u002Fdark-mode\u002Fvite\n- **Tailwind v4 Docs**: https:\u002F\u002Ftailwindcss.com\u002Fdocs\n- **shadcn\u002Fui Theming**: https:\u002F\u002Fui.shadcn.com\u002Fdocs\u002Ftheming\n\n---\n\n## Production Example\n\nThis skill is based on the WordPress Auditor project:\n- **Live**: https:\u002F\u002Fwordpress-auditor.webfonts.workers.dev\n- **Stack**: Vite + React 19 + Tailwind v4 + shadcn\u002Fui + Cloudflare Workers\n- **Dark Mode**: Full system\u002Flight\u002Fdark support\n- **Version**: Tailwind v4.1.14 + shadcn\u002Fui latest (Oct 2025)\n\nAll patterns in this skill have been validated in production.\n\n---\n\n**Questions? Issues?**\n\n1. Check `reference\u002Fcommon-gotchas.md` first\n2. Verify all steps in the 4-step architecture\n3. Ensure `components.json` has `\"config\": \"\"`\n4. Delete `tailwind.config.ts` if it exists\n5. Check official docs: https:\u002F\u002Fui.shadcn.com\u002Fdocs\u002Ftailwind-v4\n",{"name":5,"license":14,"description":23},"Production-tested setup for Tailwind CSS v4 with shadcn\u002Fui, Vite, and React.\n\nUse when: initializing React projects with Tailwind v4, setting up shadcn\u002Fui,\nimplementing dark mode, debugging CSS variable issues, fixing theme switching,\nmigrating from Tailwind v3, or encountering color\u002Ftheming problems.\n\nCovers: @theme inline pattern, CSS variable architecture, dark mode with\nThemeProvider, component composition, vite.config setup, common v4 gotchas,\nand production-tested patterns.\n\nKeywords: Tailwind v4, shadcn\u002Fui, @tailwindcss\u002Fvite, @theme inline, dark mode,\nCSS variables, hsl() wrapper, components.json, React theming, theme switching,\ncolors not working, variables broken, theme not applying, @plugin directive,\ntypography plugin, forms plugin, prose class, @tailwindcss\u002Ftypography,\n@tailwindcss\u002Fforms\n","main","6b73b29e4866f997b1eb47fe8d9631396265fc24",0,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills","https:\u002F\u002Fgithub.com\u002Fdavidanthonyn","2026-09-09 16:06:07",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add davidanthonyn\u002Fagent-skills --skill tailwind-v4-shadcn",{"tool":36,"command":37},"bunx","bunx skills add davidanthonyn\u002Fagent-skills --skill tailwind-v4-shadcn",{"tool":39,"command":40},"pnpm","pnpm dlx skills add davidanthonyn\u002Fagent-skills --skill tailwind-v4-shadcn","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Ftailwind-v4-shadcn\u002FSKILL.md",true,[44,50,54],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"README.md","REFERENCE","参考文档",5791,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Ftailwind-v4-shadcn\u002FREADME.md",{"path":51,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":52,"sourceHtmlUrl":53},"SKILL.json",16511,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Ftailwind-v4-shadcn\u002FSKILL.json",{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":59},"SKILL.md.backup","OTHER","其他",15295,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Ftailwind-v4-shadcn\u002FSKILL.md.backup",[61,68,76,83,90,99],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":18},"01M7AQNJDXVNVMN08N5BHBGZBF","zustand-state-management","Production-tested setup for Zustand state management in React applications with TypeScript.\nThis skill provides comprehensive patterns for building scalable, type-safe global state.\n\nUse when: setting up global state in React, migrating from Redux or Context API, implementing\nstate persistence with localStorage, configuring TypeScript with Zustand, using slices pattern\nfor modular stores, adding devtools middleware for debugging, handling Next.js SSR hydration,\nor encountering hydration errors, TypeScript inference issues, or persist middleware problems.\n\nPrevents 5 documented issues: Next.js hydration mismatches, TypeScript double parentheses\nsyntax errors, persist middleware export errors, infinite render loops, and slices pattern\ntype inference failures.\n\nKeywords: zustand, state management, React state, TypeScript state, persist middleware,\ndevtools, slices pattern, global state, React hooks, create store, useBoundStore,\nStateCreator, hydration error, text content mismatch, infinite render, localStorage,\nsessionStorage, immer middleware, shallow equality, selector pattern, zustand v5","https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Fzustand-state-management\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":72,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":18},"01M7AQN2DW9DTPM8BYNZSHQANC","zetic-mlange","Help users integrate the ZETIC Melange (MLange) on-device AI SDK into Android (Kotlin\u002FJava) and iOS (Swift) mobile apps. Use this skill whenever the user mentions Zetic, MLange, Melange, ZeticMLangeModel, ZeticMLangeLLMModel, ZeticMLangeHFModel, on-device NPU inference for mobile, or deploying ML models to Android\u002FiOS with NPU acceleration. Also trigger when users ask about running LLMs on-device with GGUF quantization, mobile NPU model deployment, or converting PyTorch\u002FONNX models for mobile inference. Covers general model inference, LLM inference (streaming token generation), and HuggingFace model loading.","https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Fzetic-mlange\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Fzetic-mlange\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":18},"01M7AQMEK370FBPC75N2W8WA4W","youtube-downloader","Download videos, audio, playlists, and channels from YouTube and 1000+ websites using yt-dlp. Supports quality selection, format conversion, subtitle download, playlist filtering, metadata extraction, thumbnail download, and batch operations. Use when downloading YouTube videos in any quality (4K, 8K, HDR), extracting audio as MP3\u002FM4A\u002FFLAC, downloading entire playlists\u002Fchannels, getting subtitles in multiple languages, converting to specific formats, downloading live streams, archiving content, or batch processing multiple URLs. Optimized for reliability with automatic retries, rate limiting, and error handling.","https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Fyoutube-downloader\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":18},"01M7AQHKQ4VQB04NH6BG4SV9Q7","wordpress-plugin-core","This skill provides comprehensive knowledge for WordPress plugin development, covering core patterns, security best practices, database interactions, hooks\u002Ffilters, Settings API, custom post types, REST API, and AJAX. This skill should be used when creating WordPress plugins, troubleshooting security issues, implementing custom post types\u002Ftaxonomies, building admin interfaces, or working with the WordPress database.\n\nUse when: Creating new WordPress plugins, implementing nonces\u002Fsanitization\u002Fescaping, working with $wpdb and prepared statements, building Settings API pages, registering custom post types or taxonomies, implementing REST API endpoints, handling AJAX requests, debugging plugin activation\u002Fdeactivation issues, preventing SQL injection\u002FXSS\u002FCSRF vulnerabilities.\n\nKeywords: wordpress plugin development, wordpress security, wordpress hooks, wordpress filters, wordpress database, wpdb prepare, sanitize_text_field, esc_html, wp_nonce, custom post type, register_post_type, settings api, rest api, admin-ajax, wordpress sql injection, wordpress xss, wordpress csrf, plugin header, activation hook, deactivation hook, wordpress coding standards, wordpress plugin architecture","https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Fwordpress-plugin-core\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":94,"licenseFileUrl":95,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":18},"01M7AQH4JW8F2MJFS1C43TZ2TY","webapp-testing","Test local web applications with Playwright. Use when asked to verify frontend functionality, debug UI behavior, capture browser screenshots, or inspect browser logs.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":18},"01M7AQH0PWD6Z1NN66V15DT25M","web-performance-audit","Audit web performance using Chrome DevTools MCP. Use when asked to audit, profile, debug, or optimize page load performance, Lighthouse scores, or site speed.","https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Fweb-performance-audit\u002FSKILL.md",[],[]]