$npx skillfedfor your agent

Build Nitro Modules

This skill covers the complete workflow for creating React Native Nitro Modules: scaffolding monorepos with Nitrogen, authoring TypeScript HybridObject specs, generating native boilerplate, implementing platform code in C++, Swift, and Kotlin, and preparing modules for publication. Learn how the codegen pipeline transforms `.nitro.ts` specs into native bindings, manage HybridObject state and lifecycle, design factory methods for native resources, and integrate example apps and testing. Pair with api-design for general library shape and with language-specific skills (swift, kotlin, cpp) for platform implementation details.

Build Nitro Modules teaches end-to-end development of React Native Nitro Modules using Nitrogen codegen, TypeScript specs, and native implementations.

AI-generated summary based on this skill's SKILL.md

148 7 unlicensed, metadata onlyupdated by margelo

Decision gist · record as of 2026-07-27

Build Nitro Modules teaches end-to-end development of React Native Nitro Modules using Nitrogen codegen, TypeScript specs, and native implementations. This skill covers the complete workflow for creating React Native Nitro Modules: scaffolding monorepos with Nitrogen, authoring TypeScript HybridObject specs, generating native boilerplate, implementing platform code in C++, Swift, and Kotlin, and preparing modules for publication. Learn how the codegen pipeline transforms `.nitro.ts` specs into native bindings, manage HybridObject state and lifecycle, design factory methods for native resources, and integrate example apps and testing. Pair with api-design for general library shape and with language-specific skills (swift, kotlin, cpp) for platform implementation details.

manual: git clone https://github.com/margelo/react-native-skills → cp -r react-native-skills ~/.claude/skills/build-nitro-modules

Use it when

  • Build Nitro Modules teaches the step-by-step development workflow: begin with monorepo scaffolding using Nitrogen.
  • Build Nitro Modules helps you get started by first scaffolding your monorepo with Nitrogen.
Same gist for agents: .md · .json

Install

margelo/react-native-skills/build-nitro-modules

generated, unverified - the skill's exact subdirectory could not be determined; check the repository on GitHub

Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How to build Nitro modules for React Native?

Build Nitro Modules covers the complete workflow for creating React Native Nitro Modules. Start by scaffolding a monorepo with Nitrogen, then author TypeScript HybridObject specs in `.nitro.ts` files. The codegen pipeline automatically transforms these specs into native bindings. Implement platform code in C++, Swift, and Kotlin, manage HybridObject state and lifecycle, and design factory methods for native resources. Finally, integrate example apps, add testing, and prepare your module for publication.

What is the Nitro module development guide workflow?

Build Nitro Modules teaches the step-by-step development workflow: begin with monorepo scaffolding using Nitrogen, write TypeScript HybridObject specifications, run the codegen pipeline to generate native boilerplate automatically, implement platform-specific code across C++, Swift, and Kotlin, handle HybridObject state management and lifecycle, create factory methods for native resources, integrate example applications, set up testing infrastructure, and prepare your module for publication to ensure quality and usability.

How do I get started with Nitro modules?

Build Nitro Modules helps you get started by first scaffolding your monorepo with Nitrogen. You'll author TypeScript HybridObject specs that define your module's interface. The codegen pipeline then generates native boilerplate code automatically. Next, implement the actual platform code in C++, Swift, and Kotlin. Learn to manage HybridObject state and lifecycle, design factory methods for native resources, integrate example apps for testing, and follow best practices for module architecture and performance optimization.

What are Nitro modules and how to build them?

Build Nitro Modules explains that Nitro modules are React Native native modules built using a modern codegen-first approach. They're defined through TypeScript HybridObject specs that automatically generate native bindings. The workflow involves scaffolding with Nitrogen, writing `.nitro.ts` specifications, running codegen to produce boilerplate, implementing platform code in C++, Swift, and Kotlin, managing HybridObject lifecycle, designing factory methods, and integrating testing and example apps before publication.

What best practices apply to Nitro module development?

Build Nitro Modules covers best practices including proper HybridObject state management and lifecycle handling, designing efficient factory methods for native resources, structuring monorepos effectively with Nitrogen, writing clear TypeScript specs for reliable codegen, implementing platform code consistently across C++, Swift, and Kotlin, integrating comprehensive testing and example applications, and optimizing module performance. These patterns ensure maintainable, high-quality native modules.

What tools and setup does Nitro module development require?

Build Nitro Modules covers the essential tools and setup: Nitrogen for monorepo scaffolding, TypeScript for writing HybridObject specs, the Nitro codegen pipeline for automatic native binding generation, platform-specific compilers (C++, Swift, Kotlin), and testing infrastructure. The skill teaches how to configure your development environment, set up example apps for validation, organize your project structure, and prepare modules for publication using standard distribution channels.

Let your AI agent find skills like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.

wish › “Learn how to build and develop Nitro modules”

Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →

Related skills

Cpp
by margelo · margelo/react-native-skills

This skill guides you through building robust C++ code with emphasis on type-safe API design, clear ownership patterns, and maintainable file organization. It covers RAII principles, async boundaries, and integration with React Native Nitro Modules, helping you write native code that's predictable and easy to review.

no license declared → metadata onlyupdated Jul 2026
★ 148repo stars
Api Design
by margelo · margelo/react-native-skills

Api Design teaches you how to shape coherent public APIs for TypeScript, JavaScript, React, and React Native libraries before implementation. It covers designing explicit types, stable semantics, and clean public contracts while avoiding common pitfalls like untyped dictionaries and boolean clusters. Use this skill to review exported functions, classes, hooks, and options objects—or pair it with build-nitro-modules when working with Nitro-backed libraries.

no license declared → metadata onlyupdated Jul 2026
★ 148repo stars
Swift
by margelo · margelo/react-native-skills

This skill guides you through building robust Swift code with strong API boundaries and idiomatic Apple-platform patterns. It emphasizes type-safe design to make invalid states unrepresentable, choosing a single concurrency model upfront, and keeping synchronous operations cheap and nonblocking. Use it when working with Foundation APIs, async/await, actors, or Swift-backed Nitro Module implementations.

no license declared → metadata onlyupdated Jul 2026
★ 148repo stars
native-mobile-developer
by olehsvyrydov · olehsvyrydov/AI-development-team

native-mobile-developer is an AI agent framework designed to streamline iOS app creation with Swift and SwiftUI. It integrates seamlessly with Claude Code and other popular editors, providing intelligent code generation and development guidance. Perfect for developers seeking to accelerate their native mobile projects with AI collaboration.

MITfor claude-codeupdated Jun 2026
★ 13repo stars
Monorepo Structure
by dadbodgeoff · dadbodgeoff/drift

Master monorepo organization with AI-powered codebase analysis that identifies structural patterns and project conventions. This skill helps you maintain consistency across multi-package projects while preserving architectural decisions between work sessions. Works as an MCP server for your IDE or as an offline CLI tool.

no license declared → metadata onlyupdated May 2026
★ 782repo stars
Android Native Dev
by lioensky · lioensky/VCPToolBox

This skill equips you with the knowledge to develop Android apps at the native level, leveraging the platform's core capabilities and performance optimizations. You'll work through practical examples and real-world patterns to create robust mobile applications. Ideal for developers ready to move beyond cross-platform abstractions into direct platform integration.

no license declared → metadata onlyupdated Jul 2026
★ 2,214repo stars
Tags
native-module-developmentreact-native-toolingperformance-optimizationcross-platform-integrationdeveloper-workflow