skyroc: Skill for Claude Code

.agents/skills/migrate-nativewind-to-uniwind/SKILL.md

migrate-nativewind-to-uniwind is a skill for Claude Code, Codex from Ohh-889/skyroc. It costs 82 tokens per session (6,232 once invoked), scanned C, a copy of migrate-nativewind-to-uniwind, MIT.

A migration guide for replacing NativeWind with Uniwind in a React Native project. NativeWind and Uniwind let developers style mobile interfaces with utility-style class names; Uniwind uses Tailwind CSS 4 and CSS-based themes.

In plain words
What is it for?
Use it to remove NativeWind dependencies, update Tailwind and build configuration, convert theme setup, and remove old compatibility code.
Why use it?
It helps avoid missed packages, outdated configuration, and broken styling when switching styling systems. It identifies the project files and code that need to change.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is Ohh-889/skyroc's own configuration. It tells Claude Code and Codex how to work on skyroc itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything skyroc configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is @source "../../packages/ui/src";.

Reuse

Borrowing it

Nothing to install: this file belongs to Ohh-889/skyroc. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Ohh-889/skyroc/master/.agents/skills/migrate-nativewind-to-uniwind/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Ohh-889/skyroc

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for migrate-nativewind-to-uniwind

README.md
[![agentmods](https://agentmods.dev/badge/skills/ohh-889/skyroc/migrate-nativewind-to-uniwind/github.svg)](https://agentmods.dev/skills/ohh-889/skyroc/migrate-nativewind-to-uniwind)
Your own site
<a href="https://agentmods.dev/skills/ohh-889/skyroc/migrate-nativewind-to-uniwind"><img src="https://agentmods.dev/badge/skills/ohh-889/skyroc/migrate-nativewind-to-uniwind/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for migrate-nativewind-to-uniwind

Your own site · 80×15
<a href="https://agentmods.dev/skills/ohh-889/skyroc/migrate-nativewind-to-uniwind"><img src="https://agentmods.dev/badge/skills/ohh-889/skyroc/migrate-nativewind-to-uniwind.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,232 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00082 $0.06232
Opus 5 $0.00041 $0.03116
Sonnet 5 $0.00016 $0.01246
Haiku 4.5 $0.00008 $0.00623

Measured 10d ago against content hash 8eab2d66eb25, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade C, and why

migrate-nativewind-to-uniwind scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

**Serialization Errors** (`Failed to serialize javascript object`): Clear caches: `watchman watch-del-all 2>/dev/null; rm -rf node_modules/.cache && npx expo start --clear`. Common causes: complex `@theme` configs, circu
Origin

This is a copy

100% identical to migrate-nativewind-to-uniwind — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/migrate-nativewind-to-uniwind/SKILL.md · 735 lines

How it starts

The opening of the file, as written. The whole thing — 735 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Migrate NativeWind to Uniwind

Uniwind replaces NativeWind with better performance and stability. It requires Tailwind CSS 4 and uses CSS-based theming instead of JS config.

Pre-Migration Checklist

Before starting, read the project's existing config files to understand the current setup:

  • package.json (NativeWind version, dependencies)
  • tailwind.config.js / tailwind.config.ts
  • metro.config.js
  • babel.config.js
  • global.css or equivalent CSS entry file
  • nativewind-env.d.ts or nativewind.d.ts
  • Any file using cssInterop or remapProps from nativewind
  • Any file importing from react-native-css-interop
  • Any ThemeProvider from NativeWind (vars() usage)

Uninstall ALL of these packages (if present):

npm uninstall nativewind react-native-css-interop
# or
yarn remove nativewind react-native-css-interop
# or
bun remove nativewind react-native-css-interop

CRITICAL: react-native-css-interop is a NativeWind dependency that must be removed. It is commonly missed during migration. Search the entire codebase for any imports from it:

rg "react-native-css-interop" -g "*.{ts,tsx,js,jsx}"

Remove every import and usage found.

Step 2: Install Uniwind and Tailwind 4

npm install uniwind tailwindcss@latest
# or
yarn add uniwind tailwindcss@latest
# or
bun add uniwind tailwindcss@latest

Ensure tailwindcss is version 4+.

Step 3: Update babel.config.js

Remove the NativeWind babel preset:

// REMOVE this line from presets array:
// 'nativewind/babel'

No Uniwind babel preset is needed.

Step 4: Update metro.config.js

Replace NativeWind's metro config with Uniwind's. withUniwindConfig must be the outermost wrapper.

Before (NativeWind):

const { withNativeWind } = require('nativewind/metro');
module.exports = withNativeWind(config, { input: './global.css' });

After (Uniwind):

const { getDefaultConfig } = require('expo/metro-config');
// For bare RN: const { getDefaultConfig } = require('@react-native/metro-config');
const { withUniwindConfig } = require('uniwind/metro');

const config = getDefaultConfig(__dirname);

module.exports = withUniwindConfig(config, {
  cssEntryFile: './global.css',
  polyfills: { rem: 14 },
});

Read the full file on GitHub · 735 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 735 lines · 82 tokens per session scan C 8eab2d66eb25

Subscribe to this mod's changes

migrate-nativewind-to-uniwind is a skill published in the GitHub repository Ohh-889/skyroc (792 stars, last pushed 8d ago), licensed MIT. It adds 82 tokens to every session and 6,232 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). It is 100% identical to migrate-nativewind-to-uniwind, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

antd

Use when the user's task involves Ant Design (antd) — writing antd components, debugging antd issues, querying antd APIs/props/tokens/demos, migrating between antd versions, or analyzing antd usage in a project. Triggers on antd-related code, imports from 'antd', or explicit antd questions.

ant-design/ant-design-pro · 69 tokens

pro-upgrade

An upgrade guide for projects built with Ant Design Pro, a React-based application template for business software. It compares the project with the latest official template and merges framework updates while preserving application code.

ant-design/ant-design-pro · 63 tokens

expo-ui-full-reference

Build native UI from React with @expo/ui: real SwiftUI on iOS and Jetpack Compose on Android, in an Expo or React Native + TypeScript app. Use whenever building or reviewing native-feeling UI that plain React Native handles poorly: a settings screen, grouped form, native picker, context menu, action/bottom sheet…

AlshehriAli0/agent-skills · 170 tokens

expo-native-ui

Framework (OSS). Build beautiful, native-feeling Expo screens. Covers Apple HIG styling, semantic colors, native controls, SF Symbols, media, visual effects, gradients, storage, and responsive layout. For routing and navigation, use the expo-router skill; for motion and animation, use the expo-animation skill.

expo/skills · 67 tokens

truesheet-usage

Consumer-side guide for integrating @lodev09/react-native-true-sheet into a React Native app. Use this skill whenever the user wants to add, configure, control, or debug a bottom sheet using TrueSheet — including ref-based sheets, named global sheets, web support with TrueSheetProvider/useTrueSheet, React Navigation…

lodev09/react-native-true-sheet · 169 tokens

building-ui

Complete guide for building beautiful apps with Expo Router. Covers fundamentals, styling, components, navigation, animations, patterns, and native tabs.

Intelligent-Internet/ii-agent · 30 tokens