技能潮 SkillTide 提交收录
官方说明3 个来源MCP 服务3 天前
tailwind-best-practices

tailwind-best-practices

Tailwind CSS v4 patterns — stop agents from generating v3 code
在 GitHub 查看 ↗直链 · 无中转页
来源明细
收录自 ccplugins/awesome-claude-code-plugins 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-10-14 · 最近见到 2026-10-16 · 共见到 4 次 · 被 3 个来源列出
评分构成
综合分 303 · 3 个来源 · mcp
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
我们收录于 2026-10-14;最近见到 2026-10-16。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

Tailwind CSS Best Practices

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

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, @tailwind directives, bg-opacity-50, and other patterns that
> don't exist in Tailwind CSS v4. This plugin fixes that.
Install
Cursor / Claude Code / Windsurf
Or copy skills/ into your .cursor/skills/ or .claude/skills/ directory.
What's Included
| 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 |
What Agents Get Wrong
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] |
Related Plugins
- shadcn-best-practices - shadcn/ui component
patterns, forms, theming
- typescript-best-practices - TypeScript
5.x strict patterns
- sveltekit-best-practices - Svelte 5 runes
来源
awesome · https://github.com/ofershap/tailwind-best-practices
按领域浏览
MCP 服务
收录于
昨天

更多MCP 服务

查看MCP 服务全部 5,525 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引