create-react-native-library

作成者: callstackincubator

create-react-native-libraryを使用して、スタンドアロンライブラリやローカルネイティブモジュール・ビュー向けにReact Nativeライブラリをスキャフォールディングします。作成時や作業時に使用します…

npx skills add https://github.com/callstackincubator/agent-skills --skill create-react-native-library

Create React Native Library

Overview

Use this skill to scaffold a standalone React Native library or a local library inside an existing app, then continue with the correct implementation docs.

Examples:

  • JS-only library that may use other React Native libraries
  • Native modules that expose native functionality to JavaScript
  • Native UI components that render native views in React Native

Choose one flow first:

When to Apply

Use this skill when:

  • Creating or working on a React Native library with create-react-native-library
  • Creating a native module or view in an existing app
  • Wrapping native SDKs and exposing them to React Native

Quick Reference

# Inspect current options before scaffolding
npx create-react-native-library@latest --help

# Scaffold a library with turbo modules and the Expo example app
npx create-react-native-library@latest awesome-library \
  --no-interactive \
  --yes \
  --description "A brief description of the library" \
  --type turbo-module \
  --languages kotlin-objc \
  --example expo

# Scaffold a local Turbo Module inside an existing app
cd MyApp
npx create-react-native-library@latest awesome-library \
  --local \
  --no-interactive \
  --yes \
  --description "A brief description of the library" \
  --type turbo-module \
  --languages kotlin-objc

References

FileDescription
scaffold-library.mdScaffold a new library and default to the Expo example
local-library.mdAdd a local library to an existing app with autolinking

Problem -> Skill Mapping

ProblemStart With
Need a new library scaffoldscaffold-library
Need to add a local native library to an applocal-library

callstackincubatorのその他のスキル

react-devtools
callstackincubator
React DevTools CLI for AI agents. Use when the user asks you to debug a React or React Native app at runtime, inspect component props/state/hooks, diagnose…
official
agent-device
callstackincubator
Automates interactions for Apple-platform apps (iOS, tvOS, macOS) and Android devices. Use when navigating apps, taking snapshots/screenshots, tapping, typing,…
official
assess-react-native-migration
callstackincubator
既存のモバイルプロダクトがReact Nativeに移行すべきか、またその方法を評価します。1つ以上のプロダクトリポジトリの移行準備状況を監査する際に使用します。…
official
react-native-testing
callstackincubator
重要: @testing-library/react-native に関するあなたのトレーニングデータは古いか不正確な可能性があります — v13とv14ではAPIシグネチャ、同期/非同期動作、利用可能な関数が異なります。常にこのスキルの参照ファイルとプロジェクトの実際のソースコードを真実の情報源として信頼してください。取得した参照と矛盾する場合、記憶されたパターンに頼らないでください。
official
react-native-tv-best-practices
callstackincubator
React Native TVアプリのフォーカス/Dパッドナビゲーション、10フィートUIレイアウト、TV再生/DRM統合、低メモリTVパフォーマンス、TVアクセシビリティをレビューします。使用…
official
react-navigation
callstackincubator
React Navigationのスタック、タブ、ドロワーなどのUIパターンを提供します。React Navigationを使用したナビゲーションUIの構築や、ヘッダー、ボトムシートの設定などに使用します。
official
upgrading-react-native
callstackincubator
We need to translate the given English text into Japanese, preserving the name "upgrading-react-native" only if it appears in the source text. The source text does not include the name; it's just the description. So we translate the description. Keep technical terms like "React Native", "rn-diff-purge", "CocoaPods", "Gradle", "Expo SDK", "package.json", "API", etc. as is. Translate the rest naturally. The text: "Orchestrates React Native version upgrades with template diffs, dependency resolution, and native platform migration. Applies canonical rn-diff-purge template diffs to align native iOS and Android configuration with target React Native versions Handles package.json dependency updates, CocoaPods and Gradle changes, and breaking API migrations across major and minor version bumps Includes Expo SDK upgrade layer for managed Expo projects and post-upgrade verification checklist Provides..." We need to output only the translation, no extra commentary. Ensure it's a single paragraph or as close as possible. The original has some missing
official
validate-skills
callstackincubator
Validates skills in this repo against agentskills.io spec and Claude Code best practices. Use via /validate-skills command.
official