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

rozenite-agent
callstackincubator
Use Rozenite for Agents through CLI-driven `rozenite agent` commands to inspect React Native DevTools data and Rozenite plugins on a live app target. Trigger…
assess-react-native-migration
callstackincubator
मूल्यांकन करता है कि किसी मौजूदा मोबाइल उत्पाद को React Native में माइग्रेट करना चाहिए या नहीं और कैसे करना चाहिए। एक या अधिक उत्पाद रिपॉजिटरी की माइग्रेशन तत्परता का ऑडिट करते समय उपयोग करें,…
react-native-testing
callstackincubator
महत्वपूर्ण: @testing-library/react-native के बारे में आपका प्रशिक्षण डेटा पुराना या गलत हो सकता है — API हस्ताक्षर, सिंक/एसिंक व्यवहार, और उपलब्ध फ़ंक्शन v13 और v14 के बीच भिन्न हैं। हमेशा इस कौशल की संदर्भ फ़ाइलों और प्रोजेक्ट के वास्तविक स्रोत कोड को सत्य का स्रोत मानें। जब याद किए गए पैटर्न प्राप्त संदर्भ से टकराते हैं, तो उन पर निर्भर न हों।
react-native-tv-best-practices
callstackincubator
React Native TV ऐप्स की फोकस/डी-पैड नेविगेशन, 10-फुट UI लेआउट, टीवी प्लेबैक/DRM एकीकरण, कम मेमोरी वाले टीवी प्रदर्शन और टीवी पहुंच-योग्यता की समीक्षा करता है। उपयोग करें…
react-navigation
callstackincubator
React Navigation के लिए स्टैक, टैब, ड्रॉअर आदि के UI पैटर्न प्रदान करता है। React Navigation के साथ नेविगेशन UI बनाते समय, हेडर, बॉटम शीट कॉन्फ़िगर करते समय उपयोग करें।
upgrading-react-native
callstackincubator
React Native संस्करण उन्नयन को टेम्पलेट अंतर, निर्भरता समाधान और मूल प्लेटफ़ॉर्म माइग्रेशन के साथ व्यवस्थित करता है। लक्ष्य React Native संस्करणों के साथ मूल iOS और Android कॉन्फ़िगरेशन को संरेखित करने के लिए विहित rn-diff-purge टेम्पलेट अंतर लागू करता है। प्रमुख और मामूली संस्करण वृद्धि में package.json निर्भरता अपडेट, CocoaPods और Gradle परिवर्तन, और ब्रेकिंग API माइग्रेशन को संभालता है। प्रबंधित Expo परियोजनाओं के लिए Expo SDK उन्नयन परत और उन्नय
vercel-react-native-skills
callstackincubator
React Native और Expo के साथ प्रदर्शनकारी मोबाइल ऐप बनाने के लिए सर्वोत्तम अभ्यास। React Native घटक बनाते समय, सूची प्रदर्शन को अनुकूलित करते समय, कार्यान्वित करते समय उपयोग करें…
agent-device
callstackincubator
iOS और Android ऐप इंटरैक्शन को स्नैपशॉट-आधारित खोज और सेलेक्टर-संचालित रीप्ले के साथ स्वचालित करें। iOS सिम्युलेटर/डिवाइस और Android एमुलेटर/डिवाइस को सपोर्ट करता है, जिसमें सत्र-बद्ध ऑटोमेशन, मल्टी-टेनेंट रिमोट डेमन मोड और QA वर्कफ़्लो के लिए डिवाइस-स्कोप आइसोलेशन शामिल है। मुख्य कमांड: UI खोज के लिए रेफ़ के साथ स्नैपशॉट, इंटरैक्शन के लिए प्रेस/फ़िल/स