/product-designer:tailwind-design-systemfrom product-designer
Builds scalable design systems with Tailwind CSS v4, including CSS-first configuration, design tokens, component variants, responsive patterns, and accessibility. Helps with v3-to-v4 migration, dark mode theming, and responsive component creation.
Ships in product-designer. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Build production-ready design systems with Tailwind CSS v4, including CSS-first configuration, design tokens, component variants, responsive patterns, and accessibility.
Note: This skill targets Tailwind CSS v4 (2024+). For v3 projects, refer to the migration checklist in
.claude/skills/tailwind-design-system/advanced-v4.md.
| v3 Pattern | v4 Pattern |
|---|---|
tailwind.config.ts | @theme in CSS |
@tailwind base/components/utilities | @import "tailwindcss" |
darkMode: "class" | @custom-variant dark (&:where(.dark, .dark *)) |
theme.extend.colors | @theme { --color-*: value } |
require("tailwindcss-animate") | CSS @keyframes in @theme + @starting-style for entry animations |
/* app.css - Tailwind v4 CSS-first configuration */
@import "tailwindcss";
@theme {
/* Semantic color tokens using OKLCH for better color perception */
--color-background: oklch(100% 0 0);
--color-foreground: oklch(14.5% 0.025 264);
--color-primary: oklch(14.5% 0.025 264);
--color-primary-foreground: oklch(98% 0.01 264);
--color-secondary: oklch(96% 0.01 264);
--color-secondary-foreground: oklch(14.5% 0.025 264);
--color-muted: oklch(96% 0.01 264);
--color-muted-foreground: oklch(46% 0.02 264);
--color-accent: oklch(96% 0.01 264);
--color-accent-foreground: oklch(14.5% 0.025 264);
--color-destructive: oklch(53% 0.22 27);
--color-destructive-foreground: oklch(98% 0.01 264);
--color-border: oklch(91% 0.01 264);
--color-ring: oklch(14.5% 0.025 264);
--color-card: oklch(100% 0 0);
--color-card-foreground: oklch(14.5% 0.025 264);
--color-ring-offset: oklch(100% 0 0);
/* Radius tokens */
--radius-sm: 0.25rem;
--radius-md: 0.375rem;
--radius-lg: 0.5rem;
--radius-xl: 0.75rem;
/* Animation tokens */
--animate-fade-in: fade-in 0.2s ease-out;
--animate-fade-out: fade-out 0.2s ease-in;
--animate-slide-in: slide-in 0.3s ease-out;
--animate-slide-out: slide-out 0.3s ease-in;
@keyframes fade-in {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes fade-out {
from { opacity: 1; }
to { opacity: 0; }
}
@keyframes slide-in {
from { transform: translateY(-0.5rem); opacity: 0; }
to { transform: translateY(0); opacity: 1; }
}
@keyframes slide-out {
from { transform: translateY(0); opacity: 1; }
to { transform: translateY(-0.5rem); opacity: 0; }
}
}
/* Dark mode variant */
@custom-variant dark (&:where(.dark, .dark *));
.dark {
--color-background: oklch(14.5% 0.025 264);
--color-foreground: oklch(98% 0.01 264);
--color-primary: oklch(98% 0.01 264);
--color-primary-foreground: oklch(14.5% 0.025 264);
--color-secondary: oklch(22% 0.02 264);
--color-secondary-foreground: oklch(98% 0.01 264);
--color-muted: oklch(22% 0.02 264);
--color-muted-foreground: oklch(65% 0.02 264);
--color-accent: oklch(22% 0.02 264);
--color-accent-foreground: oklch(98% 0.01 264);
--color-destructive: oklch(42% 0.15 27);
--color-destructive-foreground: oklch(98% 0.01 264);
--color-border: oklch(22% 0.02 264);
--color-ring: oklch(83% 0.02 264);
--color-card: oklch(14.5% 0.025 264);
--color-card-foreground: oklch(98% 0.01 264);
--color-ring-offset: oklch(14.5% 0.025 264);
}
@layer base {
* { @apply border-border; }
body { @apply bg-background text-foreground antialiased; }
}
Design token hierarchy:
Brand Tokens (abstract) → Semantic Tokens (purpose) → Component Tokens (specific)
Example: oklch(45% 0.2 260) → --color-primary → bg-primary
Component architecture:
Base styles → Variants → Sizes → States → Overrides
// lib/utils.ts
import { type ClassValue, clsx } from "clsx";
import { twMerge } from "tailwind-merge";
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));
}
export const focusRing = cn(
"focus-visible:outline-none focus-visible:ring-2",
"focus-visible:ring-ring focus-visible:ring-offset-2",
);
export const disabled = "disabled:pointer-events-none disabled:opacity-50";
.claude/skills/tailwind-design-system/patterns.md for: CVA button, compound card, form components, responsive grid, native CSS animations, dark mode provider.claude/skills/tailwind-design-system/advanced-v4.md for: custom utilities, theme modifiers, namespace overrides, semi-transparent colors, container queries, v3→v4 migration checklist, best practicesWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub waqarahmed-design/product-designer-agent --plugin product-designer13 skills in this plugin
/aidlcAI Design Lifecycle (AIDLC) — designs AI-powered product experiences covering strategy, research, UX patterns (conversational UI, copilots, prompts, suggestions), interaction design (streaming, multi-turn, regeneration), states and edge cases (loading, hallucination, rate limiting), safety and ethics (bias, consent, transparency), personalization (adaptive UI, recommendations), and emerging patterns (agents, generative UI, multimodal, RAG). Use when designing any AI/ML feature, chatbot, copilot, recommendation system, generative AI interface, or AI-assisted workflow. Triggers on: AI, ML, LLM, chatbot, copilot, conversational UI, prompt, generative AI, recommendation, suggestion, streaming response, hallucination, AI safety, AI ethics, bias, content moderation, AI onboarding, human-in-the-loop, regenerate, AI agent, multimodal, RAG, prompt engineering, AI personalization, adaptive UI./business-knowledgeBusiness knowledge for product designers covering business fundamentals, product metrics, growth & monetization, stakeholder communication, and industry domain expertise. Use when making product decisions that involve business models, revenue, pricing, KPIs, funnels, retention, growth loops, conversion optimization, churn, upselling, executive communication, OKRs, ROI, business cases, market analysis, competitive intelligence, regulatory compliance, or customer segmentation. Triggers on: business model, revenue, pricing, unit economics, CAC, LTV, churn, TAM, SAM, SOM, KPI, funnel, cohort, retention, DAU, MAU, north star metric, product-market fit, growth loop, conversion, onboarding optimization, upsell, cross-sell, pricing page, business case, ROI, OKR, budget, risk, trade-off, opportunity sizing, GDPR, compliance, competitive intelligence, market research, go-to-market./design-specializationsSpecialized design covering mobile, web, and emerging disciplines. Use when designing for iOS or Android (HIG, Material Design, touch gestures, tab bars, bottom sheets, notifications, onboarding, app icons), web specializations (above-the-fold, form design, data tables, dashboards, e-commerce, checkout, content layouts), or emerging areas (Design Ops, inclusive design, ethical design, dark pattern avoidance, sustainable design, service design, design thinking facilitation). Triggers on: iOS design, HIG, Material Design, Android design, touch gesture, swipe, tab bar, bottom sheet, push notification, mobile onboarding, app icon, above the fold, hero section, form design, multi-step form, data table, dashboard design, e-commerce, product page, checkout, article layout, Design Ops, inclusive design, ethical design, dark pattern, sustainable design, service design, service blueprint, design thinking, facilitation./frontend-designCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics./microinteractions-animationMicro-interactions and animation — covers Saffer's Trigger-Rules-Feedback-Loops framework, signature moments, scoring, motion principles, animation patterns, advanced techniques, and performance. Use when designing or auditing microinteractions, implementing loading animations, hover effects, button feedback, page transitions, scroll animations, pull-to-refresh, swipe gestures, toggles, modals, or toasts. Also covers physics-based motion, spring animations, Lottie, SVG animation, morphing, easing curves, orchestration, and 60fps performance with prefers-reduced-motion support. Triggers on: microinteraction, animation, motion, easing, spring physics, timing, duration, loading spinner, skeleton screen, hover effect, button press, page transition, scroll animation, parallax, pull-to-refresh, swipe gesture, toggle switch, modal animation, toast, Lottie, SVG animation, morphing, reduced motion, 60fps, orchestration, state transition./planning-strategyProduct design planning and strategy skill covering product strategy, information architecture, and project planning. Use when defining problems, assessing opportunities, prioritizing features, planning roadmaps, defining success metrics, designing value propositions, structuring content or navigation, designing search or taxonomy systems, scoping design work, facilitating design sprints or workshops, or assessing design risks. Triggers on: problem definition, opportunity assessment, feature prioritization, RICE, MoSCoW, Kano, roadmap, KPIs, success metrics, value proposition, information architecture, site map, content strategy, taxonomy, navigation design, search design, mental model, design scoping, design sprint, workshop facilitation, risk assessment, resource planning.Other plugins' skills for the same job