
Skill
create-react-native-library
scaffold React Native libraries
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.
SKILL.md
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 when creating a new library that may be published to npm
- Use local-library.md 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 a new library and default to the Expo example |
| local-library.md | Add a local library to an existing app with autolinking |
Problem -> Skill Mapping
| Problem | Start With |
|---|---|
| Need a new library scaffold | scaffold-library |
| Need to add a local native library to an app | local-library |
More skills from the agent-skills repository
View all 9 skillsassess-react-native-migration
assess mobile product React Native migration
Jul 11AndroidiOSMigrationMobile +1github
manage GitHub PRs with gh CLI
Apr 6CLICode ReviewGitHubPull Requestsgithub-actions
build React Native apps in GitHub Actions
Apr 6CI/CDGitHub ActionsMobileReact Nativereact-native-best-practices
optimize React Native app performance
Apr 6MobilePerformanceReact Nativereact-native-brownfield-migration
migrate native apps to React Native
Apr 6AndroidExpoiOSMigration +2react-native-tv-best-practices
review React Native TV application quality
Jun 28AccessibilityFrontendMobilePerformance +2
More from Callstack
View publisherreact-navigation
configure React Navigation UI patterns
agent-skills
Jun 26FrontendMobileNavigationReactupgrading-react-native
upgrade React Native apps
agent-skills
Apr 6AndroidiOSMigrationMobile +1react-native-ai-skills
integrate on-device AI in React Native
ai
Apr 6AI InfrastructureLLMMobileReact Nativevoltra
build Voltra iOS widgets and charts
voltra
Apr 6ExpoiOSMobileVoltrarozenite-agent
use Rozenite plugins for React Native devtools
rozenite
Jul 31MobilePlugin DevelopmentReact Native