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

Related skills

More from langgenius/dify

Installs
5
Repository
langgenius/dify
GitHub Stars
141.2K
First Seen
2 days ago