unistyles-v2-to-v3-migration — Claude Code skill for migration
unistyles-v2-to-v3-migration — a Claude Code skill that moves a project from react-native-unistyles v2 to v3. It activates when asked to upgrade Unistyles or convert v2 code.
no license 183 installs ★ 2,978 updated 2026-10-23
npx skills add jpudysz/react-native-unistyles --skill unistyles-v2-to-v3-migration -a claude-codeWhat unistyles-v2-to-v3-migration does
The skill guides a project migration from react-native-unistyles v2 to v3, applying the changes in sequence. It covers Babel plugin setup, replacing UnistylesRegistry with StyleSheet.configure, updating imports and StyleSheet.create, removing useStyles, handling style variants, and wrapping third-party components with withUnistyles.
The project needs React Native 0.85.0+ with the New Architecture, React 19+, and react-native-nitro-modules; Unistyles 3.4.0+ requires Nitro Modules 0.37.1+. iOS builds need Xcode 16.4+ and iOS 15.1+. Expo projects require SDK 56+ and a dev client or prebuild; Expo Go is incompatible. The Babel plugin requires a root value, and must precede React Compiler in its plugin list when that compiler is used.
What it helps with
- migrate a project from react-native-unistyles v2 to v3
- replace UnistylesRegistry with StyleSheet.configure
- remove useStyles and update stylesheet creation
- configure Babel to process Unistyles styles
Example prompts for the agent
- Migrate this project from react-native-unistyles v2 to v3.
- Upgrade Unistyles to v3 and update the project APIs.
- Convert this codebase to use react-native-unistyles v3.
How to install unistyles-v2-to-v3-migration
1Skills CLI (Vercel)
npx skills add jpudysz/react-native-unistyles --skill unistyles-v2-to-v3-migration -a claude-code2Manually: put the files in place
~/.claude/skills/unistyles-v2-to-v3-migration/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/unistyles-v2-to-v3-migration/
1Skills CLI (Vercel)
npx skills add jpudysz/react-native-unistyles --skill unistyles-v2-to-v3-migration -a codex2Manually: put the files in place
.agents/skills/unistyles-v2-to-v3-migration/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add jpudysz/react-native-unistyles --skill unistyles-v2-to-v3-migration -a cursor2Manually: put the files in place
.cursor/skills/unistyles-v2-to-v3-migration/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install jpudysz/react-native-unistyles skills/unistyles-v2-to-v3-migration2Manually: put the files in place
.github/skills/unistyles-v2-to-v3-migration/SKILL.md1Skills CLI (Vercel)
npx skills add jpudysz/react-native-unistyles --skill unistyles-v2-to-v3-migration -a gemini-cli2Platform CLI
gemini skills install https://github.com/jpudysz/react-native-unistyles --path skills/unistyles-v2-to-v3-migrationManually: put the files in place
.devin/skills/unistyles-v2-to-v3-migration/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add jpudysz/react-native-unistyles --skill unistyles-v2-to-v3-migration -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about unistyles-v2-to-v3-migration
How do I install unistyles-v2-to-v3-migration in Claude Code?
Run npx skills add jpudysz/react-native-unistyles --skill unistyles-v2-to-v3-migration -a claude-code. The skill file is placed at ~/.claude/skills/unistyles-v2-to-v3-migration/SKILL.md.
What does unistyles-v2-to-v3-migration do?
It guides a migration from react-native-unistyles v2 to v3, updating API usage and style processing configuration.
What does unistyles-v2-to-v3-migration require?
It needs React Native 0.85.0+ with the New Architecture, React 19+, and react-native-nitro-modules. Unistyles 3.4.0+ requires Nitro Modules 0.37.1+; iOS builds need Xcode 16.4+ and iOS 15.1+. Expo requires SDK 56+ plus a dev client or prebuild; Expo Go is incompatible.