0xdarkmatter/claude-mods/tailwind-ops
Claude Code and agent skill by 0xdarkmatter/claude-mods
- community
Checking that the SKILL.md file is still in the repository.
Tailwind CSS utility and component patterns, v4 migration. Use for: tailwind, tailwindcss, utility classes, responsive design, dark mode, tailwind v4, tailwind config, tw, container queries, @apply, prose, typography, animation.
Install
npx vskill@latest install 0xdarkmatter/claude-mods/tailwind-opsSKILL.md
The same SKILL.md was published earlier as 0xdarkmatter/claude-mods/tailwind-ops.
Tailwind Operations
Comprehensive Tailwind CSS patterns covering layout, responsive design, components, dark mode, animations, and v4 migration.
Tailwind v4 ecosystem facts verified as of 2026-07.
Layout Decision Tree
Responsive Design Quick Reference
Breakpoints (Mobile-First)
| Prefix | Min Width | Typical Target | |
|---|---|---|---|
| _(none)_ | 0px | Mobile (default) | |
sm: | 640px | Large phones, landscape | |
md: | 768px | Tablets | |
lg: | 1024px | Small laptops | |
xl: | 1280px | Desktops | |
2xl: | 1536px | Large screens |
Mobile-first means: base styles apply to mobile, add breakpoint prefixes to override upward.
Container Queries
Fluid Typography with clamp()
Dark Mode Decision Tree
Dark Mode Patterns
Component Patterns Quick Reference
Copy-paste snippets for a card, button variants, a form input, navbar, modal overlay, badge and alert: Component Patterns Quick Reference, at the top of the component reference that goes deeper per component.
Tailwind v4 Quick Reference
Major Changes from v3
| Area | v3 | v4 | |
|---|---|---|---|
| Configuration | tailwind.config.js | CSS-first: @theme in CSS | |
| Theme values | JS theme.extend.colors | @theme { --color-brand: #3b82f6; } | |
| Plugins | JS plugin() function | @plugin "my-plugin" in CSS | |
| Config file | module.exports = {...} | @config "./legacy.config.js" (compat) | |
| PostCSS | tailwindcss package | @tailwindcss/postcss | |
| Vite | PostCSS plugin | @tailwindcss/vite (faster) | |
| Colors | Named scales (gray-50..950) | Same + OKLCH support | |
| Container queries | Plugin required | Native @container, @sm:, @md: | |
| Entry animations | JS needed | @starting-style (CSS native) |
On a site still building with Laravel Mix, move to Vite on Tailwind v3 first (frontend-upgrade-ops), then do v4 as its own change with its own visual diff.
v4 CSS-First Config
v4 New Utilities
Animation Patterns
Transition utilities, built-in animations (spin, pulse, ping, bounce), custom keyframes for v3 config and v4 @theme, and @starting-style entry animations: references/animation-patterns.md.
State Modifiers Quick Reference
| Modifier | Triggers On | Example | |
|---|---|---|---|
hover: | Mouse hover | hover:bg-blue-700 | |
focus: | Element focused (all focus) | focus:ring-2 | |
focus-visible: | Keyboard focus only | focus-visible:outline-2 | |
focus-within: | Child is focused | focus-within:ring-2 | |
active: | Being clicked/pressed | active:scale-95 | |
disabled: | disabled attribute | disabled:opacity-50 disabled:cursor-not-allowed | |
group-hover: | Parent .group hovered | group-hover:text-blue-600 | |
group-focus: | Parent .group focused | group-focus:ring-2 | |
peer-checked: | Sibling .peer checked | peer-checked:bg-blue-600 | |
peer-invalid: | Sibling .peer invalid | peer-invalid:text-red-500 | |
data-[state=open]: | Custom data attribute | data-[state=open]:rotate-180 | |
aria-expanded: | aria-expanded="true" | aria-expanded:bg-gray-100 | |
aria-selected: | aria-selected="true" | aria-selected:font-bold | |
open: | <details> or <dialog> open | open:bg-gray-50 | |
first: | First child | first:rounded-t-lg | |
last: | Last child | last:rounded-b-lg | |
odd: | Odd children | odd:bg-gray-50 | |
even: | Even children | even:bg-white | |
placeholder: | Placeholder text | placeholder:text-gray-400 | |
motion-reduce: | Prefers reduced motion | motion-reduce:transition-none | |
motion-safe: | No motion preference | motion-safe:animate-bounce | |
print: | Print media | print:hidden |
Group and Peer Patterns
Common Gotchas
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/tailwind-ops/SKILL.md
Popularity
- Repository stars
- 42
- Repository forks
- 7
- 7-day trend score
- 19
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/0xdarkmatter/claude-mods/tailwind-ops)