agentsclimarketplace

Tailwindcss v4

Skill goharabbas321/zeoel-framework/.agents/skills/zeoel/skills/tailwindcss-v4

23-agent AI development team for Claude Code, Cursor, and Gemini CLI. Multi-agent orchestration framework with strict TDD, sprint planning, 420+ skills, and automated QA/security/SEO audits. Stop vibe-coding — start shipping production-grade software.

Install
npx -y skills add goharabbas321/zeoel-framework --skill tailwindcss-v4

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Tailwind CSS v4 patterns with CSS-first configuration, new engine architecture, container queries, and modern utility patterns. Use for all Tailwind-based styling.

SKILL.md

2.9 KB, 798 tokens by cl100k_base, as published. Nobody here has run it

Tailwind CSS v4 Patterns

Overview

Tailwind CSS v4 introduces a fundamentally new architecture with CSS-first configuration, a new high-performance engine (Oxide), and native support for modern CSS features. This skill covers v4-specific patterns and migration from v3.

When to Use

  • Building or styling any frontend with Tailwind CSS
  • Migrating from Tailwind v3 to v4
  • Setting up design tokens with CSS custom properties
  • Using container queries, @starting-style, or cascade layers

Key Changes in v4

CSS-First Configuration

/* app.css — No more tailwind.config.js */
@import "tailwindcss";

@theme {
  --color-primary: oklch(0.6 0.2 260);
  --color-secondary: oklch(0.7 0.15 180);
  --font-display: "Inter", sans-serif;
  --breakpoint-3xl: 1920px;
}

Design Tokens via @theme

@theme {
  /* Spacing scale */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;

  /* Colors using OKLCH for perceptual uniformity */
  --color-brand-50: oklch(0.97 0.01 260);
  --color-brand-500: oklch(0.6 0.2 260);
  --color-brand-900: oklch(0.25 0.1 260);

  /* Typography */
  --font-sans: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --text-base: 1rem;
  --leading-normal: 1.5;
}

Container Queries (Native)

<div class="@container">
  <div class="flex flex-col @md:flex-row @lg:grid @lg:grid-cols-3">
    <!-- Responsive to container, not viewport -->
  </div>
</div>

Composable Variants

<div class="group-hover:not-disabled:opacity-100">
  <!-- Chainable variant composition -->
</div>

Guidelines

  1. Always use @theme for design tokens — never hardcode colors or spacing
  2. Use OKLCH color space for perceptually uniform color palettes
  3. Prefer @container over media queries for component-level responsiveness
  4. Use CSS-first config — avoid JavaScript config files in v4
  5. Leverage cascade layers for third-party style integration
  6. Use @source directive to explicitly include content paths

Anti-Patterns

  • ❌ Using tailwind.config.js in v4 (use @theme in CSS instead)
  • ❌ Hardcoding hex/rgb colors (use OKLCH for consistency)
  • ❌ Over-nesting @apply rules (defeats utility-first purpose)
  • ❌ Using viewport-based breakpoints when container queries are more appropriate
  • ❌ Ignoring the new @variant directive for custom variants

Migration from v3

# Automatic migration
npx @tailwindcss/upgrade

Key changes to watch:

  • tailwind.config.js@theme in CSS
  • @tailwind base/components/utilities@import "tailwindcss"
  • Custom plugins → CSS @plugin directive
  • theme.extend@theme with -- prefixed tokens

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.