agentsclimarketplace

Tailwind

Skill MAHDTech/agent-skills/skills/tooling/tailwind

Make AI Agents great again!

Install
npx -y skills add MAHDTech/agent-skills --skill tailwind

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Use when writing Tailwind CSS utility classes, compiling Tailwind bundles, or configuring Tailwind CSS v4 CSS-first themes and variables.

SKILL.md

1.7 KB, 376 tokens by cl100k_base, as published. Nobody here has run it

Tailwind CSS v4

Guidelines for compiling stylesheet bundles and styling components using Tailwind CSS (utility-first styling framework). Consult the local Tailwind CSS v4 Docs for full reference.

Tailwind CSS v4 Key Rules

Tailwind CSS v4 introduces a completely redesigned compilation engine and configuration syntax:

  1. CSS-First Configuration: Tailwind v4 abandons tailwind.config.js in favor of standard CSS syntax. Configure custom theme variables (colors, fonts, screens) inside @theme directive blocks directly in your CSS:

    @import "tailwindcss";
    
    @theme {
      --color-primary: #1e3a8a;
      --color-surface: #f3f4f6;
      --font-sans: "Inter", sans-serif;
    }
    
  2. Standard Imports: Use @import "tailwindcss"; at the top of your stylesheet instead of old directives like @tailwind base; @tailwind components; @tailwind utilities;.

Build & Compilation Commands

Use the Tailwind v4 CLI to compile utility classes:

  • Build once: tailwindcss -i <input.css> -o <output.css>
  • Watch mode: tailwindcss -i <input.css> -o <output.css> --watch
  • Minify output: tailwindcss -i <input.css> -o <output.css> --minify

Completion Criteria

The styling task is complete when:

  1. The output CSS stylesheet compiles successfully without CLI error logs.
  2. Custom theme variables are correctly defined under @theme and reflect properly on elements.
  3. Utility styles are purged correctly and yield a responsive, optimized output bundle.

Gives 1 of the 12 instructions most css styling skills give in 376 tokens

Counted across 586 of the 596 authors here whose files we hold, read 2026-08-06

  • avoid excessive centered layoutsin 55 of 586, across 12 files
  • bundle code into single HTML filein 54 of 586, across 14 files
  • Respect prefers-reduced-motion user settingsin 52 of 586, across 35 files
  • avoid purple gradientsin 51 of 586, across 11 files
  • avoid uniform rounded cornersin 51 of 586, across 11 files
  • avoid Inter fontin 51 of 586, across 11 files
  • edit generated files to develop artifactin 50 of 586, across 10 files
  • animate only transform and opacity propertiesin 43 of 586
  • Make touch targets at least 44x44 pixelsin 41 of 586, across 15 files
  • Ensure minimum color contrast of 4.5:1in 39 of 586, across 10 files
  • use tailwind csshere, and in 39 of 586, across 24 files
  • Use SVG icons instead of emojisin 38 of 586, across 11 files

Said here and by no other author read

  • configure theme variables inside @theme directive blocks
  • verify output stylesheet compiles without cli errors
  • verify custom theme variables reflect on elements
  • verify utility styles purge correctly

Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.