/react-native-development-assistant:react-native-native-modulesfrom react-native-development-assistant
Teaches building native modules for iOS and Android using Turbo Modules, JSI, Fabric, and platform bridging. Covers specs, Swift/Kotlin implementations, native events, and when to use each approach.
Ships in react-native-development-assistant. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Learn to build native modules for iOS and Android using Turbo Modules, JSI, and the new architecture.
After completing this skill, you will be able to:
// specs/NativeCalculator.ts
import type { TurboModule } from 'react-native';
import { TurboModuleRegistry } from 'react-native';
export interface Spec extends TurboModule {
add(a: number, b: number): number; // Sync
multiply(a: number, b: number): Promise<number>; // Async
}
export default TurboModuleRegistry.getEnforcing<Spec>('Calculator');
@objc(Calculator)
class Calculator: NSObject {
@objc static func requiresMainQueueSetup() -> Bool { false }
@objc func add(_ a: Double, b: Double) -> Double {
return a + b
}
@objc func multiply(_ a: Double, b: Double,
resolve: @escaping RCTPromiseResolveBlock,
reject: @escaping RCTPromiseRejectBlock) {
resolve(a * b)
}
}
@ReactModule(name = "Calculator")
class CalculatorModule(reactContext: ReactApplicationContext) :
ReactContextBaseJavaModule(reactContext) {
override fun getName() = "Calculator"
@ReactMethod(isBlockingSynchronousMethod = true)
fun add(a: Double, b: Double): Double = a + b
@ReactMethod
fun multiply(a: Double, b: Double, promise: Promise) {
promise.resolve(a * b)
}
}
import { NativeEventEmitter, NativeModules } from 'react-native';
const { MyModule } = NativeModules;
const emitter = new NativeEventEmitter(MyModule);
// Subscribe
const subscription = emitter.addListener('onProgress', (data) => {
console.log('Progress:', data.percent);
});
// Cleanup
subscription.remove();
| Scenario | Solution |
|---|---|
| Access native APIs | Native module |
| Performance-critical | JSI/Turbo Module |
| Third-party SDK | Bridge wrapper |
| UI component | Fabric component |
// JavaScript usage
import NativeCalculator from './specs/NativeCalculator';
// Sync call (blocks JS thread briefly)
const sum = NativeCalculator.add(5, 3);
console.log('Sum:', sum); // 8
// Async call (non-blocking)
const product = await NativeCalculator.multiply(5, 3);
console.log('Product:', product); // 15
| Error | Cause | Solution |
|---|---|---|
| "Module not found" | Not linked | Run pod install |
| Crash on sync | Main thread | Use async or background |
| Type mismatch | Codegen issue | Regenerate specs |
Skill("react-native-native-modules")
Bonded Agent: 04-react-native-native
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: author: Invalid input: expected object, received string, commands: Invalid input
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
7 skills in this plugin
/react-native-animationsMaster animations - Reanimated 3, Gesture Handler, layout animations, and performance optimization/react-native-basicsMaster React Native fundamentals - components, styling, layout, and Expo/react-native-deploymentMaster deployment - EAS Build, Fastlane, App Store, Play Store, and OTA updates/react-native-navigationMaster React Navigation - stacks, tabs, drawers, deep linking, and TypeScript integration/react-native-stateMaster state management - Redux Toolkit, Zustand, TanStack Query, and data persistence/react-native-testingMaster testing - Jest, Testing Library, Detox E2E, and CI/CD integrationOther plugins' skills for the same job