Skip to content
TrustedSkillsbeta
Back to all skills

Tailwind Refactor

Listed
pproenca·vlatest·frontend·MIT

Helps with Tailwind CSS, refactoring as part of building frontend UIs and user experiences workflows.

Install on your platform

Showing Claude Code. One command installs this skill into any of the agents below.

  1. 1

    Run this in your project

    terminal
    $ npx skills add pproenca/dot-skills --skill tailwind-refactor -a claude-code
  2. Uses the open-source skills CLI and needs Node.js. Add -g to install it for your user instead of this project.

What we know about this skill

Publisher

pproenca

Taken from the source listing. We haven't verified who controls this account.

Install target

Live repository

Not pinned. Installing fetches whatever the repository holds at the time you run the command.

Nobody has reviewed this code. TrustedSkills indexes and links skills; it does not audit, run or scan them. A skill runs with whatever access you give your agent — read the source before you install it.

Automated safety checks

scanned

We could not read this skill's source, so none of the checks below were run.

Not scanned. none of the 171 skills in the repository match this slug — it was most likely renamed or removed upstream after the registry indexed it Source recorded as pproenca/dot-skills.
This is a static scan, not a review. It reads the skill's files; it does not run them, and it cannot tell you whether the skill is any good or whether the code does what its description says. A skill runs with whatever access you give your agent.
What each check looks for →

About this skill

What it does

This skill assists in refactoring Tailwind CSS applications, specifically targeting migration from version 3 to version 4. It provides a comprehensive guide containing 50 rules across eight categories, prioritizing changes based on urgency. The focus is on improving code quality, modernizing syntax, and ensuring v4 compatibility while preserving the existing look and feel of the application.

When to use it

  • During migration projects from Tailwind CSS v3 to v4.
  • To clean up deprecated or renamed utility classes within a project.
  • When consolidating verbose multi-class patterns in your code.
  • For replacing arbitrary values with design tokens.
  • To reduce overuse of the @apply directive in CSS files.

Key capabilities

  • Provides 50 refactoring rules categorized by priority (Critical, High, Medium-High, Medium, Low-Medium).
  • Offers guidance on configuration migration tasks like replacing directives and updating PostCSS plugins.
  • Covers replacement of deprecated utility classes with their modern equivalents.
  • Addresses renamed utilities and updates scale values for shadow, blur, and rounded corners.
  • Focuses on syntax modernization to align with v4 conventions.

Example prompts

  • "Refactor this Tailwind CSS code according to the guidelines for migrating from version 3 to version 4."
  • "Help me clean up deprecated utility classes in my project."
  • "Suggest improvements for consolidating these verbose multi-class patterns."

Tips & gotchas

  • Before using this skill, run npx @tailwindcss/upgrade as it handles many automated configuration and renaming changes.
  • This skill is primarily focused on code refactoring; it does not handle visual design improvements (consider the companion skill tailwind-ui-refactor).
  • The rules are prioritized by migration urgency – start with the "Critical" categories first.