converting-css-modules-to-tailwind
CommunityMigrate CSS Modules to Tailwind fast.
Authorspencerpauly
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill removes the manual effort of translating CSS Modules into Tailwind utility classes, helping you modernize components without rewriting styling logic by hand.
Core Features & Use Cases
- Class Mapping: Converts each styles reference into an equivalent Tailwind class set.
- Pattern Handling: Covers conditional class names, composed classes, dynamic variants, and global overrides.
- SCSS Migration: Helps flatten nested selectors, variables, and mixins when moving from module-based styling to utility-first markup.
- Use Case: Update a React card component from Card.module.css to Tailwind while preserving layout, spacing, typography, and interactive states.
Quick Start
Ask the assistant to convert the attached component and its matching CSS Module into Tailwind classes, then remove the styles import and verify that the visual output still matches.
Dependency Matrix
Required Modules
None requiredComponents
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: converting-css-modules-to-tailwind Download link: https://github.com/spencerpauly/awesome-cursor-skills/archive/main.zip#converting-css-modules-to-tailwind Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.