본문으로 건너뛰기
Skillpedia
모바일 앱41k · #6700

react-native-architecture

하는 일

이 스킬은 React Native와 Expo로 모바일 앱을 만들도록 돕습니다. 코드 구성, 화면 이동, 오프라인 사용 같은 기능을 위한 준비된 구조를 제공합니다.

사용하는 경우

  • ✓새 모바일 앱 프로젝트를 시작할 때.
  • ✓앱 화면 사이를 정리된 방식으로 이동하고 싶을 때.
  • ✓인터넷 연결이 없어도 앱이 작동해야 할 때.

스킬 링크

https://github.com/wshobson/agents/blob/main/plugins/frontend-mobile-development/skills/react-native-architecture/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/wshobson/agents/blob/main/plugins/frontend-mobile-development/skills/react-native-architecture/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“새 React Native 앱을 위해 코드를 어떻게 정리하면 좋을까요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 앱 코드를 정리하기 위한 폴더 구조를 제안합니다. 화면 이동을 설정하는 방법과, 오프라인에서도 앱이 잘 작동하도록 하는 팁도 보여줍니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

React Native Architecture

Production-ready patterns for React Native development with Expo, including navigation, state management, native modules, and offline-first architecture.

When to Use This Skill

  • Starting a new React Native or Expo project
  • Implementing complex navigation patterns
  • Integrating native modules and platform APIs
  • Building offline-first mobile applications
  • Optimizing React Native performance
  • Setting up CI/CD for mobile releases

Core Concepts

1. Project Structure

src/
├── app/                    # Expo Router screens
│   ├── (auth)/            # Auth group
│   ├── (tabs)/            # Tab navigation
│   └── _layout.tsx        # Root layout
├── components/
│   ├── ui/                # Reusable UI components
│   └── features/          # Feature-specific components
├── hooks/                 # Custom hooks
├── services/              # API and native services
├── stores/                # State management
├── utils/                 # Utilities
└── types/                 # TypeScript types

2. Expo vs Bare React Native

Feature Expo Bare RN
Setup complexity Low High
Native modules EAS Build Manual linking
OTA updates Built-in Manual setup
Build service EAS Custom CI
Custom native code Config plugins Direct access

Quick Start

# Create new Expo project
npx create-expo-app@latest my-app -t expo-template-blank-typescript

# Install essential dependencies
npx expo install expo-router expo-status-bar react-native-safe-area-context
npx expo install @react-native-async-storage/async-storage
npx expo install expo-secure-store expo-haptics
// app/_layout.tsx
import { Stack } from 'expo-router'
import { ThemeProvider } from '@/providers/ThemeProvider'
import { QueryProvider } from '@/providers/QueryProvider'

export default function RootLayout() {
  return (
    <QueryProvider>
      <ThemeProvider>
        <Stack screenOptions={{ headerShown: false }}>
          <Stack.Screen name="(tabs)" />
          <Stack.Screen name="(auth)" />
          <Stack.Screen name="modal" options={{ presentation: 'modal' }} />
        </Stack>
      </ThemeProvider>
    </QueryProvider>
  )
}

Detailed patterns and worked examples

Detailed pattern documentation lives in references/details.md. Read that file when the navigation tier above is insufficient.

Best Practices

Do's

  • Use Expo - Faster development, OTA updates, managed native code
  • FlashList over FlatList - Better performance for long lists
  • Memoize components - Prevent unnecessary re-renders
  • Use Reanimated - 60fps animations on native thread
  • Test on real devices - Simulators miss real-world issues

Don'ts

  • Don't inline styles - Use StyleSheet.create for performance
  • Don't fetch in render - Use useEffect or React Query
  • Don't ignore platform differences - Test on both iOS and Android
  • Don't store secrets in code - Use environment variables
  • Don't skip error boundaries - Mobile crashes are unforgiving
자주 묻는 질문

Expo가 무엇인가요?

Expo는 React Native 앱 개발을 쉽게 해 주는 도구입니다. 복잡한 설정 대부분을 대신 처리해 줍니다.

'오프라인 우선'은 무슨 뜻인가요?

인터넷 연결이 없어도 앱이 작동하도록 설계되었다는 뜻입니다. 데이터를 저장해 두었다가 나중에 동기화합니다.

네이티브 프로그래밍(Swift/Kotlin)을 알아야 하나요?

대개는 알 필요가 없습니다. Expo와 React Native가 대부분을 처리합니다. 다만 필요하면 네이티브 코드를 연결할 수 있다는 내용도 스킬에 포함되어 있습니다.

상세 정보

작성자의 원본 설명

Build production React Native apps with Expo, navigation, native modules, offline sync, and cross-platform patterns. Use when developing mobile apps, implementing native integrations, or architecting React Native projects.

repo: wshobson/agents

인기도

GitHub 스타
41k
순위
#6700
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