tailwind-to-cva

Installation
SKILL.md

tailwind-to-cva

A skill for migrating large React + TypeScript + Tailwind codebases to CVA-driven variant contracts and normalized ui/ components.

This skill is for structured migration, not redesign.

Migration style mode is required for every run:

  • consistent (recommended): allows minor visual/layout differences to reduce variant count and utility-class overrides while keeping intent and behavior stable.
  • precise: preserve style/layout exactly (current behavior), with no unapproved visual drift.

The result is not just code. The result is:

  • a scoped migration plan by feature/module
  • explicit component contracts for variants and wrappers
  • incremental implementation batches
  • hard validation gates per batch

When to use this skill

Installs
2
GitHub Stars
1
First Seen
Mar 20, 2026
tailwind-to-cva — jasny/perfect-agent