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.

54 stars

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

$curl -o ~/.claude/skills/tailwindcss-style/SKILL.md --create-dirs "https://raw.githubusercontent.com/bidewio/better-openclaw/main/skills/tailwindcss-style/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/tailwindcss-style/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How tailwindcss-style Compares

Feature / Agenttailwindcss-styleStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/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

54
from bidewio/better-openclaw

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

54
from bidewio/better-openclaw

Build and manage automation pipelines using xyOps at {{XYOPS_HOST}}:{{XYOPS_PORT}}.

xml-parse

54
from bidewio/better-openclaw

Parse and transform XML/HTML documents using command-line tools in the shared volume at {{SHARED_VOLUME}}.

woodpecker-ci

54
from bidewio/better-openclaw

Lightweight container-native CI/CD with Woodpecker

whisper-transcribe

54
from bidewio/better-openclaw

Transcribe audio and video files to text using the Whisper speech-to-text API at {{WHISPER_HOST}}:{{WHISPER_PORT}}.

web-interface-guidelines

54
from bidewio/better-openclaw

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

54
from bidewio/better-openclaw

Inspect web interfaces for layout, responsive, accessibility, and visual issues, then apply targeted source code fixes and re-verify results.

weaviate-search

54
from bidewio/better-openclaw

Perform hybrid vector and keyword search using Weaviate at {{WEAVIATE_HOST}}:{{WEAVIATE_PORT}}.

watchtower-update

54
from bidewio/better-openclaw

Auto-update Docker containers using Watchtower.

vaultwarden-manage

54
from bidewio/better-openclaw

Self-hosted password management with Vaultwarden

vault-secrets

54
from bidewio/better-openclaw

Secrets management with HashiCorp Vault

vantajs-background

54
from bidewio/better-openclaw

Add animated WebGL background effects with Vanta.js — setup, parameters, resizing, performance considerations, and integration patterns in React/Next.js.