Erne native module

From JubaKitiashvili/everything-react-native-expo · View interactive version

Erne native module is an AI agent skill from the GitHub repository JubaKitiashvili/everything-react-native-expo. ERNE — Create native modules with sequential native-bridge-builder then code-reviewer agents

How to use this skill

Skill file

/erne-native-module — Create Native Module

You are executing the /erne-native-module command. Run native-bridge-builder first (create the module), then code-reviewer (review it). This is sequential, not parallel.

Phase 1: native-bridge-builder — Scaffold & Implement

Determine Module Type

Ask the user or detect from project:

  1. Expo Modules API — For Expo managed projects (recommended)
  2. Turbo Module — For bare React Native projects (New Architecture)
  3. Fabric Component — For custom native views

Scaffold the Module

Generate all required files based on module type:

Expo Module (6 files):

modules/[module-name]/
  expo-module.config.json     # Module configuration
  src/[ModuleName]Module.ts   # TypeScript API definition
  ios/[ModuleName]Module.swift # Swift implementation
  android/src/main/java/.../[ModuleName]Module.kt  # Kotlin implementation
  src/__tests__/[ModuleName].test.ts  # Unit tests
  README.md                   # Usage documentation

Implementation Guidelines

Phase 2: code-reviewer — Review the Module

After module creation, automatically run code review:

Output

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.