MCPInstall

uniwind

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.

Installs
343
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/pproenca/dot-skills --skill uniwind
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads uniwind automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

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

PriorityCategoryImpactPrefix
1Build-Time ConfigurationCRITICALbuild-
2Theme ArchitectureCRITICALtheme-
3Component IntegrationHIGHcomp-
4Responsive DesignHIGHresp-
5Performance OptimizationMEDIUM-HIGHperf-
6Platform PatternsMEDIUMplat-
7State & InteractionMEDIUMstate-
8Migration & CompatibilityLOW-MEDIUMcompat-

Quick Reference

1. Build-Time Configuration (CRITICAL)

  • build-metro-config - Configure Metro Plugin with Required Options
  • build-css-entry - Place CSS Entry File in App Root Directory
  • build-typescript-types - Configure TypeScript Definition File Location
  • build-restart-metro - Restart Metro After Configuration Changes
  • build-debug-mode - Enable Debug Mode During Development
  • build-rem-polyfill - Configure rem Base Value for Design System Consistency

2. Theme Architecture (CRITICAL)

  • theme-css-variables - Define Theme Variables with @theme Directive
  • theme-variant-blocks - Use @variant Blocks for Theme Definitions
  • theme-consistent-variables - Define Identical Variables Across All Themes
  • theme-custom-registration - Register Custom Themes in Metro Config
  • theme-oklch-colors - Use OKLCH Color Space for Perceptual Uniformity
  • theme-light-dark-function - Use light-dark() Function for Adaptive Colors
  • theme-no-provider - Remove ThemeProvider Wrapper from App

3. Component Integration (HIGH)

  • comp-with-uniwind - Use withUniwind for Third-Party Components
  • comp-module-level - Define Wrapped Components at Module Level
  • comp-prop-mapping - Use Custom Prop Mappings for Non-Style Props
  • comp-accent-colors - Use accent-* Classes for Color Prop Extraction
  • comp-reanimated - Reanimated Components Work Without withUniwind
  • comp-custom-css - Use Custom CSS Classes for Complex Reusable Styles

4. Responsive Design (HIGH)

  • resp-mobile-first - Design Mobile-First with Progressive Enhancement
  • resp-limit-breakpoints - Limit Breakpoints to 3-5 for Maintainability
  • resp-visibility-toggle - Use hidden/flex for Responsive Visibility
  • resp-custom-breakpoints - Define Custom Breakpoints with Semantic Names
  • resp-responsive-spacing - Scale Spacing and Typography Responsively

5. Performance Optimization (MEDIUM-HIGH)

  • perf-static-classnames - Use Complete Static Class Names for Build-Time Resolution
  • perf-use-resolve-sparingly - Use useResolveClassNames Sparingly
  • perf-memoize-variants - Memoize Variant Style Objects
  • perf-tailwind-merge - Use tailwind-merge for Class Deduplication
  • perf-avoid-inline-styles - Prefer className Over Inline style Prop
  • perf-combine-styles - Combine className and style Prop Correctly

6. Platform Patterns (MEDIUM)

  • plat-ios-android-selectors - Use Platform Selectors for iOS/Android Differences
  • plat-safe-area-context - Use react-native-safe-area-context for Safe Areas
  • plat-yoga-layout - Understand Yoga Layout Engine Differences
  • plat-web-selector - Use web: Selector for Cross-Platform Apps
  • plat-font-families - Configure Font Families Without Fallbacks

7. State & Interaction (MEDIUM)

  • state-pressable-states - Use Pressable with active:/focus:/disabled: States
  • state-data-selectors - Use Data Selectors for Component State Styling
  • state-no-hover - Avoid hover: on Native - Use active: Instead
  • state-group-variants - Use Group Variants for Parent-Child Styling (WIP)
  • state-dark-mode - Use dark: Variant for Dark Mode Styles

