skills/skills.volces.com/css-to-tailwind

css-to-tailwind

SKILL.md

CSS to Tailwind Converter

Migrating to Tailwind means rewriting hundreds of CSS rules as utility classes. Nobody wants to do that by hand. This tool reads your CSS files and converts them to equivalent Tailwind classes. It handles the tedious conversion so you can focus on the tricky edge cases.

One command. Zero config. Just works.

Quick Start

npx ai-css-to-tailwind styles.css

What It Does

  • Reads CSS files and converts rules to Tailwind utility classes
  • Handles common properties like padding, margin, colors, typography, and flexbox
  • Preserves your class structure so you can map old classes to new utilities
  • Handles media queries by converting to Tailwind responsive prefixes
  • Outputs a mapping file showing old CSS to new Tailwind equivalents
Installs
6
First Seen
Mar 13, 2026