Official코딩 & 개발github.com

vercel-react-native-skills

React Native 및 Expo 애플리케이션에서 뛰어난 성능을 발휘하기 위한 모범 사례 규칙 모음입니다.

vercel-react-native-skills란 무엇인가요?

이 스킬은 React Native 및 Expo 기반 모바일 애플리케이션 개발 시 성능, 애니메이션, UI 패턴, 상태 관리, 네비게이션, 모노레포 구성 등 다양한 측면에서 최적화된 모범 사례를 제공합니다. 총 8개의 우선순위 카테고리로 나뉘어 있으며, 리스트 성능(FlashList 사용, 메모이제이션, 콜백 안정화 등)은 가장 중요하게 다루어집니다. 애니메이션은 Reanimated 라이브러리를 기반으로 transform과 opacity 속성만을 애니메이션 대상으로 삼도록 권장하며, UI 패턴에서는 expo-image, Galeria, Pressable, 네이티브 모달, 콘텍스트 메뉴 등 최신 Expo 생태계에 최적화된 컴포넌트 사용법을 제시합니다. 각 규칙은 우선순위, 영향도, 접두사와 함께 파일로 제공되어 개발자가 필요에 따라 참조할 수 있으며, Claude Code, Cursor, Codex와 같은 AI 에이전트가 코드 리뷰 시 자동으로 적용할 수 있도록 설계되어 있습니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/vercel-labs/agent-skills/tree/main/skills/react-native-skills

Installed? Explore more 코딩 & 개발 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

React Native Skills

React Native 및 Expo 애플리케이션을 위한 포괄적인 모범 사례 모음입니다. 성능, 애니메이션, UI 패턴, 플랫폼별 최적화 등 다양한 카테고리의 규칙을 포함합니다.

적용 시점

다음 상황에서 이 가이드라인을 참조하세요:

  • React Native 또는 Expo 앱을 빌드할 때
  • 리스트 및 스크롤 성능을 최적화할 때
  • Reanimated로 애니메이션을 구현할 때
  • 이미지 및 미디어 작업을 할 때
  • 네이티브 모듈이나 폰트를 구성할 때
  • 네이티브 종속성을 포함한 모노레포 프로젝트를 구조화할 때

규칙 카테고리별 우선순위

우선순위카테고리영향도접두사
1리스트 성능치명적list-performance-
2애니메이션높음animation-
3네비게이션높음navigation-
4UI 패턴높음ui-
5상태 관리중간react-state-
6렌더링중간rendering-
7모노레포중간monorepo-
8설정낮음fonts-, imports-

빠른 참조

1. 리스트 성능 (치명적)

  • list-performance-virtualize - 큰 리스트에는 FlashList 사용
  • list-performance-item-memo - 리스트 아이템 컴포넌트 메모이제이션
  • list-performance-callbacks - 콜백 참조 안정화
  • list-performance-inline-objects - 인라인 스타일 객체 사용 금지
  • list-performance-function-references - 함수를 렌더 외부로 추출
  • list-performance-images - 리스트 내 이미지 최적화
  • list-performance-item-expensive - 비용이 큰 작업을 아이템 외부로 이동
  • list-performance-item-types - 이종 리스트에 아이템 타입 사용

2. 애니메이션 (높음)

  • animation-gpu-properties - transform과 opacity만 애니메이션 대상으로 사용
  • animation-derived-value - 계산된 애니메이션에는 useDerivedValue 사용
  • animation-gesture-detector-press - Pressable 대신 Gesture.Tap 사용

3. 네비게이션 (높음)

  • navigation-native-navigators - JS 네비게이터 대신 네이티브 스택 및 네이티브 탭 사용

