plugins/tailwindcss/skills/tailwindcss-custom-styles/SKILL.md
--- name: tailwindcss-custom-styles description: @utility, @variant, @apply, custom CSS user-invocable: false --- # Custom Styles ## @utility - Create a utility ```css @utility glass-effect { backdrop-filter: blur(10px); background: rgba(255, 255, 255, 0.1); } /* Usage: class="glass-effect hover:glass-effect" */ ``` ## @variant - Conditional style ```css .card { background: white; @variant dark { background: #1a1a2e; } @variant hover { transform: scale(1.05); } } ``` ## @custom-var
npx skillsauth add fusengine/agents plugins/tailwindcss/skills/tailwindcss-custom-stylesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
@utility glass-effect {
backdrop-filter: blur(10px);
background: rgba(255, 255, 255, 0.1);
}
/* Usage: class="glass-effect hover:glass-effect" */
.card {
background: white;
@variant dark { background: #1a1a2e; }
@variant hover { transform: scale(1.05); }
}
@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; }
}
development
Use when optimizing entity-based / semantic SEO 2026. Covers entity maps, Google Knowledge Graph resolution, salience scoring, passage-level ranking, about/sameAs/knowsAbout schema, Cloud Natural Language API validation.
development
Use when running SEO, GEO, schema, Core Web Vitals, sitemap, hreflang, E-E-A-T, AI Overviews, technical SEO, or structured data tasks. Covers full-site audits, single-page analysis, schema markup, content quality, AI search optimization, local SEO, sitemap/robots, internal linking, semantic clustering, and search experience.
development
Use when optimizing search experience (SXO). Covers intent matching, user personas, user stories, page-type analysis, dwell time, scroll depth, pogo-sticking prevention.
development
Use when optimizing local SEO. Covers Google Business Profile, NAP consistency, citations, reviews acquisition, Local Pack ranking, location pages, LocalBusiness schema.