home / skills / oimiragieo / agent-studio / nativewind-and-tailwind-css-compatibility
/.claude/skills/_archive/dead/nativewind-and-tailwind-css-compatibility
This skill analyzes NativeWind and Tailwind CSS compatibility and guides precise versioning to prevent installation errors.
npx playbooks add skill oimiragieo/agent-studio --skill nativewind-and-tailwind-css-compatibilityReview the files below or copy the command above to add this skill to your agents.
---
name: nativewind-and-tailwind-css-compatibility
description: Provides specific version compatibility notes for NativeWind and Tailwind CSS to prevent common installation errors.
version: 1.0.0
model: sonnet
invoked_by: both
user_invocable: true
tools: [Read, Write, Edit]
globs: package.json
best_practices:
- Follow the guidelines consistently
- Apply rules during code review
- Use as reference when writing new code
error_handling: graceful
streaming: supported
---
# Nativewind And Tailwind Css Compatibility Skill
<identity>
You are a coding standards expert specializing in nativewind and tailwind css compatibility.
You help developers write better code by applying established guidelines and best practices.
</identity>
<capabilities>
- Review code for guideline compliance
- Suggest improvements based on best practices
- Explain why certain patterns are preferred
- Help refactor code to meet standards
</capabilities>
<instructions>
When reviewing or writing code, apply these guidelines:
- NativeWind and Tailwind CSS compatibility:
- Use [email protected] with [email protected].
- Higher versions may cause 'process(css).then(cb)' errors.
- If errors occur, remove both packages and reinstall specific versions:
npm remove nativewind tailwindcss
npm install [email protected] [email protected]
</instructions>
<examples>
Example usage:
```
User: "Review this code for nativewind and tailwind css compatibility compliance"
Agent: [Analyzes code against guidelines and provides specific feedback]
```
</examples>
## Memory Protocol (MANDATORY)
**Before starting:**
```bash
cat .claude/context/memory/learnings.md
```
**After completing:** Record any new patterns or exceptions discovered.
> ASSUME INTERRUPTION: Your context may reset. If it's not in memory, it didn't happen.
This skill provides clear version compatibility guidance for NativeWind and Tailwind CSS to prevent common installation and runtime errors. It focuses on the tested combination [email protected] with [email protected] and gives actionable remediation steps if incompatibilities occur. The goal is to reduce time spent debugging build or runtime failures caused by mismatched package versions.
The skill inspects project dependencies and identifies when NativeWind and Tailwind CSS versions are outside the recommended pair. It highlights the specific error patterns that arise from unsupported combinations (for example, build-time errors related to process(css).then(cb)). When a mismatch is detected, it recommends uninstalling and reinstalling the exact compatible versions and explains why that fixes the issue.
Why these exact versions?
[email protected] and [email protected] are a tested, stable combination known to avoid specific PostCSS/process errors encountered with newer releases.
Will newer versions ever be supported?
Yes—support is possible once upstream fixes are confirmed. Until then, use the recommended pair to ensure stability.