How to write clean, maintainable Tailwind CSS in Rails projects. Use when creating or modifying any .html.erb file, view, partial, layout, ViewComponent template, or stylesheet that involves Tailwind classes. Proactively apply these rules whenever touching .html.erb files, even if the user doesn't explicitly ask about styling — ERB files almost always contain Tailwind classes. Also use when the user mentions "tailwind", "css", "styling", "dark mode", "responsive", "design system", "colors", "spacing", "class soup", "@apply", or asks about making something look good, fixing layout, or working with the UI.
$npx -y skills add mattsears/rails-cto --skill rails-cto-tailwindInstalls into the current project.
Run `npx skills use "https://github.com/mattsears/rails-cto" --skill "mattsears/rails-cto/rails-cto-tailwind"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/mattsears/rails-cto" that are relevant to the current task. Run `npx skills add "https://github.com/mattsears/rails-cto"` and select the relevant skills, then follow their instructions.