jpskill.com
🛠️ 開発・MCP コミュニティ

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.

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o vercel-react-native-skills.zip https://jpskill.com/download/21003.zip && unzip -o vercel-react-native-skills.zip && rm vercel-react-native-skills.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/21003.zip -OutFile "$d\vercel-react-native-skills.zip"; Expand-Archive "$d\vercel-react-native-skills.zip" -DestinationPath $d -Force; ri "$d\vercel-react-native-skills.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して vercel-react-native-skills.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → vercel-react-native-skills フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
2

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

React Native Skills

React NativeおよびExpoアプリケーションのための包括的なベストプラクティスです。パフォーマンス、アニメーション、UIパターン、プラットフォーム固有の最適化を網羅する複数のカテゴリにわたるルールが含まれています。

適用場面

以下の状況でこれらのガイドラインを参照してください。

  • React NativeまたはExpoアプリを構築する際
  • リストとスクロールのパフォーマンスを最適化する際
  • Reanimatedでアニメーションを実装する際
  • 画像とメディアを扱う際
  • ネイティブモジュールやフォントを設定する際
  • ネイティブ依存関係を持つモノレポプロジェクトを構築する際

優先度別ルールカテゴリ

優先度 カテゴリ 影響度 接頭辞
1 List Performance CRITICAL list-performance-
2 Animation HIGH animation-
3 Navigation HIGH navigation-
4 UI Patterns HIGH ui-
5 State Management MEDIUM react-state-
6 Rendering MEDIUM rendering-
7 Monorepo MEDIUM monorepo-
8 Configuration LOW fonts-, imports-

クイックリファレンス

1. リストパフォーマンス (CRITICAL)

  • 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. アニメーション (HIGH)

  • animation-gpu-properties - transformとopacityのみをアニメーション化します
  • animation-derived-value - 計算されたアニメーションにはuseDerivedValueを使用します
  • animation-gesture-detector-press - Pressableの代わりにGesture.Tapを使用します

3. ナビゲーション (HIGH)

  • navigation-native-navigators - JSナビゲーターよりもネイティブスタックとネイティブタブを使用します

4. UIパターン (HIGH)

  • ui-expo-image - すべての画像にexpo-imageを使用します
  • ui-image-gallery - 画像ライトボックスにはGaleriaを使用します
  • ui-pressable - TouchableOpacityの代わりにPressableを使用します
  • ui-safe-area-scroll - ScrollViewでセーフエリアを処理します
  • ui-scrollview-content-inset - ヘッダーにはcontentInsetを使用します
  • ui-menus - ネイティブコンテキストメニューを使用します
  • ui-native-modals - 可能な場合はネイティブモーダルを使用します
  • ui-measure-views - measure()ではなくonLayoutを使用します
  • ui-styling - StyleSheet.createまたはNativewindを使用します

5. 状態管理 (MEDIUM)

  • react-state-minimize - 状態のサブスクリプションを最小限に抑えます
  • react-state-dispatcher - コールバックにはディスパッチャーパターンを使用します
  • react-state-fallback - 初回レンダー時にフォールバックを表示します
  • react-compiler-destructure-functions - React Compilerのために分割代入を使用します
  • react-compiler-reanimated-shared-values - コンパイラで共有値を処理します

6. レンダリング (MEDIUM)

  • rendering-text-in-text-component - テキストをTextコンポーネントで囲みます
  • rendering-no-falsy-and - 条件付きレンダリングにfalsy &&を避けます

7. モノレポ (MEDIUM)

  • monorepo-native-deps-in-app - ネイティブ依存関係はアプリパッケージに保持します
  • monorepo-single-dependency-versions - パッケージ間で単一のバージョンを使用します

8. 設定 (LOW)

  • fonts-config-plugin - カスタムフォントにはconfig pluginsを使用します
  • imports-design-system-folder - デザインシステムインポートを整理します
  • js-hoist-intl - Intlオブジェクトの作成を巻き上げます

