Skip to content
Back to skills

Tailwind Patterns

ASecurity

Tailwind CSS v4 patterns for @theme config, v3-to-v4 changes, and variants. Load before any edit to a class list, stylesheet, or tailwind.config.*, however small, and for Tailwind questions.

  • 2 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added October 5, 2026
ai-agents

Works with

  • cli

Security analysis

A100/100

Scanned December 3, 2026

npx -y skills add ku5ic/claude-kit --skill tailwind-patterns --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Tailwind Patterns?

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

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

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-patterns
description: Tailwind CSS v4 patterns for @theme config, v3-to-v4 changes, and variants. Load before any edit to a class list, stylesheet, or tailwind.config.*, however small, and for Tailwind questions.
---

# Tailwind patterns

Default assumption: Tailwind CSS 4.3, per the Tailwind CSS changelog.

A row applies when the `tailwindcss` version in the project's `package.json` and lockfile is at least its version. 3.4 is tagged `v3-lts` on npm. Without a version to read:

- `@tailwindcss/postcss`, `@tailwindcss/vite`, or `@tailwindcss/cli` in `package.json`, or `@import "tailwindcss"` in CSS: v4.
- A `tailwind.config.js` or `.ts` and no v4 sign: v3, and only the rows below 4.0 apply.
- Both: mid-migration. Treat it as v4 and expect leftover v3 patterns.

## Reference files

Loading this skill isn't enough. Before your next edit, read the file of every row that matches it. The rules live in those files, and this one only points at them.

| Before                                                                                  | Read                                                     |
| --------------------------------------------------------------------------------------- | -------------------------------------------------------- |
| Writing a class list or stylesheet, or moving a project from v3 to v4                   | [reference/upgrades.md](reference/upgrades.md)           |
| Writing, changing, or reviewing a class list or stylesheet                              | [reference/anti-patterns.md](reference/anti-patterns.md) |
| Writing `@theme`, reading a theme value in CSS, or adding a variant or a plugin         | [reference/practices.md](reference/practices.md)         |
| Configuring Prettier, ESLint, or the editor extension for Tailwind, or the upgrade tool | [reference/tooling.md](reference/tooling.md)             |

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.