Loading...
Loading...
Audit and fix Tailwind CSS v4 anti-patterns. Use when reviewing or writing Tailwind classes, fixing spacing issues, or enforcing CSS best practices.
npx skill4agent add tartinerlabs/skills tailwindrules/| Rule | Impact | File |
|---|---|---|
| Spacing direction | HIGH | |
| Equal dimensions | HIGH | |
| 8px grid | HIGH | |
| Mobile-first responsive | MEDIUM | |
| Logical shorthands | MEDIUM | |
| GPU-accelerated animations | MEDIUM | |
rules/mt-*pt-*h-X w-Xp-1gap-3m-5transition-all## Tailwind CSS Audit Results
### HIGH Severity
- `src/components/Card.tsx:15` - `mt-4` → use `mb-4` or `gap` on parent
- `src/components/Avatar.tsx:12` - `h-10 w-10` → `size-10`
### MEDIUM Severity
- `src/components/Button.tsx:8` - `p-3` (12px) → use `p-2` (8px) or `p-4` (16px)
### Summary
| Rule | Violations | Files |
|------|-----------|-------|
| Spacing direction | X | N |
| Equal dimensions | Y | N |
| **Total** | **Z** | **N** |