使用方法

詳細な説明とコード例については、個々のルールファイルをお読みください。

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

各ルールファイルには以下が含まれています。

  • なぜそれが重要なのかの簡単な説明
  • 誤ったコード例とその説明
  • 正しいコード例とその説明
  • 追加のコンテキストと参照

完全なコンパイル済みドキュメント

すべてのルールが展開された完全なガイドについては、AGENTS.mdをご覧ください。

📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

React Native Skills

Comprehensive best practices for React Native and Expo applications. Contains rules across multiple categories covering performance, animations, UI patterns, and platform-specific optimizations.

When to Apply

Reference these guidelines when:

  • Building React Native or Expo apps
  • Optimizing list and scroll performance
  • Implementing animations with Reanimated
  • Working with images and media
  • Configuring native modules or fonts
  • Structuring monorepo projects with native dependencies

Rule Categories by Priority

Priority Category Impact Prefix
1 List Performance CRITICAL list-performance-
2 Animation HIGH animation-
3 Navigation HIGH navigation-
4 UI Patterns HIGH ui-
5 State Management MEDIUM react-state-
6 Rendering MEDIUM rendering-
7 Monorepo MEDIUM monorepo-
8 Configuration LOW fonts-, imports-

Quick Reference

1. List Performance (CRITICAL)

  • list-performance-virtualize - Use FlashList for large lists
  • list-performance-item-memo - Memoize list item components
  • list-performance-callbacks - Stabilize callback references
  • list-performance-inline-objects - Avoid inline style objects
  • list-performance-function-references - Extract functions outside render
  • list-performance-images - Optimize images in lists
  • list-performance-item-expensive - Move expensive work outside items
  • list-performance-item-types - Use item types for heterogeneous lists

2. Animation (HIGH)

  • animation-gpu-properties - Animate only transform and opacity
  • animation-derived-value - Use useDerivedValue for computed animations
  • animation-gesture-detector-press - Use Gesture.Tap instead of Pressable

3. Navigation (HIGH)

  • navigation-native-navigators - Use native stack and native tabs over JS navigators

4. UI Patterns (HIGH)

  • ui-expo-image - Use expo-image for all images
  • ui-image-gallery - Use Galeria for image lightboxes
  • ui-pressable - Use Pressable over TouchableOpacity
  • ui-safe-area-scroll - Handle safe areas in ScrollViews
  • ui-scrollview-content-inset - Use contentInset for headers
  • ui-menus - Use native context menus
  • ui-native-modals - Use native modals when possible
  • ui-measure-views - Use onLayout, not measure()
  • ui-styling - Use StyleSheet.create or Nativewind

5. State Management (MEDIUM)

  • react-state-minimize - Minimize state subscriptions
  • react-state-dispatcher - Use dispatcher pattern for callbacks
  • react-state-fallback - Show fallback on first render
  • react-compiler-destructure-functions - Destructure for React Compiler
  • react-compiler-reanimated-shared-values - Handle shared values with compiler

6. Rendering (MEDIUM)

  • rendering-text-in-text-component - Wrap text in Text components
  • rendering-no-falsy-and - Avoid falsy && for conditional rendering

7. Monorepo (MEDIUM)

  • monorepo-native-deps-in-app - Keep native dependencies in app package
  • monorepo-single-dependency-versions - Use single versions across packages

8. Configuration (LOW)

  • fonts-config-plugin - Use config plugins for custom fonts
  • imports-design-system-folder - Organize design system imports
  • js-hoist-intl - Hoist Intl object creation

How to Use

Read individual rule files for detailed explanations and code examples:

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

Each rule file contains:

  • Brief explanation of why it matters
  • Incorrect code example with explanation
  • Correct code example with explanation
  • Additional context and references

Full Compiled Document

For the complete guide with all rules expanded: AGENTS.md

同梱ファイル

※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。