tailwind-refactor
CommunityModernize Tailwind CSS code for v4.
Authorpproenca
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill streamlines the process of refactoring Tailwind CSS code, ensuring compatibility with v4 and eliminating outdated patterns and verbose syntax without altering the visual output.
Core Features & Use Cases
- v4 Migration: Guides users through updating their Tailwind CSS codebase to the latest v4 conventions.
- Anti-Pattern Cleanup: Identifies and rectifies common Tailwind CSS anti-patterns, such as overuse of
@applyor arbitrary values. - Code Modernization: Replaces deprecated utilities and syntax with modern, efficient alternatives.
- Use Case: Refactor a large React project's CSS to adopt Tailwind v4's new syntax, consolidate redundant classes, and replace deprecated utilities, ensuring a cleaner and more maintainable codebase.
Quick Start
Apply the tailwind-refactor skill to clean up all Tailwind CSS classes in the project's main CSS file.
Dependency Matrix
Required Modules
None requiredComponents
referencesassets
💻 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: tailwind-refactor Download link: https://github.com/pproenca/dot-skills/archive/main.zip#tailwind-refactor 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 471,000+ vetted skills library on demand.