tailwind

tailwind is a skill for Claude Code from iwritec0de/app-dev. It costs 149 tokens per session (3,071 once invoked), scanned A, original, MIT.

A guide to Tailwind CSS, a styling system that applies small utility classes directly to HTML or React components. It covers responsive layouts, dark mode, reusable components, and project setup.

In plain words
What is it for?
Use it when styling React or Next.js interfaces, including mobile-first layouts, conditional classes, dark themes, and design-system colors.
Why use it?
It helps keep component styling consistent while avoiding conflicting classes, duplicated theme layouts, and hard-to-maintain CSS abstractions.

Skill for Claude Code

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

Part of the app-dev plugin — 17 skills, 11 commands, 4 agents, 3 hooks shipped together

Good fit Use it when styling React or Next.js interfaces, including mobile-first layouts, conditional classes, dark themes, and design-system colors.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/iwritec0de/app-dev/tailwind
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add iwritec0de/app-dev --skill tailwind
Clone the repo
git clone --depth 1 https://github.com/iwritec0de/app-dev

Made for: Claude Code.

Or install app-dev, the plugin that ships this one along with the rest of its 17 skills, 11 commands, 4 agents, 3 hooks.

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 tailwind

README.md
[![agentmods](https://agentmods.dev/badge/skills/iwritec0de/app-dev/tailwind/github.svg)](https://agentmods.dev/skills/iwritec0de/app-dev/tailwind)
Your own site
<a href="https://agentmods.dev/skills/iwritec0de/app-dev/tailwind"><img src="https://agentmods.dev/badge/skills/iwritec0de/app-dev/tailwind/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 tailwind

Your own site · 80×15
<a href="https://agentmods.dev/skills/iwritec0de/app-dev/tailwind"><img src="https://agentmods.dev/badge/skills/iwritec0de/app-dev/tailwind.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 149 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,071 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.00149 $0.03071
Opus 5.5 $0.00060 $0.01228
Sonnet 5.5 $0.00030 $0.00614
Haiku 4.5 $0.00015 $0.00307

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

Security

Grade A, and why

tailwind 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 2mo 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.

skills/tailwind/SKILL.md · 415 lines

How it starts

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

Tailwind CSS

Tailwind CSS utility-first patterns for React and Next.js applications.

Critical Rules

  1. Utility-first — compose styles from utility classes directly in markup; extract components, not CSS classes
  2. Never use @apply to build component classes — extract a React component instead; @apply defeats the purpose of utility-first and creates abstraction layers that are harder to maintain
  3. Use the cn() helper for conditional classes — combine clsx + tailwind-merge to handle conflicts and conditionals cleanly
  4. Mobile-first responsive — unprefixed utilities target mobile; use sm:, md:, lg:, xl:, 2xl: for larger screens
  5. Semantic color tokens — use design-system colors (bg-primary, text-muted-foreground) rather than raw scales (bg-blue-500) when a design system is in place
  6. Dark mode via dark: variant — pair light and dark utilities on the same element; never maintain separate component trees for themes

Setup with Next.js

Tailwind v4 (CSS-first configuration)

npm install tailwindcss @tailwindcss/postcss
/* app/globals.css */
@import "tailwindcss";
// postcss.config.ts
export default {
  plugins: {
    "@tailwindcss/postcss": {},
  },
};

Tailwind v4 uses CSS for configuration instead of tailwind.config.js. Define custom values with @theme:

/* app/globals.css */
@import "tailwindcss";

@theme {
  --color-primary: #2563eb;
  --color-primary-foreground: #ffffff;
  --color-muted: #f1f5f9;
  --color-muted-foreground: #64748b;
  --color-destructive: #ef4444;

  --font-sans: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --radius-lg: 0.75rem;
  --radius-md: 0.5rem;
  --radius-sm: 0.25rem;
}

These become utilities automatically: bg-primary, text-muted-foreground, font-sans, rounded-lg.

Tailwind v3 (JS configuration)

// tailwind.config.ts
import type { Config } from "tailwindcss";

const config: Config = {
  content: ["./app/**/*.{ts,tsx}", "./components/**/*.{ts,tsx}"],
  darkMode: "class",
  theme: {
    extend: {
      colors: {
        primary: { DEFAULT: "#2563eb", foreground: "#ffffff" },
        muted: { DEFAULT: "#f1f5f9", foreground: "#64748b" },
      },
    },
  },
};

export default config;

Read the full file on GitHub · 415 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago First seen · 415 lines · 149 tokens per session scan A c07b7d5a444c

Subscribe to this mod's changes

tailwind is a skill published in the GitHub repository iwritec0de/app-dev (3 stars, last pushed 7mo ago), licensed MIT. It adds 149 tokens to every session and 3,071 once invoked, about $0.0006 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-08-31.

Related

tailwind compared with skills from other repositories

tailwind next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tailwindiwritec0de/app-devSkill37mo agoMITA149Claude Code
shiny-bslib-themingposit-dev/skillsSkill5675d agoMITA87Claude Code
shiny-bslibposit-dev/skillsSkill5675d agoMITA107Claude Code
aceternity-uisecondsky/claude-skillsSkill25017d agoMITA48Claude Code
laravel-bladefusengine/agentsSkill341mo agoMITA30Claude Code
design-motionfusengine/agentsSkill341mo agoMITA29Claude Code
nextjs-shadcnfusengine/agentsSkill341mo agoMITA34Claude Code