Agent Skills: Uniwind Best Practices

Uniwind best practices for React Native styling with Tailwind CSS. This skill should be used when writing, reviewing, or refactoring React Native code using Uniwind. Triggers on tasks involving Uniwind, className styling, Tailwind in React Native, NativeWind migration, or theming.

UncategorizedID: pproenca/dot-skills/uniwind

Install this agent skill to your local

pnpm dlx add-skill https://github.com/pproenca/dot-skills/tree/HEAD/skills/.experimental/uniwind

Skill Files

Browse the full folder contents for uniwind.

Download Skill

Loading file tree…

skills/.experimental/uniwind/SKILL.md

Skill Metadata

Name
uniwind
Description
Uniwind best practices for React Native styling with Tailwind CSS. This skill should be used when writing, reviewing, or refactoring React Native code using Uniwind. Triggers on tasks involving Uniwind, className styling, Tailwind in React Native, NativeWind migration, or theming.

Uniwind Best Practices

Comprehensive performance optimization and best practices guide for Uniwind - the fastest Tailwind CSS bindings for React Native. Contains 45+ rules across 8 categories, prioritized by impact to guide automated refactoring and code generation.

When to Apply

Reference these guidelines when:

  • Setting up Uniwind in a new React Native project
  • Configuring Metro plugin and CSS entry points
  • Building theme systems with CSS variables
  • Integrating third-party components with className support
  • Creating responsive layouts for mobile and tablet
  • Optimizing styling performance
  • Migrating from NativeWind to Uniwind

Rule Categories by Priority

| Priority | Category | Impact | Prefix | |----------|----------|--------|--------| | 1 | Build-Time Configuration | CRITICAL | build- | | 2 | Theme Architecture | CRITICAL | theme- | | 3 | Component Integration | HIGH | comp- | | 4 | Responsive Design | HIGH | resp- | | 5 | Performance Optimization | MEDIUM-HIGH | perf- | | 6 | Platform Patterns | MEDIUM | plat- | | 7 | State & Interaction | MEDIUM | state- | | 8 | Migration & Compatibility | LOW-MEDIUM | compat- |

Quick Reference

1. Build-Time Configuration (CRITICAL)

2. Theme Architecture (CRITICAL)

3. Component Integration (HIGH)

4. Responsive Design (HIGH)

5. Performance Optimization (MEDIUM-HIGH)

6. Platform Patterns (MEDIUM)

7. State & Interaction (MEDIUM)

8. Migration & Compatibility (LOW-MEDIUM)

How to Use

Read individual reference files for detailed explanations and code examples:

Reference Files

| File | Description | |------|-------------| | AGENTS.md | Complete compiled guide with all rules | | references/_sections.md | Category definitions and ordering | | assets/templates/_template.md | Template for new rules | | metadata.json | Version and reference information |