react-native

Implement consistent React Native patterns for Expo and bare workflow apps.

Updated May 29, 2025
One-click install
npx skills add https://github.com/crozzbite/DnDApp --skill react-native-crozzbite
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-native
Source: https://github.com/crozzbite/DnDApp/tree/main/.agent/skills/react-native
Command: npx skills add https://github.com/crozzbite/DnDApp --skill react-native-crozzbite

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a structured, reusable set of patterns for building React Native apps with Expo and bare workflow, reducing boilerplate and ensuring consistency across projects.

Core Features & Use Cases

  • Project Structure: organize a scalable layout with app/, components/, hooks/, services/, stores/, utils/, constants/, and types/.
  • Functional Components with TypeScript: encourage type-safe components and clear prop definitions.
  • Platform-Specific Code: demonstrate shared logic with iOS/Android variations and extensions.
  • Practical Patterns: navigation setup, custom hooks, NativeWind styling, safe area handling, and keyboard management.
  • State Management & Persistence: simple state stores with persistence (Zustand or similar).

Quick Start

Follow the recommended folder layout and patterns to scaffold and implement your React Native app with Expo and bare workflow.

Frequently Asked Questions about react-native

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure a scalable React Native project with Expo?

Structure a scalable React Native project by organizing directories into app/, components/, hooks/, services/, stores/, utils/, constants/, and types/. This layout ensures consistent code organization and reduces boilerplate across Expo managed and bare workflows.

What is the best way to handle platform-specific code in React Native?

Handle platform-specific code in React Native by sharing core logic while creating iOS and Android variations using platform extensions. This approach ensures consistent cross-platform mobile app behavior without duplicating entire components.

Does this React Native pattern support NativeWind styling and React Navigation?

Yes, these React Native patterns support NativeWind styling and navigation setup with React Navigation. They provide practical examples for safe area handling, keyboard management, and custom hooks within your mobile app.

How do I manage state and persistence in a TypeScript React Native app?

Manage state and persistence in a TypeScript React Native app by implementing simple state stores with persistence, such as Zustand. This ensures type-safe components maintain consistent state across app sessions.

Can I use these React Native patterns for both Expo managed and bare workflows?

Yes, you can use these React Native patterns for both Expo managed and bare workflows. They solve the challenge of implementing consistent cross-platform mobile app patterns, ensuring project structure guidance applies regardless of your chosen Expo setup.