← Back to Skills Marketplace
daidai8910g

MiniMax React Native Dev

by daidai8910g · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
275
Downloads
0
Stars
3
Active Installs
1
Versions
Install in OpenClaw
/install minimax-react-native-dev
Description
React Native and Expo development guide covering components, styling, animations, navigation, state management, forms, networking, performance optimization,...
README (SKILL.md)

React Native & Expo Development Guide

A practical guide for building production-ready React Native and Expo applications. Covers UI, animations, state, testing, performance, and deployment.

References

Consult these resources as needed:

Quick Reference

Component Preferences

Purpose Use Instead of
Lists FlashList (@shopify/flash-list) + memo items FlatList (no view recycling)
Images expo-image RN \x3CImage> (no cache, no WebP)
Press Pressable TouchableOpacity (legacy)
Audio expo-audio expo-av (deprecated)
Video expo-video expo-av (deprecated)
Animations Reanimated 3 RN Animated API (limited)
Gestures Gesture Handler PanResponder (legacy)
Platform check process.env.EXPO_OS Platform.OS
Context React.use() React.useContext() (React 18)
Safe area scroll contentInsetAdjustmentBehavior="automatic" \x3CSafeAreaView>
SF Symbols expo-image with source="sf:name" expo-symbols

Scaling Up

Situation Consider
Long lists with scroll jank Virtualized list libraries (e.g. FlashList)
Want Tailwind-style classes NativeWind v4
High-frequency storage reads Sync-based storage (e.g. MMKV)
New project with Expo Expo Router over bare React Navigation

State Management

State Type Solution
Local UI state useState / useReducer
Shared app state Zustand or Jotai
Server / async data React Query
Form state React Hook Form + Zod

Performance Priorities

Priority Issue Fix
CRITICAL Long list jank FlashList + memoized items
CRITICAL Large bundle Avoid barrel imports, enable R8
HIGH Too many re-renders Zustand selectors, React Compiler
HIGH Slow startup Disable bundle compression, native nav
MEDIUM Animation drops Only animate transform/opacity

New Project Init

# 1. Create project
npx create-expo-app@latest my-app --template blank-typescript
cd my-app

# 2. Install Expo Router + core deps
npx expo install expo-router react-native-safe-area-context react-native-screens

# 3. (Optional) Common extras
npx expo install expo-image react-native-reanimated react-native-gesture-handler

Then configure:

  1. Set entry point in package.json: "main": "expo-router/entry"
  2. Add scheme in app.json: "scheme": "my-app"
  3. Delete App.tsx and index.ts
  4. Create app/_layout.tsx as root Stack layout
  5. Create app/(tabs)/_layout.tsx for tab navigation
  6. Create route files in app/(tabs)/ (see navigation.md)

For web support, also install: npx expo install react-native-web react-dom @expo/metro-runtime

Core Principles

Consult references before writing: when implementing navigation, lists, networking, or project setup, read the matching reference file above for patterns and pitfalls.

Try Expo Go first (npx expo start). Custom builds (eas build) only needed when using local Expo modules, Apple targets, or third-party native modules not in Expo Go.

Conditional rendering: use {count > 0 && \x3CText />} not {count && \x3CText />} (renders "0").

Animation rule: only animate transform and opacity — GPU-composited, no layout thrash.

Imports: always import directly from source, not barrel files — avoids bundle bloat.

Lists and images: before using FlatList or RN Image, check the Component Preferences table above — FlashList and expo-image are almost always the right choice.

Route files: always use kebab-case, never co-locate components/types/utils in app/.

Checklist

New Project Setup

  • tsconfig.json path aliases configured
  • EXPO_PUBLIC_API_URL env var set per environment
  • Root layout has GestureHandlerRootView (if using gestures)
  • contentInsetAdjustmentBehavior="automatic" on all scroll views
  • FlashList instead of FlatList for lists > 20 items

