No slash command · from fuse-tailwindcss
Guides custom CSS authoring in Tailwind CSS v4.3 using @utility, @variant, @custom-variant, @apply, and @layer directives for utility classes, conditional styles, and CSS organization.
Ships in fuse-tailwindcss. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
@utility glass-effect {
backdrop-filter: blur(10px);
background: rgba(255, 255, 255, 0.1);
}
/* Usage: class="glass-effect hover:glass-effect" */
--default(…) inside --value(…) / --modifier(…) makes the bare utility work too.
@utility tab-* {
tab-size: --value(integer, --default(4));
}
/* class="tab" → tab-size: 4; class="tab-2" → tab-size: 2 */
.card {
background: white;
@variant dark { background: #1a1a2e; }
@variant hover { transform: scale(1.05); }
}
.button {
background: var(--color-sky-500);
/* Stacked: hover AND focus */
@variant hover:focus { background: var(--color-sky-600); }
/* Compound: same block for hover OR focus */
@variant hover, focus { color: white; }
}
@custom-variant theme-midnight (&:where([data-theme="midnight"] *));
/* Usage: theme-midnight:bg-black */
.btn-primary {
@apply bg-blue-500 text-white px-4 py-2 rounded-lg;
}
@layer components {
.card { @apply bg-white shadow-md rounded-xl p-4; }
}
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
tailwind-css, custom-utilities, css-variants, utility-classes
npx claudepluginhub fusengine/claude-plugins --plugin fuse-tailwindcss16 skills in this plugin
/tailwindcss-accessibilityUse when implementing keyboard-accessible components, screen-reader-only content, prefers-reduced-motion support, or WCAG 2.2 AA/AAA compliance./tailwindcss-backgroundsUse when styling background colors, building linear/radial/conic gradients, setting background images/position/size, or blend modes./tailwindcss-bordersUse when styling element borders, rounded corners, focus outlines/rings, or divide-* separators between children.Other plugins' skills for the same job