Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By ofershapv0.1.0MIT
Keeps AI-generated Tailwind code on v4 syntax instead of v3 patterns. Includes an /audit command that scans a project for v3 anti-patterns and rates their severity.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Stop your AI agent from generating Tailwind CSS v3 code. 12 rules for Tailwind v4 syntax, CSS-first config with @theme, modern utility patterns, and the anti-patterns every agent produces.
AI coding assistants (Cursor, Claude Code, Copilot, Codex) are trained on Tailwind v3 data. They generate
tailwind.config.js,@tailwinddirectives,bg-opacity-50, and other patterns that don't exist in Tailwind CSS v4. This plugin fixes that.
npx skills add ofershap/tailwind-best-practices
Or copy skills/ into your .cursor/skills/ or .claude/skills/ directory.
| Type | Name | Description |
|---|---|---|
| Skill | tailwind-best-practices | 12 rules covering @import, @theme, opacity, gradients, container queries, @utility, and more |
| Rule | best-practices | Always-on behavioral rule that enforces v4 patterns on every file |
| Command | /audit | Scan your codebase for Tailwind v3 anti-patterns |
AI agents consistently produce these outdated Tailwind patterns:
| What the agent writes | What v4 actually uses |
|---|---|
tailwind.config.js with JS objects | CSS-first @theme { } in your stylesheet |
@tailwind base; @tailwind components; | @import "tailwindcss"; |
bg-opacity-50, text-opacity-25 | bg-red-500/50, text-white/80 |
bg-gradient-to-r | bg-linear-to-r, bg-linear-45 |
!flex, !bg-red-500 | flex!, bg-red-500! |
bg-[--brand-color] | bg-(--brand-color) |
grid-cols-[max-content,auto] | grid-cols-[max-content_auto] |
If this helped your workflow, a star helps others find it.
MIT
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Generated from the plugin's indexed repository (ofershap/tailwind-best-practices) — no native marketplace selected
npx claudepluginhub p/ofershap-tailwind-best-practicesPlugins from other owners that cover similar ground