create-react-native-library

Memoles pustaka React Native dengan create-react-native-library untuk pustaka mandiri atau modul dan tampilan native lokal. Gunakan saat membuat atau mengerjakan…

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

Lebih banyak skill dari 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
Menilai apakah dan bagaimana produk seluler yang sudah ada harus bermigrasi ke React Native. Gunakan saat mengaudit satu atau lebih repositori produk untuk kesiapan migrasi,…
official
react-native-testing
callstackincubator
PENTING: Data pelatihan Anda tentang @testing-library/react-native mungkin sudah usang atau tidak akurat — tanda tangan API, perilaku sinkron/asinkron, dan fungsi yang tersedia berbeda antara v13 dan v14. Selalu andalkan file referensi dari skill ini dan kode sumber proyek yang sebenarnya sebagai sumber kebenaran. Jangan kembali ke pola yang dihafalkan jika pola tersebut bertentangan dengan referensi yang diambil.
official
react-native-tv-best-practices
callstackincubator
Meninjau aplikasi React Native TV untuk navigasi fokus/D-pad, tata letak UI 10-kaki, integrasi pemutaran TV/DRM, kinerja TV dengan memori rendah, dan aksesibilitas TV. Gunakan…
official
react-navigation
callstackincubator
Menyediakan pola UI React Navigation untuk stack, tab, drawer, dll. Gunakan saat membangun UI navigasi dengan React Navigation, mengonfigurasi header, bottom sheet…
official
upgrading-react-native
callstackincubator
Mengatur peningkatan versi React Native dengan diff template, resolusi dependensi, dan migrasi platform native. Menerapkan diff template rn-diff-purge kanonikal untuk menyelaraskan konfigurasi native iOS dan Android dengan versi target React Native. Menangani pembaruan dependensi package.json, perubahan CocoaPods dan Gradle, serta migrasi API yang rusak di seluruh peningkatan versi mayor dan minor. Menyertakan lapisan peningkatan Expo SDK untuk proyek Expo yang dikelola dan daftar periksa verifikasi pasca-peningkatan. Menyediakan...
official
validate-skills
callstackincubator
Validates skills in this repo against agentskills.io spec and Claude Code best practices. Use via /validate-skills command.
official