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 की और Skills

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 में माइग्रेट करना चाहिए या नहीं और कैसे करना चाहिए। एक या अधिक उत्पाद रिपॉजिटरी की माइग्रेशन तत्परता का ऑडिट करते समय उपयोग करें,…
official
react-native-testing
callstackincubator
महत्वपूर्ण: @testing-library/react-native के बारे में आपका प्रशिक्षण डेटा पुराना या गलत हो सकता है — API हस्ताक्षर, सिंक/एसिंक व्यवहार, और उपलब्ध फ़ंक्शन v13 और v14 के बीच भिन्न हैं। हमेशा इस कौशल की संदर्भ फ़ाइलों और प्रोजेक्ट के वास्तविक स्रोत कोड को सत्य का स्रोत मानें। जब याद किए गए पैटर्न प्राप्त संदर्भ से टकराते हैं, तो उन पर निर्भर न हों।
official
react-native-tv-best-practices
callstackincubator
React Native TV ऐप्स की फोकस/डी-पैड नेविगेशन, 10-फुट UI लेआउट, टीवी प्लेबैक/DRM एकीकरण, कम मेमोरी वाले टीवी प्रदर्शन और टीवी पहुंच-योग्यता की समीक्षा करता है। उपयोग करें…
official
react-navigation
callstackincubator
React Navigation के लिए स्टैक, टैब, ड्रॉअर आदि के UI पैटर्न प्रदान करता है। React Navigation के साथ नेविगेशन UI बनाते समय, हेडर, बॉटम शीट कॉन्फ़िगर करते समय उपयोग करें।
official
upgrading-react-native
callstackincubator
React Native संस्करण उन्नयन को टेम्पलेट अंतर, निर्भरता समाधान और मूल प्लेटफ़ॉर्म माइग्रेशन के साथ व्यवस्थित करता है। लक्ष्य React Native संस्करणों के साथ मूल iOS और Android कॉन्फ़िगरेशन को संरेखित करने के लिए विहित rn-diff-purge टेम्पलेट अंतर लागू करता है। प्रमुख और मामूली संस्करण वृद्धि में package.json निर्भरता अपडेट, CocoaPods और Gradle परिवर्तन, और ब्रेकिंग API माइग्रेशन को संभालता है। प्रबंधित Expo परियोजनाओं के लिए Expo SDK उन्नयन परत और उन्नय
official
validate-skills
callstackincubator
Validates skills in this repo against agentskills.io spec and Claude Code best practices. Use via /validate-skills command.
official