tailwind-css-rules

Installation
SKILL.md

Tailwind CSS Rules and Best Practices

Core Principles

  • Always use Tailwind CSS v4.1+ - Ensure the codebase is using the latest version
  • Do not use deprecated or removed utilities - ALWAYS use the replacement
  • Never use @apply - Use CSS variables, the --spacing() function, or framework components instead
  • Check for redundant classes - Remove any classes that aren't necessary
  • Group elements logically to simplify responsive tweaks later

Upgrading to Tailwind CSS v4

Before Upgrading

Upgrade Process

Installs
15
Repository
langgenius/dify
GitHub Stars
147.9K
First Seen
May 11, 2026
tailwind-css-rules — langgenius/dify