css-to-tailwind

Community

Convert CSS to Tailwind utilities automatically.

Authorjieni777
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Migrating from vanilla CSS to Tailwind can be tedious and error-prone, requiring manual mapping of selectors to equivalent utilities and rechecking styling across breakpoints.

Core Features & Use Cases

  • Converts common CSS properties (padding, margin, colors, typography, and layout) into Tailwind classes
  • Preserves the original class structure to simplify refactoring and future maintenance
  • Handles responsive rules by translating media queries into Tailwind's responsive prefixes
  • Outputs a mapping report to verify equivalence and assist rollbacks

Quick Start

Run npx ai-css-to-tailwind styles.css to convert your CSS file into Tailwind utilities.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: css-to-tailwind
Download link: https://github.com/jieni777/opencode-config-backup/archive/main.zip#css-to-tailwind

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.