Grounds Tailwind utility suggestions in official documentation and the repo tailwind config. Fetches https://tailwindcss.com/docs when class names or behavior are uncertain. Use when writing or refactoring Tailwind classes, layout/spacing/color utilities, responsive variants, plugins (@tailwindcss/forms, etc.), or when the user mentions Tailwind, utility classes, or CSS in UI work.
web_fetch or the browser MCP and confirm before suggesting code.tailwind.config.ts / tailwind.config.js — this repo often overrides defaults (for example custom and extended colors).screenstheme.extend, theme overrides, plugins, darkMode, content paths.bg-[…], w-[…])md:, dark:, group-hover:, etc.)app/ and shared/ for naming and composition; use docs to validate the underlying utilities, not to introduce one-off invented tokens.gray-450) or non-existent utilities.theme.screens is customized.package.json if unsure.