Skip to content
Mobile
Skill

/create-react-native-library

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.

From plugin
agent-skills
1.7k10 skills

Claude Code

$ npx -y skills add callstackincubator/agent-skills --skill create-react-native-library --agent claude-code

SKILL.md

create-react-native-library.SKILL.md
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

Read more
@callstackincubator
Ships withagent-skills

Callstack Agent Skills give AI coding assistants practical React Native knowledge drawn from our work on production apps.

Stars on GitHub

Momentum

stars in total
1.7k
Star history of callstackincubator/agent-skills on GitHub, a chart by star-history.com

Other skills on agent-skills.

More skills from other plugins.

deep-code-review

deep-code-review

In-depth design-focused code review - understands codebase context before evaluating PR changes, posts structured feedback to…

expo1d53k
@expo@expoInstall Skill
modlens

modlens

Plug-in vision for text-only models. Hard rule: when a file path or URL with an image extension (.png, .jpg, .jpeg, .webp, .gif,…

modlens2w4.6k
@liustack@liustackInstall Skill
appllama-app-design-skill

appllama-app-design-sk…

Build native-feeling, benchmark-quality mobile app screens (Expo / React Native). Use when designing or implementing any mobile…

appllama2mo3.9k
@appllama@appllamaInstall Skill

Questions about create-react-native-library.

Which coding agents can use create-react-native-library?
create-react-native-library installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.