What problem does it solve?
This Skill automates the building of Nitro Modules with Nitrogen, streamlining the creation of React Native native modules and providing a structured approach to Nitro-specific implementation.
Core Features & Use Cases
- Automated Module Scaffolding: Create a new Nitro Module using Nitrogen, generating the necessary structure and configuration files.
- HybridObject Spec Authoring: Author TypeScript HybridObject specs for Nitro Modules, defining the public API and native implementations.
- Native Code Generation: Generate native code from
.nitro.ts specs for C++, Swift, and Kotlin.
- Example App Wiring: Provide instructions to set up an example app for testing and verifying the Nitro Module.
- Publish Preparation: Offer guidance on preparing a Nitro Module for publishing, including codegen, platform implementation, and testing.
- Use Case: When building a new Nitro Module, this Skill can automate the creation of the module structure, write the spec, generate native code, and prepare the module for testing and release.
Quick Start
Run the build-nitro-modules skill to generate the basic structure for a new Nitro Module, including TypeScript specs, C++/Swift/Kotlin implementations, and example app setup.