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…
от pproenca★ 231 звезда на GitHubОб этом скилле
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)
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 Consistency
2. Theme Architecture (CRITICAL)
theme-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 App
3. Component Integration (HIGH)
comp-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 Styles
4. Responsive Design (HIGH)
resp-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 Responsively
5. Performance Optimization (MEDIUM-HIGH)
perf-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 Correctly
6. Platform Patterns (MEDIUM)
plat-ios-android-selectors- Use Platform Selectors for iOS/Android Differencesplat-safe-area-context- Use react-native-safe-area-context for Safe Areasplat-yoga-layout- Understa
Установить uniwind в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл 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.
Как установить скилл uniwind?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл uniwind запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic