Index of every page on this site: llms.txt
All skills
pymodel avatar

/tailwind

@85f6b47
Run it yourself

Tailwind CSS v4 styling and configuration.

Use this Skill: https://skilld.dev/gh/pymodel/react-frontend-skills/tailwind

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈13 tokens for metadata: the name and description. ≈1.5k when used: this file. ≈14k more on demand in 42 files.

How this Skill uses context

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈53 characters, or 0.7%.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Tailwind Labs Tailwind CSS v4 Best Practices

Comprehensive performance optimization guide for Tailwind CSS v4 applications, maintained by Tailwind Labs. Contains 42 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation. Current: Tailwind CSS 4.3.5.

When to Apply

Reference these guidelines when:

  • Configuring Tailwind CSS v4 build tooling (Vite plugin, PostCSS, CLI)
  • Writing styles with v4's CSS-first approach
  • Optimizing CSS bundle size and build performance
  • Implementing responsive designs with breakpoints or container queries
  • Setting up theming with @theme directive and design tokens

Rule Categories by Priority

Priority Category Impact Prefix
1 Build Configuration CRITICAL build-
2 CSS Generation CRITICAL gen-
3 Bundle Optimization HIGH bundle-
4 Utility Patterns HIGH util-
5 Component Architecture MEDIUM-HIGH comp-
6 Theming & Design Tokens MEDIUM theme-
7 Responsive & Adaptive MEDIUM resp-
8 Animation & Transitions LOW-MEDIUM anim-

Quick Reference

1. Build Configuration (CRITICAL)

2. CSS Generation (CRITICAL)

3. Bundle Optimization (HIGH)

4. Utility Patterns (HIGH)

5. Component Architecture (MEDIUM-HIGH)

6. Theming & Design Tokens (MEDIUM)

7. Responsive & Adaptive (MEDIUM)

8. Animation & Transitions (LOW-MEDIUM)

How to Use

Run in the project root first:

npx -y @pymodel/react-frontend-skills detect  # installed vs. targeted versions

Read references/<rule-id>.md for each rule above that matches the task: why it matters, then incorrect vs. correct code.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning10d3 checks · Risk SAFE
  • Gen Agent Trust Hub11d

    This skill provides a comprehensive guide for Tailwind CSS v4 best practices. It includes instructions for using vendor-provided detection tools and standard Tailwind CLI commands. No security risks or malicious patterns were detected.

  • Socket10d

    No alerts

  • Snyk11d

    Risk: MEDIUM · 1 issue

Signed by skilld at 85f6b47. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last week.

Activeupdated 2 weeks ago

README badge

README badge for pymodel/react-frontend-skills/tailwind