Frontend Tailwind CSS

Use when the user asks to configure Tailwind v4 theme tokens, @theme, migrating tailwind.config from v3, utility classes, responsive and dark variants, @apply, plugins or class sorting. Produces Tailwind setup and token configuration. Not for choosing a styling approach (use frontend-css-strategy) or token tiers in a component library (use frontend-design-system).

45 stars 6 forksFrontend & Design

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add j4flmao/agent-skills --skill frontend-tailwind-css
Manual install
git clone --depth 1 https://github.com/j4flmao/agent-skills.git /tmp/agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/agent-skills/skills/frontend/universal/tailwind-css ~/.claude/skills/frontend-tailwind-css

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Frontend Tailwind CSS

## Purpose
Generate production-ready Tailwind CSS code following utility-first principles with consistent design tokens and responsive patterns. Covers v3 (config-based) and v4 (`@theme`-based) workflows, plugin integration, JIT optimization, and component extraction patterns. Output is deterministic, tree-shakeable, and under 15KB gzipped for typical apps.

## Agent Protocol

### Trigger
Exact phrases: "use tailwind", "tailwind css", "utility classes", "add tailwind", "tailwind config", "custom theme", "design tokens", "responsive tailwind", "tailwind v4", "tailwind plugin", "tailwind dark mode", "tailwind components"

### Input Context
- Check for existing `tailwind.config.*` or `postcss.config.*` files
- Detect version: v3 uses `@tailwind` directives, v4 uses `@import "tailwindcss"`
- Verify whether a custom design system (colors, fonts, spacing) already exists
- Confirm framework (React, Vue, Astro, Next.js, etc.) for framework-specific setup
- Check for existing dark mode strategy (`class` vs `media`)
- Identify plugins already registered (`@tailwindcss/forms`, `@tailwindcss/typography`, etc.)

### Output Artifact
No file output unless requested.

### Response Format
1. Respond with raw Tailwind classes or config snippets first, explain only if asked
2. Use arbitrary values (`[#123]`, `[10px]`) sparingly -- prefer design tokens
3. When generating config, output the complete relevant section, not ellipses
Read the full skill on GitHub

Details

Skill name
frontend-tailwind-css
Path
skills/frontend/universal/tailwind-css/SKILL.md
License
MIT
Repo updated
17 November 2026

FAQ

What does the Frontend Tailwind CSS skill do?

Use when the user asks to configure Tailwind v4 theme tokens, @theme, migrating tailwind.config from v3, utility classes, responsive and dark variants, @apply, plugins or class sorting. Produces Tailwind setup and token configuration. Not for choosing a styling approach (use frontend-css-strategy) or token tiers in a component library (use frontend-design-system).

How do I install the Frontend Tailwind CSS skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add j4flmao/agent-skills --skill frontend-tailwind-css. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Frontend Tailwind CSS popular?

It lives in j4flmao/agent-skills, which has 45 GitHub stars and 6 forks.

Related skills

Agent Observability

45

j4flmao/agent-skills

Use when the user asks about agent observability, tracing agent reasoning, debugging an agent loop, OpenTelemetry GenAI spans for LLM calls, LLM cost tracking per agent, agent audit logs or hallucination/eval monitoring in production. Produces instrumentation config, trace schema, dashboards, alerts and cost attribution. Not for generic service tracing without LLMs (use devops-opentelemetry).

DevOps & Cloud

AI Agent Architectures

45

j4flmao/agent-skills

Use when the user asks to build an AI agent, design an agent that calls tools and keeps memory, write an agent system prompt or pick an agent framework (Claude Agent SDK, OpenAI Agents SDK, LangGraph). Produces an architecture brief covering loop, tools, memory, guardrails and evals, routing depth to child skills. Not for workflow patterns (use ai-agentic-workflows).

AI, LLMs & Agents

AI Agent Core Loop

45

j4flmao/agent-skills

Use when the user asks about the agent loop, ReAct vs plan-and-solve, re-planning, Reflexion, an agent stuck in a loop, max iterations or termination conditions. Produces a loop spec or patch with state, success predicate, caps and no-progress detection. Not for overall agent design (use ai-agent-architectures) or tool schemas (use tool-calling-principles).

AI, LLMs & Agents

Frontend Theming

45

j4flmao/agent-skills

Use when the user asks to set up dark mode with CSS variables, light/dark themes, prefers-color-scheme, a theme toggle without flash, color-scheme, light-dark() or multi-brand themes. Produces theme tokens as custom properties and a switching mechanism. Not for token tiers in a component library (use frontend-design-system).

Frontend & Design

Frontend Svelte Patterns

45

j4flmao/agent-skills

Use when the user asks about Svelte forms and bind:value, transitions and animate, use: actions or attachments, shared state in .svelte.ts modules or Svelte data-fetching patterns. Produces reusable Svelte 5 UI patterns. Not for SvelteKit load functions and form actions (use sveltekit) or rune basics (use frontend-svelte-architecture).

Frontend & Design

Frontend Vue Patterns

45

j4flmao/agent-skills

Use when the user asks about Vue composables, provide/inject, Vue reactivity pitfalls, custom directives, Vue Router guards and lazy routes, Pinia setup stores, renderless components or scoped slots. Produces reusable Vue 3 patterns. Not for overall Vue project structure (use vue-architecture).

Frontend & Design

Browse the most popular Claude skills, all frontend & design skills, or write your own with the skills generator.