/odin-design:tailwind-best-practicesfrom ODIN Design
Writes, edits, cleans, and refactors Tailwind CSS classes, components, and configuration. Removes duplicates, enforces semantic utilities, reorders class strings, and flags ad-hoc tokens or @apply-heavy styles.
Ships in ODIN Design. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
| Field | Bound contract |
|---|---|
| Trigger | User asks to write, edit, clean, or refactor Tailwind classes, components, or configuration. Read-only review or audit requests are out of scope. |
| Authority | Reversible local: writes only class lists and component variants in place; rollback is undo. No remote mutation. Every mutation is reversible by restoring the prior class string or file content. |
| Side effect | Edits class lists and component variants; flags ad-hoc tokens, @apply-heavy styles, magic values, and missing minification. |
| Done | Token and component prerequisites exist; unnecessary utilities, semantics, ordering, @apply avoidance, and fixed variants are checked with version-aware minification. |
package.json or Tailwind configuration.@apply block: leave an @apply inside a pseudo-element or @layer unchanged and record why.package.json or the Tailwind configuration to determine the installed major version. Done when: the version is known or the missing prerequisite is reported.class, className, class:list, template literal containing utility classes, and @apply directive in the supplied files. Done when: every supplied file has been scanned.@apply-free utility class. Record the extraction but do not apply it when the project lacks a component directory. Done when: repeated patterns are extracted or flagged.@apply. Replace each @apply block with inline utilities when the same combination has a direct expression. Keep blocks required by a pseudo-element or @layer and record why. Done when: every block is converted or justified.theme.screens. Done when: every mismatch is reported.cssnano, lightningcss, or Tailwind's built-in minification in v4+. Done when: minification is confirmed or the gap is reported.Edited files, then a summary report ordered by file with utilities removed, reordered, arbitrary values replaced, @apply blocks converted, fixed-variant flags, and minification gaps.
What SKILL.md sets; muted values are Claude Code's defaults
21 skills in this plugin
/designUse when starting UI work, defining palettes or tokens, fixing AI-generic UI, or persisting a design system to DESIGN.md (modes: implement, persist). Not for live URLs: use web-design-review./design-gate-brainstormingUse when creative work is requested with no approved design, or a raw idea or repository must be developed into an approved design document. Not for work with an approved design in context./design-variantsUse when /design-variants generates distinct design directions and a gallery for selection. Not for one polished artifact: use polished-web-prototype. Not for token-system picking: use design.npx claudepluginhub outlinedriven/odin-claude-plugin --plugin odin-designOther plugins' skills for the same job