Before Shipping

  • Profile in --profile mode, fix frames > 16ms
  • Bundle analyzed (source-map-explorer), no barrel imports
  • R8 enabled for Android
  • Unit + component tests for critical paths
  • E2E flows for login, core feature, checkout

Flutter development → see flutter-dev skill. iOS native (UIKit/SwiftUI) → see ios-application-dev skill. Android native (Kotlin/Compose) → see android-native-dev skill.

React Native is a trademark of Meta Platforms, Inc. Expo is a trademark of 650 Industries, Inc. All other product names are trademarks of their respective owners.

Usage Guidance
This skill is an instruction-only React Native / Expo developer guide and appears coherent with its description. Before installing or letting an agent execute its steps, consider: (1) the skill contains npx/expo commands that will fetch and run code from external registries—only run them in a trusted/sandboxed environment and review commands first; (2) several 'references/*.md' files are mentioned but not included, so the agent will rely on built-in knowledge rather than package-provided reference docs; (3) the publisher is unknown — if you need stronger provenance, prefer guides from known sources (official docs, repo with history) or inspect any commands the agent proposes to run; otherwise this skill is proportionate and coherent for its stated purpose.
Capability Analysis
Type: OpenClaw Skill Name: minimax-react-native-dev Version: 1.0.0 The skill bundle is a comprehensive development guide for React Native and Expo. It provides standard technical recommendations, project initialization commands (e.g., npx create-expo-app), and best practices for performance and state management without any evidence of malicious intent, data exfiltration, or harmful prompt injection.
Capability Assessment
Purpose & Capability
Name and description match the content of SKILL.md: guidance for building React Native and Expo apps. The skill declares no binaries, env vars, or config paths — which is appropriate for a documentation/guide skill.
Instruction Scope
SKILL.md contains step-by-step developer instructions (npx create-expo-app, npx expo install, file layout advice, etc.), which are appropriate for the stated purpose. Two notes: (1) the guide references local reference files (references/*.md) that are not bundled with the skill — the agent cannot actually read those files from this package and may rely on its own knowledge or hallucinate details; (2) the instructions call out commands (npx, expo) that will fetch and execute code from external package registries at runtime — this is expected for a dev guide but means actual code will be downloaded/executed if the agent runs those commands.
Install Mechanism
No install spec and no code files are present, so nothing will be written to disk by the skill itself. This is the lowest-risk installation profile for a documentation/instruction skill.
Credentials
The skill requests no environment variables, credentials, or config paths. Mentions of process.env.EXPO_OS and other env usage are guidance for app code, not requests for operator credentials — proportionate for a development guide.
Persistence & Privilege
always:false and default model-invocation settings are appropriate. The skill does not request persistent system-wide privileges or modify other skills' configurations.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install minimax-react-native-dev
  3. After installation, invoke the skill by name or use /minimax-react-native-dev
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: Practical React Native & Expo development guide - Covers components, styling, animations, navigation, state management, forms, networking, performance, testing, deployment, and CI/CD. - Includes quick-reference tables for tool and library choices. - Provides checklists for new project setup and pre-shipping tasks. - Links to topical reference files for in-depth patterns and best practices. - Offers recommendations and practical rules for production-grade React Native and Expo apps.
Metadata
Slug minimax-react-native-dev
Version 1.0.0
License MIT-0
All-time Installs 3
Active Installs 3
Total Versions 1
Frequently Asked Questions

What is MiniMax React Native Dev?

React Native and Expo development guide covering components, styling, animations, navigation, state management, forms, networking, performance optimization,... It is an AI Agent Skill for Claude Code / OpenClaw, with 275 downloads so far.

How do I install MiniMax React Native Dev?

Run "/install minimax-react-native-dev" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is MiniMax React Native Dev free?

Yes, MiniMax React Native Dev is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does MiniMax React Native Dev support?

MiniMax React Native Dev is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created MiniMax React Native Dev?

It is built and maintained by daidai8910g (@daidai8910g); the current version is v1.0.0.

💬 Comments