plugins/smedjen/skills/tailwind-v4/SKILL.md
Tailwind CSS v4 — migration from v3, CSS-first theme configuration, custom utilities, dark mode strategies, container queries, and responsive design. Covers @theme, @utility, @variant, @apply usage, and PostCSS integration.
npx skillsauth add hjemmesidekongen/ai tailwind-v4Install 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.
Tailwind v4 replaces the JS config file with CSS-first configuration. Theme, utilities, and variants all live in CSS.
tailwind.config.js — theme defined in CSS via @theme@tailwind directives — replaced by @import "tailwindcss"@utility / @variant replace plugin APIs; container queries built-inDefine tokens in @theme — Tailwind generates CSS variables and utility classes from them. Override defaults by redefining the same variable; remove them with --color-*: initial.
@import "tailwindcss" — not three @tailwind directives@theme {} block in the root CSS file@utility for custom utilities — integrates with all variants automatically@apply is acceptable for base element resets; avoid for component composition@container on parent, @cq-sm: variants on childrenSee references/process.md for v3→v4 migration, @theme tokens, variant patterns, and anti-patterns.
development
Creates a brand from scratch through market research and interactive sparring. Runs competitive research via Perplexity, then guides the user through positioning, audience, voice, values, and content pillars. Produces the full brand guideline set at .ai/brand/{name}/. Use when building a new brand, defining brand strategy for a product, or when /våbenskjold:create is invoked.
testing
Loads brand guidelines from .ai/brand/{name}/ and makes them available to the current context. Progressive disclosure: L1 confirms brand exists, L2 loads summary, L3 loads specific files on demand. Use when a downstream skill or user needs brand context, or when /våbenskjold:apply is invoked.
documentation
Guided reinvention of an existing brand guideline. Loads current brand from .ai/brand/{name}/, identifies what to keep vs change, and walks the user through targeted evolution. Preserves brand equity while updating positioning, voice, or values. Use when refreshing a brand or when /våbenskjold:evolve is invoked.
development
Codifies an existing brand from materials, samples, and references. Analyzes provided content to extract voice patterns, values, and positioning. Produces the same guideline format as brand-strategy. Use when a brand already exists but isn't documented, or when /våbenskjold:audit is invoked.