tailwind-errors-dynamic-classes

Installation
SKILL.md

Tailwind Dynamic Class Names : The #1 Reported Issue

If a class only exists in source code as a fragment (bg-${color}-500, text-{{variant}}-600, server JSON, CMS attributes), Tailwind never generates the CSS rule. The DOM gets the class attribute, the stylesheet does not get the rule, the element renders unstyled.

Companion skills :

  • tailwind-impl-config-v4 : @source inline directive in depth
  • tailwind-impl-config-v3 : v3 safelist configuration
  • tailwind-errors-purge-issues : adjacent purge-detection failures
  • tailwind-core-design-system : prop-to-class mapping pattern

The Rule

Tailwind treats all source files as plain text and does NOT parse them as code. A class must exist as a literal complete token in some scanned file to be generated.

Installs
3
First Seen
Aug 7, 2026
tailwind-errors-dynamic-classes — impertio-studio/tailwindcss-claude-skill-package