Catalogue / create-react-native-library
create-react-native-library
MITSignedScaffolds React Native libraries with create-react-native-library for standalone libraries or local native modules and views. Use when creating or working on React Native libraries or adding native functionality in an existing app.--- name: create-react-native-library description: Scaffolds React Native libraries with create-react-native-library for standalone libraries or local native modules and views. Use when creating or working on React Native libraries or adding native functionality in an existing app. license: MIT ---
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:
- Use [scaffold-library.md][scaffold-library] when creating a new library that may be published to npm
- Use [local-library.md][local-library] when exposing native functionality in a React Native app
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
| File | Description | | --------------------------------------- | ------------------------------------------------------- | | [scaffold-library.md][scaffold-library] | Scaffold a new library and default to the Expo example | | [local-library.md][local-library] | Add a local library to an existing app with autolinking |
Problem -> Skill Mapping
| Problem | Start With | | -------------------------------------------- | ------------------------------------ | | Need a new library scaffold | [scaffold-library][scaffold-library] | | Need to add a local native library to an app | [local-library][local-library] |
[scaffold-library]: references/scaffold-library.md [local-library]: references/local-library.md
| File | Size | SHA-256 |
|---|---|---|
| SKILL.md | 2.7 kB | 72fc31f0dbf0 |
| SKILVAULT_SOURCE.json | 1.5 kB | 2c0f84b3bc04 |
| THIRD_PARTY_NOTICES.md | 1.1 kB | 17a82dfbc780 |
| agents/openai.yaml | 386 B | 74c946eab88b |
| references/local-library.md | 3.8 kB | 1981b63b95d7 |
| references/scaffold-library.md | 4.5 kB | c438a89f0f94 |
Published verbatim from the pinned commit. Nothing is rewritten.
| Version | Pinned commit | Signed | |
|---|---|---|---|
| 0.1.0 Current | 59e9d17446a2 | 20 Nov 2026 |
Locking a skill to one version needs Pro.