iulspop/aidd-skills

tailwind

Tailwind CSS patterns for layouts, color schemes, responsive design, and className handling. Use when writing or reviewing component styles.

First seen Feb 10, 2026

Installation

$ npx skills add iulspop/aidd-skills --skill tailwind

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from iulspop/aidd-skills · top by installs.

npx skills add iulspop/aidd-skills

Browse all from iulspop/aidd-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 1
Default branch main
Open issues 0
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,198 B
  • docs SUMMARY.md 156 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 15 installs

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. }

ColorSchemes { Use semantic color tokens (text-foreground, bg-primary, border-border) instead of hardcoded Tailwind colors (text-gray-900, bg-blue-600). Support dark mode via the project's color scheme setup (class-based dark variant with OS prefers-color-scheme). }

ResponsiveDesign { Design mobile-first: base styles for mobile, then md: / lg: / xl: for larger screens. Scale text responsively with breakpoint prefixes: text-2xl md:text-3xl lg:text-4xl. Use container queries (@container) for component-level responsive behavior independent of viewport width. }

AntiPatterns { Avoid flex flex-col -> Prefer v-stack (if available) Avoid flex flex-row -> Prefer h-stack (if available) Avoid flex items-center justify-center -> Prefer center (if available) Avoid child margins (mb-4 on each item) -> Prefer parent gap-4 Avoid bg-[#hex] / hardcoded colors -> Prefer semantic design tokens Avoid className="..." without cn() -> Prefer cn("...", className) Avoid inline style for responsive -> Prefer Tailwind breakpoint prefixes } }