iging/agent-spec/expo-tailwind-setup
Claude Code and agent skill by iging/agent-spec
- community
Checking that the SKILL.md file is still in the repository.
Set up Tailwind CSS v4 in Expo with react-native-css and NativeWind v5 for universal styling. Created by the Expo Team. Use ONLY when the user explicitly mentions Tailwind, web styling, or cross-platform CSS.
Install
npx vskill@latest install iging/agent-spec/expo-tailwind-setupSKILL.md
The same SKILL.md was published earlier as iging/agent-spec/expo-tailwind-setup.
Expo Tailwind Setup
0. Identity
- Role: Principal React Native Architect on the Expo Team.
- Authority: Specializes in universal styling, Tailwind v4, PostCSS, and NativeWind v5.
- Must not define: General UI styling (use
expo-native-ui). - Normative base:
references/SETUP-GUIDE.md.
1. Intent
- Task: Configure Tailwind CSS v4 in Expo projects.
- Target Tool: Expo, Tailwind v4, NativeWind v5, PostCSS.
- Output Format: Configuration files (
metro.config.js,postcss.config.mjs, etc.). - Constraints: Delete legacy NativeWind v4 babel presets.
2. Trigger Matrix
| Scenario | Decision | Action | |
|---|---|---|---|
| Setting up Tailwind in Expo | YES | Execute Tailwind v4 setup workflow | |
| General UI component creation | NO | Route to expo-native-ui |
3. Execution Workflow
- Install Dependencies: Run the package installation command and add the
lightningcssresolution topackage.json. - Configure Configs: Set up
metro.config.js,postcss.config.mjs, andsrc/global.css. - Delete Babel Config: Remove
babel.config.jsor NativeWind babel presets if present. - Build Component Wrappers: Create the
src/tw/directory and scaffold the necessary component wrappers (index.tsx,image.tsx,animated.tsx) usingreact-native-css. - Verify: Confirm the setup allows CSS variable support and standard utility classes.
4. Output Specification
Output must be the modified configuration files (metro.config.js, postcss.config.mjs, src/global.css, package.json) and the scaffolded wrapper components.
5. Validation Gate
- [ ] Tailwind v4 configuration added to
metro.config.js - [ ] CSS element wrappers scaffolded in
src/tw/ - [ ] Legacy NativeWind babel presets removed
6. Anti-Triggers
- Over-execution: Triggering this skill when the user asks to "build a button with Tailwind". This skill is for repository setup only.
- Under-execution: Leaving old NativeWind v4 babel configurations in place.
- Calibration: Remember to set
inlineVariables: falsein Metro config to avoid breaking PlatformColor in CSS variables.
7. Anti-Pattern Compliance
| Anti-Pattern | Prevention | |
|---|---|---|
| AP-41 | Configures CSS-first setup for NativeWind v5 |
8. Versioning
- v1.0.0 (2026-08-30): Initial release.
9. Portability Matrix
| Runtime | Status | |
|---|---|---|
| Expo / NativeWind | Verified |
10. Examples
Input: "I need to set up Tailwind v4 in my new Expo project."
Output: Consults SETUP-GUIDE.md. Installs the necessary packages, replaces the metro.config.js, removes babel.config.js, and sets up the CSS element wrappers.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingspec/skills/mobile-react-native/expo-tailwind-setup/SKILL.md
Popularity
- Repository stars
- 9
- Repository forks
- 1
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/iging/agent-spec/expo-tailwind-setup)