What problem does it solve?
This Skill eliminates the guesswork and compatibility pitfalls of creating or migrating React Native native modules to the New Architecture TurboModule standard for RN 0.68-0.85 projects, ensuring correct implementation across different RN versions and platform requirements.
Core Features & Use Cases
- Version-adaptive implementation: Automatically selects the correct TurboModule creation strategy based on the project's React Native version, handling opt-in new architecture for RN 0.68-0.73, default TurboModule requirements for RN 0.76+, and New Architecture-only rules for RN 0.82+.
- Cross-platform module support: Guides implementation of Android/iOS native TurboModules or shared C++ cross-platform modules, including Codegen configuration, platform-specific registration, and build validation steps.
- Legacy migration guardrails: Provides clear stop rules and pre-implementation checks to avoid incorrect migration of old bridge NativeModules, only proceeding when all required project context is confirmed.
Use case: A developer working on an RN 0.78 e-commerce app can use this Skill to create a new TurboModule for native payment SDK integration, or migrate an existing old bridge module for user authentication to the new architecture without manual trial and error.
Quick Start
Ask the AI to create a new TurboModule for your React Native 0.80 app that exposes a native method to retrieve the device's current battery level, and it will guide you through TypeScript spec creation, Codegen setup, and Android/iOS native implementation with build validation.