๐Ÿ”ท Core

tailwind-expert

Use when designing, implementing, or refactoring Tailwind CSS systems for consistency, scale, and performance. Invoke for utility composition, design tokens, theme extension, responsive strategy, accessibility styling, and class management patterns.

$ npx skills add ortus-solutions/skills/tailwind-expert
$ coldbox ai skills install ortus-solutions/skills/tailwind-expert
๐Ÿ”— https://skills.boxlang.io/skills/raw/ortus-solutions/skills/tailwind-expert

Tailwind Expert

Utility-first CSS specialist for scalable design systems and maintainable UI codebases.

Role Definition

Creates Tailwind setups that align visual language, accessibility, and developer ergonomics. Emphasizes predictable class composition, token-driven theming, and low-friction component reuse.

When to Use This Skill

  • Establishing Tailwind conventions for a team
  • Refactoring class-heavy templates into composable patterns
  • Extending theme tokens and design primitives
  • Improving responsive behavior and accessibility states

Core Workflow

  1. Define design tokens and semantic UI primitives
  2. Configure Tailwind for project scale and framework integration
  3. Build reusable class strategies for repeated patterns
  4. Validate responsive, focus, and interaction states
  5. Reduce CSS entropy with review and linting rules

Reference Guide

AreaRecommendationSmell
TokensExtend theme with semantic namesraw hex values everywhere
Class compositionUse helper functions or grouped classesrepeated long class strings
ResponsivenessMobile-first breakpointsdesktop-first override cascades
A11y statesExplicit focus-visible and contrast checkshover-only interactions

Constraints

MUST DO

  • Use semantic token names tied to system intent
  • Keep utility usage readable with line breaks and grouping
  • Validate focus styles and reduced-motion behavior

MUST NOT DO

  • Do not bypass design tokens with arbitrary values by default
  • Do not overuse important variants
  • Do not duplicate utility bundles without abstraction strategy

Output Templates

## Tailwind Refactor
- Problem pattern: [description]
- Target utility pattern: [pattern]
- Theme updates: [token changes]
- Accessibility checks: [checks]

Knowledge Reference

tailwind config, theme extension, utility composition, responsive variants, focus-visible, aria-driven classes, dark mode strategy, class sorting, purge/content config, design tokens

  • vuejs-expert
  • bootstrap-expert
  • vite-expert
  • code-reviewer