tailwindcss-style
Ship beautiful sites fast with Tailwind CSS — responsive/state variants, safe dynamic class patterns, component extraction, and conventions for maintainable utility-first styling.
Best use case
tailwindcss-style is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Ship beautiful sites fast with Tailwind CSS — responsive/state variants, safe dynamic class patterns, component extraction, and conventions for maintainable utility-first styling.
Teams using tailwindcss-style should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/tailwindcss-style/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How tailwindcss-style Compares
| Feature / Agent | tailwindcss-style | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Ship beautiful sites fast with Tailwind CSS — responsive/state variants, safe dynamic class patterns, component extraction, and conventions for maintainable utility-first styling.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Tailwind CSS — Utility-First Styling Skill
## When to use
- Rapid prototyping and production styling
- Utility-first approach without writing custom CSS
- Consistent design systems with design tokens
- Responsive, state-driven UI with minimal CSS files
## Key concepts
- **Utility classes**: `text-lg`, `bg-blue-500`, `p-4`, `rounded-xl`
- **Responsive prefixes**: `sm:`, `md:`, `lg:`, `xl:`, `2xl:`
- **State variants**: `hover:`, `focus:`, `active:`, `disabled:`, `group-hover:`
- **Dark mode**: `dark:bg-gray-900`, `dark:text-white`
- **Arbitrary values**: `w-[320px]`, `text-[#bada55]`, `grid-cols-[1fr_2fr]`
## Best practices
1. **Don't fight Tailwind**: Use utilities, not `@apply` everywhere
2. **Extract components, not classes**: Create React/Vue components, not `@apply` blocks
3. **Safe dynamic classes**: Never concatenate class names dynamically — use full class strings
4. **Consistent spacing**: Use the default scale (4, 8, 12, 16...) for rhythm
5. **Responsive mobile-first**: Start with base, add `md:` and `lg:` overrides
## Common patterns
```html
<!-- Responsive card -->
<div class="rounded-xl bg-white p-6 shadow-lg dark:bg-gray-800
sm:flex sm:items-center sm:gap-6">
<img class="h-24 w-24 rounded-full object-cover" src="..." alt="..." />
<div class="mt-4 sm:mt-0">
<h3 class="text-lg font-semibold text-gray-900 dark:text-white">Title</h3>
<p class="text-sm text-gray-500 dark:text-gray-400">Description</p>
</div>
</div>
```
## Pitfalls
- Dynamically building class names (`bg-${color}-500`) → purged by build tool
- Overusing `@apply` → defeats purpose of utility-first
- Not configuring `content` paths → classes not generated
## Tips for AI Agents
- Always use full class strings, never string interpolation for colors.
- Ask about Tailwind version (v3 vs v4) — configuration differs significantly.
- Default to mobile-first responsive design.Related Skills
youtube-growth
Act as an expert YouTube Strategy Consultant. Apply the Creator Unlock N.I.C.E.R. Framework for conducting channel audits, niche validation, and data-backed video ideation/thumbnail generation.
xyops-automate
Build and manage automation pipelines using xyOps at {{XYOPS_HOST}}:{{XYOPS_PORT}}.
xml-parse
Parse and transform XML/HTML documents using command-line tools in the shared volume at {{SHARED_VOLUME}}.
woodpecker-ci
Lightweight container-native CI/CD with Woodpecker
whisper-transcribe
Transcribe audio and video files to text using the Whisper speech-to-text API at {{WHISPER_HOST}}:{{WHISPER_PORT}}.
web-interface-guidelines
Checklist for reviewing UI code for compliance with comprehensive web interface, accessibility, performance, and content guidelines — based on Vercel's Web Interface Guidelines.
web-design-reviewer
Inspect web interfaces for layout, responsive, accessibility, and visual issues, then apply targeted source code fixes and re-verify results.
weaviate-search
Perform hybrid vector and keyword search using Weaviate at {{WEAVIATE_HOST}}:{{WEAVIATE_PORT}}.
watchtower-update
Auto-update Docker containers using Watchtower.
vaultwarden-manage
Self-hosted password management with Vaultwarden
vault-secrets
Secrets management with HashiCorp Vault
vantajs-background
Add animated WebGL background effects with Vanta.js — setup, parameters, resizing, performance considerations, and integration patterns in React/Next.js.