8. Migration & Compatibility (LOW-MEDIUM)

  • compat-nativewind-migration - Follow NativeWind Migration Checklist
  • compat-tailwind-4-syntax - Use Tailwind 4 CSS-First Configuration
  • compat-rem-default - Account for Different rem Default Values
  • compat-cssinterop-replacement - Replace cssInterop with withUniwind
  • compat-safe-area-changes - Replace *-safe Classes with Safe Area Context

How to Use

Read individual reference files for detailed explanations and code examples:

  • Section definitions - Category structure and impact levels
  • Rule template - Template for adding new rules

Reference Files

FileDescription
AGENTS.mdComplete compiled guide with all rules
references/_sections.mdCategory definitions and ordering
assets/templates/_template.mdTemplate for new rules
metadata.jsonVersion and reference information

FAQ

What does the uniwind skill do?

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.

How do I install uniwind?

Run npx skills add https://github.com/pproenca/dot-skills --skill uniwind in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/uniwind/ (personal) or .claude/skills/uniwind/ (project).

Which AI agents can use uniwind?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is uniwind safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains uniwind?

It is published by pproenca in pproenca/dot-skills. It has 343 recorded installs.

More from pproenca/dot-skills

View all →

zod

pproenca/dot-skills

Zod schema validation best practices for type safety, parsing, and error handling. This skill should be used when defining z.object schemas, using z.string validations, safeParse, or z.infer. This skill does NOT cover React Hook Form integration patterns (use react-hook-form skill) or OpenAPI client generation (use orval skill).

Frontend & Design7.1K installs

vitest

pproenca/dot-skills

Vitest testing framework patterns for test setup, async testing, mocking with vi., snapshots, and test performance (formerly test-vitest). This skill should be used when writing or debugging Vitest tests. This skill does NOT cover TDD methodology (use test-tdd skill), API mocking with MSW (use test-msw skill), or Jest-specific APIs.

Testing & QA6.2K installs

react-hook-form

pproenca/dot-skills

React Hook Form performance optimization for client-side form validation using useForm, useWatch, useController, useFieldArray, the subscribe() API, and the Watch / FormStateSubscribe / FieldArray render-prop components. Covers RHF 7.82 additions including resetDefaultValues() and the disabled field-array option. This skill should be used when building client-side controlled forms with React Hook Form library. This skill does NOT cover React 19 Server Actions, useActionState, or server-side form handling (use react-19 skill for those).

emilkowal-animations

pproenca/dot-skills

Emil Kowalski's animation best practices for web interfaces. Use when writing, reviewing, or implementing animations in React, CSS, or Framer Motion. Triggers on tasks involving transitions, easing, gestures, toasts, drawers, or motion.

Frontend & Design2.8K installs

nuqs

pproenca/dot-skills

nuqs (type-safe URL query state) best practices for Next.js and other React frameworks. This skill should be used when writing, reviewing, or refactoring code that uses nuqs for URL state management. Triggers on tasks involving useQueryState, useQueryStates, search params, URL state, query parameters, nuqs parsers, limitUrlUpdates, Standard Schema, NuqsAdapter, or Next.js routing with state.

Frontend & Design2.3K installs

clean-architecture

pproenca/dot-skills

Clean Architecture principles and best practices from Robert C. Martin's book. This skill should be used when designing software systems, reviewing code structure, or refactoring applications to achieve better separation of concerns. Triggers on tasks involving layers, boundaries, dependency direction, entities, use cases, or system architecture.

Popular frontend & design skills

View category →

setup-matt-pocock-skills

mattpocock/skills

Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.

Frontend & Design1.1M installs

frontend-design

anthropics/skills

Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.

OfficialFrontend & Design1M installs

hyperframes-animation

heygen-com/hyperframes

All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.

prototype

mattpocock/skills

Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.

Frontend & Design999.2K installs

hyperframes-core

heygen-com/hyperframes

The HyperFrames composition contract — build one renderable project. Use for composition structure, the data- timing attributes, class="clip", tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.

Frontend & Design930.5K installs

vercel-react-best-practices

vercel-labs/agent-skills

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

OfficialFrontend & Design843.1K installs