Skip to content
Skill

Create react native library

Scaffolds React Native libraries and local native modules with create-react-native-library

Create react native library is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
1.7K
Last commit
License
MIT
Listing updated

Similar skills

About Create react native library

This skill guides an agent through creating a React Native library with the create-react-native-library CLI. It separates two paths: a standalone library intended for npm publishing, and a local library added inside an existing app with autolinking. Each path points to its own reference document with the detailed steps.

The skill covers choosing between a JS-only library, a Turbo Module that exposes native functionality to JavaScript, or a native view component. It shows how to check the CLI options first and then run the scaffold non-interactively, passing flags such as the description, module type, native languages and example app.

It expects Node.js with npx available, and the user should supply a library name and description. Native code is written in Kotlin and Objective-C or Swift depending on the chosen language option. The skill ships no scripts of its own and relies on the published CLI.

When your agent uses it

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 the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 4 files (11 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

Copy the skill folder to ~/.claude/skills/create-react-native-library to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/callstackincubator/agent-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/create-react-native-library &&
cp -R "$tmp/skills/create-react-native-library" ~/.claude/skills/create-react-native-library &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/create-react-native-library inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/create-react-native-library to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/callstackincubator/agent-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/create-react-native-library &&
cp -R "$tmp/skills/create-react-native-library" ~/.agents/skills/create-react-native-library &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/create-react-native-library inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/create-react-native-library to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/callstackincubator/agent-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/create-react-native-library &&
cp -R "$tmp/skills/create-react-native-library" ~/.cursor/skills/create-react-native-library &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/create-react-native-library inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/callstackincubator/agent-skills.git --path skills/create-react-native-library

Or copy the folder to ~/.gemini/skills/create-react-native-library yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/create-react-native-library:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/callstackincubator/agent-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/create-react-native-library &&
cp -R "$tmp/skills/create-react-native-library" ~/.copilot/skills/create-react-native-library &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/create-react-native-library inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/callstackincubator/agent-skills.git

Then copy agent-skills/skills/create-react-native-library into your agent's skills folder as create-react-native-library. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Two scaffolding flows
Separates new standalone libraries meant for npm from local libraries added to an existing app.
Non-interactive CLI commands
Provides ready commands that pass name, description, module type and language flags to the CLI.
Turbo Module and view options
Covers native modules exposing functionality to JavaScript and native UI components rendering views.
Example app setup
Includes choosing an example app, such as Expo, when scaffolding a new library.
Local autolinking integration
Explains adding a native library to an existing React Native app through autolinking.

Good for

  • Create a new React Native library to publish on npm
  • Add a native module to an existing React Native app
  • Wrap a native SDK so JavaScript code can call it
  • Build a native view component for React Native
  • Check available create-react-native-library options before scaffolding

Create react native library FAQ

When does Create react native library trigger?

It applies when creating or working on a React Native library with create-react-native-library, or when adding native functionality to an existing app.

Which flow should I pick?

Use the scaffold-library reference for a new library that may be published to npm, and the local-library reference for exposing native functionality inside a React Native app.

Does the skill include scripts?

No. It contains only the SKILL.md instructions and reference documents that point to the create-react-native-library CLI.

How do I install Create react native library in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/create-react-native-library to use it in all your projects, or to .claude/skills/create-react-native-library in one project.

Does Create react native library run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Create react native library?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Create react native library?

The closest alternatives to Create react native library are Expo module, Expo examples, Expo brownfield, Expo router and Upgrading react native.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from callstackincubator/agent-skills

  1. Checks the repo's skills against the agentskills.io spec and Claude Code guidelines

    • Open source
    • 1.7K GitHub stars
    • Developer tools
  2. Lets an agent drive iOS, tvOS, macOS and Android apps via snapshots and taps

    • Open source
    • 1.7K GitHub stars
    • Browser automation
  3. Guides an agent through exploratory QA of a mobile app with evidence-backed bug reports

    • Open source
    • 1.7K GitHub stars
    • Developer tools
  4. Guides writing React Native component tests with React Native Testing Library v13 and v14

    • Open source
    • 1.7K GitHub stars
    • Developer tools
  5. Sets up CI workflows that build React Native simulator and emulator apps and publish

    • Open source
    • 1.7K GitHub stars
    • Developer tools