Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Tailwind CSS cleanup and v4 migration v1.0.0

Use this resource to clean up Tailwind classes and migrate a project from v3 to v4 without changing the rendering

New

  • 367 downloads
  • 244 likes
  • 121 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install tailwind-css-refactoring

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent rewrites Tailwind classes against 50 rules covering configuration, renamed utilities, arbitrary values, @apply and newer features. Every transformation keeps the visual output identical. You get shorter code that works with v4.

Mostly picked by

Updated November 2, 2026

Card for the “Tailwind CSS cleanup and v4 migration” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • references/: cards on configuration migration and replaced utilities
  • references/: cards on class consolidation and modern variants

Good fit for

  • Your project still uses Tailwind v3 with deprecated classes
  • Components repeat long lists of classes

Not for

    Tags

    • tailwind
    • css
    • migration
    • refactoring
    • v4

    About

    You say

    “Migrate this project to Tailwind v4 without changing the look, and remove the unneeded @apply rules.”

    Card for the “Tailwind CSS cleanup and v4 migration” skill

    Skill published by pproenca under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to clean up Tailwind classes and migrate a project from v3 to v4 without changing the rendering
    3. Review and adjust the result

    Content preview

    Files

    • assets/templates/_template.md0.7 KB
    • LICENSE1.1 KB
    • metadata.json1 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/_sections.md2.3 KB
    • references/adopt-container-queries.md1.2 KB
    • references/adopt-field-sizing.md1.7 KB
    • references/adopt-in-variant.md1.6 KB
    • references/adopt-not-variant.md1.7 KB
    • references/adopt-starting-variant.md1.2 KB
    • references/arb-breakpoint-to-theme.md1 KB
    • references/arb-dynamic-classes.md1.3 KB
    • references/arb-hex-to-theme.md1 KB
    • references/arb-spacing-to-scale.md1.4 KB
    • references/arb-zindex-to-scale.md1.6 KB
    • references/arch-apply-to-component.md1.5 KB
    • references/arch-domain-composition.md2 KB
    • references/arch-layer-to-utility.md1.6 KB
    • references/arch-safelist-to-source.md0.9 KB
    • references/arch-scoped-reference.md1.2 KB
    • references/class-border-color-explicit.md0.9 KB
    • references/class-container-utility.md1 KB
    • references/class-gap-over-space.md1.3 KB
    • references/class-hidden-priority.md1.3 KB
    • references/class-inset-shorthand.md1 KB
    • references/class-redundant-display.md1.8 KB
    • references/class-ring-color-explicit.md1.1 KB
    • references/class-size-utility.md0.9 KB
    • references/config-content-autodetect.md1.1 KB
    • references/config-css-theme.md1.3 KB
    • references/config-custom-variant.md1.2 KB
    • references/config-import-directive.md0.9 KB
    • references/config-postcss-plugin.md1 KB
    • references/config-preflight-defaults.md2 KB
    • references/config-theme-function.md1.1 KB
    • references/config-theme-inline.md1.4 KB
    • references/config-utility-directive.md0.9 KB
    • references/dep-decoration-utilities.md1.1 KB
    • references/dep-flex-shorthand.md1 KB
    • references/dep-opacity-modifiers.md1.4 KB
    • references/dep-text-ellipsis.md1.2 KB
    • references/dep-transform-composites.md1.3 KB
    • references/dep-transition-properties.md1.4 KB
    • references/rename-blur-scale.md1.1 KB
    • references/rename-gradient-utilities.md0.9 KB
    • references/rename-outline-hidden.md1 KB
    • references/rename-ring-width.md0.9 KB
    • references/rename-rounded-scale.md0.9 KB
    • references/rename-shadow-scale.md1.2 KB
    • references/syntax-css-variable-parens.md1 KB
    • references/syntax-gradient-preservation.md1.1 KB
    • references/syntax-grid-arbitrary.md0.9 KB
    • references/syntax-hover-media-query.md1.6 KB
    • references/syntax-important-modifier.md0.8 KB
    • references/syntax-variant-stacking.md0.8 KB
    • SKILL.md8.6 KB

    Origin and licence

    Listed unmodified

    Author
    pproenca
    Source
    github.com/pproenca/dot-skills/tree/cf93c57cac89d6fc3e4194686000411567f5caf3/skills/.experimental/tailwind-refactor
    Licence
    MIT

    Notice

    « tailwind-refactor » (pproenca, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.