4. UI 패턴 (높음)

  • ui-expo-image - 모든 이미지에 expo-image 사용
  • ui-image-gallery - 이미지 라이트박스에 Galeria 사용
  • ui-pressable - TouchableOpacity 대신 Pressable 사용
  • ui-safe-area-scroll - ScrollView에서 SafeArea 처리
  • ui-scrollview-content-inset - 헤더에 contentInset 사용
  • ui-menus - 네이티브 컨텍스트 메뉴 사용
  • ui-native-modals - 가능하면 네이티브 모달 사용
  • ui-measure-views - measure() 대신 onLayout 사용
  • ui-styling - StyleSheet.create 또는 Nativewind 사용

5. 상태 관리 (중간)

  • react-state-minimize - 상태 구독 최소화
  • react-state-dispatcher - 콜백에 디스패처 패턴 사용
  • react-state-fallback - 첫 번째 렌더 시 폴백 표시
  • react-compiler-destructure-functions - React Compiler를 위한 구조 분해 할당
  • react-compiler-reanimated-shared-values - 컴파일러와 함께 공유 값 처리

6. 렌더링 (중간)

  • rendering-text-in-text-component - 텍스트를 Text 컴포넌트로 감싸기
  • rendering-no-falsy-and - 조건부 렌더링 시 falsy && 사용 금지

7. 모노레포 (중간)

  • monorepo-native-deps-in-app - 네이티브 종속성을 앱 패키지에 유지
  • monorepo-single-dependency-versions - 패키지 간 단일 버전 사용

8. 설정 (낮음)

  • fonts-config-plugin - 사용자 정의 폰트에 설정 플러그인 사용
  • imports-design-system-folder - 디자인 시스템 임포트 구성
  • js-hoist-intl - Intl 객체 생성 호이스팅

사용 방법

개별 규칙 파일에서 자세한 설명과 코드 예제를 확인하세요:

rules/list-performance-virtualize.md
rules/animation-gpu-properties.md

각 규칙 파일에는 다음이 포함됩니다:

  • 규칙이 중요한 이유에 대한 간단한 설명
  • 잘못된 코드 예제와 설명
  • 올바른 코드 예제와 설명
  • 추가 컨텍스트 및 참고 자료

전체 컴파일 문서

모든 규칙이 확장된 전체 가이드는 AGENTS.md 파일을 참조하세요.

Individual skills in this repo

This repo contains 11 individual skills — each has its own dedicated page.

deploy-to-vercel

Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".

vercel-cli-with-tokens

Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g.

vercel-composition-patterns

React composition patterns that scale. Use when refactoring components with

vercel-labs/vercel-composition-patterns

React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.

vercel-labs/vercel-react-best-practices

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.

vercel-labs/vercel-react-native-skills

React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.

vercel-labs/vercel-react-view-transitions

Guide for implementing smooth, native-feeling animations using React's View Transition API (`<ViewTransition>` component, `addTransitionType`, and CSS view transition pseudo-elements). Use this skill whenever the user wants to add page transitions, animate route changes, create shared element animations, animate enter/exit of components, animate list reorder, implement directional (forward/back) navigation animations, or integrate view transitions in Next.js. Also use when the user mentions view transitions, `startViewTransition`, `ViewTransition`, transition types, or asks about animating between UI states in React without third-party animation libraries.

vercel-optimize

Use for Vercel cost and performance optimization on deployed projects, especially Next.js, SvelteKit, Nuxt, and limited Astro apps. Collect Vercel metrics, usage, project config, and code scan results first; investigate only metric-backed candidates; produce ranked recommendations grounded in verified files and version-aware Vercel/framework docs. Trigger for Vercel bill reduction, slow or expensive routes, caching opportunities, Function Invocations, Build Minutes, Fast Data Transfer, Core Web Vitals, Bot Management, Fluid compute, or cost breakdown requests.

vercel-react-best-practices

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.

web-design-guidelines

Review UI code for Web Interface Guidelines compliance. Use when asked to

writing-guidelines

Review docs/prose for Writing Guidelines compliance. Use when asked to

관련 스킬