Provides best practices for React Native styling with Uniwind and Tailwind CSS, covering build-time config, theme architecture, performance optimization, and NativeWind migration.
How this skill is triggered — by the user, by Claude, or both
Slash command
/pproenca-dot-skills-1:uniwindThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
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.
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.
Reference these guidelines when:
| 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- |
build-metro-config - Configure Metro Plugin with Required Optionsbuild-css-entry - Place CSS Entry File in App Root Directorybuild-typescript-types - Configure TypeScript Definition File Locationbuild-restart-metro - Restart Metro After Configuration Changesbuild-debug-mode - Enable Debug Mode During Developmentbuild-rem-polyfill - Configure rem Base Value for Design System Consistencytheme-css-variables - Define Theme Variables with @theme Directivetheme-variant-blocks - Use @variant Blocks for Theme Definitionstheme-consistent-variables - Define Identical Variables Across All Themestheme-custom-registration - Register Custom Themes in Metro Configtheme-oklch-colors - Use OKLCH Color Space for Perceptual Uniformitytheme-light-dark-function - Use light-dark() Function for Adaptive Colorstheme-no-provider - Remove ThemeProvider Wrapper from Appcomp-with-uniwind - Use withUniwind for Third-Party Componentscomp-module-level - Define Wrapped Components at Module Levelcomp-prop-mapping - Use Custom Prop Mappings for Non-Style Propscomp-accent-colors - Use accent-* Classes for Color Prop Extractioncomp-reanimated - Reanimated Components Work Without withUniwindcomp-custom-css - Use Custom CSS Classes for Complex Reusable Stylesresp-mobile-first - Design Mobile-First with Progressive Enhancementresp-limit-breakpoints - Limit Breakpoints to 3-5 for Maintainabilityresp-visibility-toggle - Use hidden/flex for Responsive Visibilityresp-custom-breakpoints - Define Custom Breakpoints with Semantic Namesresp-responsive-spacing - Scale Spacing and Typography Responsivelyperf-static-classnames - Use Complete Static Class Names for Build-Time Resolutionperf-use-resolve-sparingly - Use useResolveClassNames Sparinglyperf-memoize-variants - Memoize Variant Style Objectsperf-tailwind-merge - Use tailwind-merge for Class Deduplicationperf-avoid-inline-styles - Prefer className Over Inline style Propperf-combine-styles - Combine className and style Prop Correctlyplat-ios-android-selectors - Use Platform Selectors for iOS/Android Differencesplat-safe-area-context - Use react-native-safe-area-context for Safe Areasplat-yoga-layout - Understand Yoga Layout Engine Differencesplat-web-selector - Use web: Selector for Cross-Platform Appsplat-font-families - Configure Font Families Without Fallbacksstate-pressable-states - Use Pressable with active:/focus:/disabled: Statesstate-data-selectors - Use Data Selectors for Component State Stylingstate-no-hover - Avoid hover: on Native - Use active: Insteadstate-group-variants - Use Group Variants for Parent-Child Styling (WIP)state-dark-mode - Use dark: Variant for Dark Mode Stylescompat-nativewind-migration - Follow NativeWind Migration Checklistcompat-tailwind-4-syntax - Use Tailwind 4 CSS-First Configurationcompat-rem-default - Account for Different rem Default Valuescompat-cssinterop-replacement - Replace cssInterop with withUniwindcompat-safe-area-changes - Replace *-safe Classes with Safe Area ContextRead individual reference files for detailed explanations and code examples:
| 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 |
npx claudepluginhub joshuarweaver/cascade-code-general-misc-1 --plugin pproenca-dot-skills-1Adds, builds, and debugs React Native components using Tailwind CSS v4 via Uniwind classNames. Covers setup, theming, variants, and troubleshooting.
Migrates a React Native project from NativeWind to Uniwind, handling package removal, config migration, Tailwind 4 upgrade, and breaking changes.
Sets up Tailwind CSS v4 in Expo with react-native-css and NativeWind v5 for universal styling across iOS, Android, and Web.