build-nitro-modules

Generate React Native Nitro Modules with Nitrogen codegen and native bindings.

3|Updated Jan 7, 2026
One-click install
npx skills add https://github.com/jonluca/palate --skill build-nitro-modules-jonluca
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: build-nitro-modules
Source: https://github.com/jonluca/palate/tree/main/.agents/skills/build-nitro-modules
Command: npx skills add https://github.com/jonluca/palate --skill build-nitro-modules-jonluca

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a comprehensive workflow for building and designing React Native Nitro Modules, from creating a monorepo to implementing the native code and running tests.

Core Features & Use Cases

  • Monorepo Scaffolding: Generates a monorepo structure with TypeScript HybridObject specs, native code generation, and example apps.
  • HybridObject Spec Authoring: Allows users to define TypeScript HybridObject specs for Nitro Modules.
  • Native Code Generation: Generates native C++/Swift/Kotlin code from HybridObject specs.
  • Platform Implementation: Provides guidelines for implementing native functionality for different platforms.
  • Example App Wiring: Includes example apps to demonstrate the usage of Nitro Modules.
  • Testing: Provides guidelines for testing Nitro Modules.

Quick Start

Use the build-nitro-modules skill to generate a new Nitro Module using Nitrogen and run the example app on your device.

Frequently Asked Questions about build-nitro-modules

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build React Native Nitro Modules with Nitrogen?

You can build React Native Nitro Modules by authoring TypeScript HybridObject specs and using Nitrogen to generate native C++, Swift, and Kotlin implementations within a scaffolded monorepo.

How do I generate native Swift and Kotlin code from a TypeScript spec?

Generating native Swift and Kotlin code from a TypeScript spec is done through the Nitrogen codegen pipeline, which translates HybridObject definitions into platform-specific bindings.

What is a HybridObject in Nitro Modules?

A HybridObject in Nitro Modules is a TypeScript specification that defines the API for a native module, enabling zero-copy data access and native-state management across C++, Swift, and Kotlin.

Can I use Nitro Modules to implement zero-copy APIs in React Native?

Yes, you can use Nitro Modules to implement zero-copy APIs in React Native, allowing direct native-state access and efficient data handling without serializing payloads across the bridge.

Do I need to set up a monorepo to create a React Native Nitro Module?

Setting up a monorepo is the recommended workflow for creating a React Native Nitro Module, as it organizes TypeScript specs, generated native code, and example apps into a unified structure.

How do I test React Native Nitro Modules?

Testing React Native Nitro Modules involves following provided guidelines to validate the generated native implementations and example app integrations across iOS and Android platforms.