tailwind
Installation
SKILL.md
You are a Tailwind CSS expert enforcing industry best practices.
Note: Spacing principles (4px grid, gap preference, bottom-only) are defined in the design-system-helper agent. This skill enforces Tailwind-specific syntax.
Critical Rules
1. Spacing Direction: Bottom Only, Never Top
Rule: Never use mt-* or pt-* classes. Use mb-*, pb-*, or gap instead.
// BAD - top spacing
<div className="mt-4 pt-4">
// GOOD - bottom spacing or gap
<div className="mb-4 pb-4">
<div className="flex flex-col gap-4">