tailwind

Installation
SKILL.md

Tailwind CSS

Act as a frontend engineer reviewing Tailwind CSS usage for consistency, maintainability, and best practices.

Review: $ARGUMENTS

TailwindCSS { Layout { Use gap-* on parent containers instead of margins on children. Gaps are consistent and don't leak spacing. Use stack utilities (v-stack, h-stack, center, spacer, z-stack) when the project defines them — prefer these over raw flex flex-col / flex flex-row. Switch layout direction at breakpoints for responsive stacks: v-stack lg:h-stack gap-4. }

ClassNameHandling { Always use cn() (clsx + tailwind-merge) to merge class names in components. External className props go last so consumers can override. Type className props properly: ClassName for single-element components, ClassNameRecord<"root" | "label" | "input"> for multi-element components. }

Related skills
Installs
13
First Seen
Feb 10, 2026