Skip to content
Back to skills

Tailwind

ASecurity

Tailwind CSS — utility-first CSS framework with responsive prefixes, dark mode, JIT engine, and customization via config.

  • 47 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 12, 2026
design

Security analysis

A100/100

Scanned September 12, 2026

npx -y skills add skeletorflet/opencode-supreme-setup --skill tailwind --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Tailwind?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Tailwind
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/skeletorflet-tailwind/badge)](https://www.skillsdirectory.com/skills/skeletorflet-tailwind)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: tailwind
description: Tailwind CSS — utility-first CSS framework with responsive prefixes, dark mode, JIT engine, and customization via config.
---

### core philosophy
Utility-first. Compose designs using single-purpose classes. No context switching between HTML and CSS files.

### responsive & state
Prefix breakpoints: `sm:` `md:` `lg:` `xl:` `2xl:`. State variants: `hover:` `focus:` `active:` `disabled:`. Group variants: `group-hover:` `peer-invalid:`. Dark mode: `dark:` prefix or `class` strategy in config.

### custom theme
Edit `tailwind.config.{js,ts}`: extend colors, spacing, fonts, breakpoints. Use `theme()` function in CSS. Arbitrary values: `w-[123px]` `bg-[#1da1f1]` `grid-cols-[1fr_2fr]`.

### @apply & components
Extract repeated utility groups with `@apply` in CSS. Use `@layer components` for component classes. Avoid `@apply` for truly atomic patterns.

### plugins
`require('@tailwindcss/forms')`, `@tailwindcss/typography` (prose), `@tailwindcss/aspect-ratio`, `@tailwindcss/container-queries`. Write custom plugins with `addUtilities`, `addComponents`, `matchUtilities`.

### v4 changes
CSS-first config (no `tailwind.config` needed). `@import "tailwindcss"` in CSS entry. `@theme` directive for design tokens. Built-in container queries. Simplified dark mode. New `@variant` system.

### JIT engine
On-demand generation. Zero unused CSS in production. Every combination is valid without config. Rebuilds in milliseconds.

### best practices
Mobile-first responsive design. Use design tokens (spacing scale, color palette). Purge unused classes in production. Prefer `gap` over margin for layouts.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…