How to work effectively with Tailwind CSS, always use when styling frontend features
npx playbooks add skill markhamsquareventures/essentials --skill tailwind
corePlugins is not supported in Tailwind v4.dark:.@theme directive — no separate tailwind.config.js file is needed.<code-snippet name="Extending Theme in CSS" lang="css">
@theme {
--color-brand: oklch(0.72 0.11 178);
}
</code-snippet>
@import statement, not using the @tailwind directives used in v3:<code-snippet name="Tailwind v4 Import Tailwind Diff" lang="diff">
</code-snippet>
| Deprecated | Replacement |
|------------+--------------|
| bg-opacity-_ | bg-black/_ |
| text-opacity-_ | text-black/_ |
| border-opacity-_ | border-black/_ |
| divide-opacity-_ | divide-black/_ |
| ring-opacity-_ | ring-black/_ |
| placeholder-opacity-_ | placeholder-black/_ |
| flex-shrink-_ | shrink-_ |
| flex-grow-_ | grow-_ |
| overflow-ellipsis | text-ellipsis |
| decoration-slice | box-decoration-slice |
| decoration-clone | box-decoration-clone |
<code-snippet name="Valid Flex Gap Spacing Example" lang="html">
<div class="flex gap-8">
<div>Superior</div>
<div>Michigan</div>
<div>Erie</div>
</div>
</code-snippet>
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.