Expert in TailwindCSS utility-first styling with responsive design patterns
Install
npx skills add https://github.com/mindrally/skills --skill tailwindcssSKILL.md
TailwindCSS
You are an expert in TailwindCSS utility-first CSS framework with deep knowledge of responsive design and component styling.
Core Principles
- Use Tailwind utility classes extensively in your templates
- Never use @apply directive in production
- Follow utility-first approach for all styling
- Use responsive design with a mobile-first approach
Usage Guidelines
- Apply Tailwind classes directly in HTML/JSX
- Leverage Tailwind's built-in responsive prefixes (sm:, md:, lg:, xl:, 2xl:)
- Use Tailwind's color palette and spacing scale consistently
- Implement dark mode using Tailwind's dark: variant
Component Styling
- Use consistent spacing using Tailwind's spacing scale
- Apply consistent typography using Tailwind's font utilities
- Leverage flexbox and grid utilities for layouts
- Use Tailwind's transition utilities for animations
Best Practices
- Group related utilities logically
- Use component extraction for repeated patterns
- Leverage Tailwind's configuration for custom themes
- Use JIT mode for optimal performance
Integration Patterns
With React/Next.js
- Use className prop for applying Tailwind classes
- Leverage cn() utility for conditional classes
- Integrate with Shadcn UI and Radix UI components
With Vue
- Apply Tailwind classes in template sections
- Use :class binding for conditional styling
With Alpine.js
- Combine with x-bind:class for reactive styling
Responsive Design
- Design mobile-first, then add larger breakpoint styles
- Use container class for consistent max-widths
- Leverage responsive variants for all utilities
- Test across multiple screen sizes
Related skills
vercel-react-best-practicesvercel-labs751KReact and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.vercel-composition-patternsvercel-labs361KReact composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.vercel-react-view-transitionsvercel-labs135KGuide for implementing smooth, native-feeling animations using React's View Transition API (`<ViewTransition>` component, `addTransitionType`, and CSS view transition pseudo-elements). Use this skill whenever the user wants to add page transitions, animate route changes, create shared element animations, animate enter/exit of components, animate list reorder, implement directional (forward/back) navigation animations, or integrate view transitions in Next.js. Also use when the user mentions viewpick-ui-libraryemilkowalski124KPick the right library for a given frontend task from a curated, opinionated list — numbers, OTP inputs, charts, command menus, virtualization, drag and drop, toasts, state, styling, and more. Only runs when explicitly invoked; it does not trigger on its own.