Skip to main content
skill CX Codex

styling-nativewind-v4-expo — Claude Code skill: what it does

Guides setup and troubleshooting for NativeWind v4 with Tailwind CSS v3 in Expo React Native projects.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add tristanmanchester/agent-skills --skill styling-nativewind-v4-expo -a claude-code
Open on GitHub

What styling-nativewind-v4-expo does

This skill focuses entirely on applications running NativeWind v4 alongside tailwindcss@^3.4.17. It guides the assistant through wiring the base CSS stylesheet into Metro via withNativeWind, applying Babel presets, and keeping module definitions intact. The upcoming v5 architecture is deliberately excluded.

Troubleshooting follows an ordered sequence: verify package majors first, compile styles with the Tailwind v3 CLI, and confirm file paths across the app directory. A cache purge will not resolve a silent Tailwind v4 mismatch or broken Expo SDK peer dependencies.

Component authoring leans on literal variant dictionaries rather than dynamically concatenated class names. It also provides steps for one-time cssInterop wrappers on third-party elements, theme variables, and safe area handling.

What it helps with

  • configure Metro and Babel for NativeWind v4 inside Expo
  • resolve dependency conflicts between Tailwind CSS v3 and v4
  • wrap external React Native components using cssInterop
  • inspect styling behavior across dark mode and safe areas

Example prompts for the agent

  • Set up NativeWind v4 and Tailwind v3 for this Expo Router application
  • Diagnose why NativeWind utility classes are ignored by the Metro bundler
  • Build a button component using static variant mappings

How to install styling-nativewind-v4-expo

1Skills CLI (Vercel)

npx skills add tristanmanchester/agent-skills --skill styling-nativewind-v4-expo -a claude-code

2Manually: put the files in place

~/.claude/skills/styling-nativewind-v4-expo/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/styling-nativewind-v4-expo/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about styling-nativewind-v4-expo

How to install styling-nativewind-v4-expo in Claude Code?

Run npx skills add tristanmanchester/agent-skills --skill styling-nativewind-v4-expo -a claude-code. The file will be installed to ~/.claude/skills/styling-nativewind-v4-expo/SKILL.md.

What does styling-nativewind-v4-expo do?

It guides the AI through correct configuration and component styling for NativeWind v4 within Expo environments.

Can I use this with NativeWind v5?

No, this skill is tailored exclusively to NativeWind v4 and Tailwind CSS v3. Version 5 requires a completely different toolchain setup.

Similar skills

All skills for Mobile →

From the same set3

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor