Cursor
.cursorrules
Styling
Verified
Tailwind CSS Expert
Utility-first CSS patterns, responsive design, dark mode, and Tailwind component architecture.
Cursor
Windsurf
Claude Code
Quick Info
File Type:
.cursorrulesPlatform:Cursor
Author:MCP Directory
Category:Styling
What This Skill Does
Makes your AI assistant fluent in Tailwind CSS. Follows utility-first principles, implements responsive design with mobile-first approach, handles dark mode with the class strategy, uses @apply sparingly, and builds reusable component patterns with consistent spacing and typography scales.
Tags
#tailwind
#css
#responsive
#dark-mode
Skill Code Preview
Copy this code to your .cursorrules file
# Tailwind CSS Expert
## Rules
- Use utility classes directly — avoid @apply except for base styles
- Mobile-first responsive: sm: md: lg: xl: 2xl:
- Use dark: variant for dark mode with class strategy
- Follow spacing scale consistently (gap-4, p-6, etc.)
- Prefer flex/grid for layouts over absolute positioningInstallation Instructions
For Cursor:
- Create a file named
.cursorrulesin your project root - Copy the skill code above and paste it into the file
- Save and Cursor will apply these rules automatically
For Windsurf:
- Open Windsurf IDE settings
- Navigate to AI Rules / Custom Instructions
- Copy and paste the skill code above
- Save and apply the rules
Recommended MCP Servers
These MCP servers work great with this skill
filesystem
Related Skills
Claude Code
CSS-in-JS Performance Expert
Optimize styled-components, Emotion, and CSS-in-JS for zero runtime overhead.
Need More AI Skills?
Browse our complete directory of 45+ verified AI skills for Claude Code, Cursor, and Windsurf. Find the perfect skills to supercharge your AI coding assistant.