Back to skills
SkillHub ClubShip Full StackFull StackFrontend

modern-tailwind

Build clean, scalable UIs with Tailwind CSS using modern utilities and variants

Packaged view

This page reorganizes the original catalog entry around fit, installability, and workflow context first. The original raw source lives below.

Stars
2
Hot score
79
Updated
March 19, 2026
Overall rating
C0.6
Composite score
0.6
Best-practice grade
B80.4

Install command

npx @skill-hub/cli install academind-ai-config-modern-tailwind

Repository

academind/ai-config

Skill path: skills/modern-tailwind

Build clean, scalable UIs with Tailwind CSS using modern utilities and variants

Open repository

Best for

Primary workflow: Ship Full Stack.

Technical facets: Full Stack, Frontend.

Target audience: everyone.

License: Unknown.

Original source

Catalog source: SkillHub Club.

Repository owner: academind.

This is still a mirrored public skill entry. Review the repository before installing into production workflows.

What it helps with

  • Install modern-tailwind into Claude Code, Codex CLI, Gemini CLI, or OpenCode workflows
  • Review https://github.com/academind/ai-config before adding modern-tailwind to shared team environments
  • Use modern-tailwind for development workflows

Works across

Claude CodeCodex CLIGemini CLIOpenCode

Favorites: 0.

Sub-skills: 0.

Aggregator: No.

Original source / Raw SKILL.md

---
name: modern-tailwind
description: Build clean, scalable UIs with Tailwind CSS using modern utilities and variants
---

# Tailwind CSS Best Practices

## Core Principles

- Prefer utility classes over custom CSS for most styling
- Keep class lists readable by grouping: layout → spacing → typography → color → effects
- Use semantic HTML first; utilities should enhance, not replace structure

## Variants & State

- Use `hover`, `focus-visible`, `disabled`, `dark`, and `motion-safe` variants where appropriate
- Prefer `data-*` and `aria-*` variants for stateful styling tied to DOM semantics
- Use `group` and `peer` for parent/sibling state without extra JS

## Responsive & Container Queries

- Start with the base styles, then add responsive variants (`sm`, `md`, `lg`, ...)
- Use container query utilities when layout depends on parent size

## Theming & Customization

- Extend the theme in `tailwind.config` instead of ad-hoc custom classes
- Use `@layer` for custom utilities/components when repetition is unavoidable
- Avoid `@apply` except for small, repeatable patterns

## Maintainability

- Extract reusable UI into components instead of repeating large class strings
- Keep class names deterministic; avoid dynamic string concatenation when possible
modern-tailwind | SkillHub