tailwind-to-stylex
Installation
SKILL.md
Migrate Tailwind to StyleX
Convert Tailwind utility classes into StyleX styles. Replace className="..." strings
with entries in a stylex.create({...}) call, and apply them with stylex.props(...).
Preserve the rendered output. Do not redesign the component during migration. If a style cannot be converted exactly, flag it in Step 6 instead of silently changing the design.
The core mechanic: resolve, then reshape
Convert class strings the same way as the tw-to-stylex codemod. Resolve each class to
the CSS it produces, then reshape that CSS into a StyleX object. Do not guess from class
names. The computed CSS is the behavior that must remain identical.