tailwindcss

tailwindcss is a skill for Claude Code from MadAppGang/claude-code. It costs 64 tokens per session (3,514 once invoked), scanned A, original, MIT.

A guide to Tailwind CSS v4, a styling system that lets you compose designs from utility classes and CSS rules. It covers CSS-first configuration, design tokens, dark mode, container queries, and Vite integration.

In plain words
What is it for?
Use it to configure Tailwind, define reusable design values, add dark mode or responsive container styles, and integrate it with Vite.
Why use it?
It explains the changes from Tailwind v3 and helps avoid configuration and browser-support mistakes when setting up modern styling.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is @source "../shared-components/**/*.tsx";.

Part of the dev plugin — 47 skills, 12 commands, 14 agents shipped together

Good fit Use it to configure Tailwind, define reusable design values, add dark mode or responsive container styles, and integrate it with Vite.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/MadAppGang/claude-code
agentmods
npx agentmods add skills/madappgang/claude-code/tailwindcss

Made for: Claude Code.

Or install dev, the plugin that ships this one along with the rest of its 47 skills, 12 commands, 14 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tailwindcss

README.md
[![agentmods](https://agentmods.dev/badge/skills/madappgang/claude-code/tailwindcss/github.svg)](https://agentmods.dev/skills/madappgang/claude-code/tailwindcss)
Your own site
<a href="https://agentmods.dev/skills/madappgang/claude-code/tailwindcss"><img src="https://agentmods.dev/badge/skills/madappgang/claude-code/tailwindcss/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tailwindcss

Your own site · 80×15
<a href="https://agentmods.dev/skills/madappgang/claude-code/tailwindcss"><img src="https://agentmods.dev/badge/skills/madappgang/claude-code/tailwindcss.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,514 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00064 $0.03514
Opus 5.5 $0.00026 $0.01406
Sonnet 5.5 $0.00013 $0.00703
Haiku 4.5 $0.00006 $0.00351

Measured 1mo ago against content hash c1269469eedd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tailwindcss scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/dev/skills/frontend/tailwindcss/SKILL.md · 588 lines

How it starts

The opening of the file, as written. The whole thing — 588 lines — stays where its author put it; the contents beside it link to each section on GitHub.

TailwindCSS v4 Patterns

Overview

TailwindCSS v4 introduces a CSS-first approach, eliminating the need for JavaScript configuration files. All customization happens directly in CSS using new directives.

Key Changes from v3 to v4

Feature v3 v4
Configuration tailwind.config.js CSS @theme directive
Content detection JS array @source directive
Plugin loading require() in JS @plugin directive
Custom variants JS API @custom-variant directive
Custom utilities JS API @utility directive

Browser Support

TailwindCSS v4 requires modern browsers:

  • Safari 16.4+
  • Chrome 111+
  • Firefox 128+

Important: No CSS preprocessors (Sass/Less) needed - Tailwind IS the preprocessor.


Documentation Index

Core Documentation

Topic URL Description
Installation https://tailwindcss.com/docs/installation Setup guides by framework
Using Vite https://tailwindcss.com/docs/installation/vite Vite integration (recommended)
Editor Setup https://tailwindcss.com/docs/editor-setup VS Code IntelliSense
Upgrade Guide https://tailwindcss.com/docs/upgrade-guide v3 to v4 migration
Browser Support https://tailwindcss.com/docs/browser-support Compatibility requirements

Configuration Reference

Directive URL Description
@theme https://tailwindcss.com/docs/theme Define design tokens
@source https://tailwindcss.com/docs/content-configuration Content detection
@import https://tailwindcss.com/docs/import Import Tailwind layers
@config https://tailwindcss.com/docs/configuration Legacy JS config

CSS Features

Feature URL Description
Dark Mode https://tailwindcss.com/docs/dark-mode Dark mode strategies
Responsive Design https://tailwindcss.com/docs/responsive-design Breakpoint utilities
Hover & Focus https://tailwindcss.com/docs/hover-focus-and-other-states State variants
Container Queries https://tailwindcss.com/docs/container-queries Component-responsive design

Read the full file on GitHub · 588 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 588 lines · 64 tokens per session scan A c1269469eedd

Subscribe to this mod's changes

tailwindcss is a skill published in the GitHub repository MadAppGang/claude-code (286 stars, last pushed 7mo ago), licensed MIT. It adds 64 tokens to every session and 3,514 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

anti-slop-design

Autonomous Principal Design Technologist. Cures vibe-coded software from AI frontend slop using curated token archetypes and 7-axis quality gating.

sickn33/agentic-awesome-skills · 34 tokens

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 52 tokens

frontend-ui-dark-ts

Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations. Use when creating dashboards, admin panels, or data-rich interfaces with a refined dark aesthetic.

microsoft/skills · 48 tokens

frontend-visual-qa

Audits rendered UI and specific task/object-link handoffs; excludes ordinary source citations alone. Audits already-rendered UI and Markdown/Obsidian image layout — web app, deck/slide, dashboard, design-system, or Electron/native app — via real-browser/native-app journeys and a Playwright sweep. Use after UI…

daymade/claude-code-skills · 125 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens