# expo-module

> Claude/Codex skill by [@expo](https://omgskills.com/library/expo/index.md) · 3.5k stars · Updated 2026-10-28

Guide for creating and writing Expo native modules and views using the Expo Modules API (Swift, Kotlin, TypeScript). Covers module definition DSL, native views, shared objects, config plugins, lifecycle hooks, autolinking, and type system. Use when building or modifying native modules for Expo. Not for migrating an existing Swift module from the definition DSL to the Expo Modules API 2.0 macros; use expo-migrate-module (from the expo-experiments plugin) for that.

## Install

```sh
git clone https://github.com/expo/skills /tmp/skills && ln -s /tmp/skills/plugins/expo/skills/expo-module ~/.claude/skills/expo-module
```

## From README

Writing Expo Modules Complete reference for building native modules and views using the Expo Modules API. Covers Swift (iOS), Kotlin (Android), and TypeScript. When to Use Creating a new Expo native module or native view Adding native functionality (camera, sensors, system APIs) to an Expo app Wrapping platform SDKs for React Native consumption Building config plugins that modify native project files Adding Android, Apple, or web support to an existing Expo module Editing expo-module.config.json, config plugins, or lifecycle hooks To migrate an existing Swift module from the definition DSL to the Expo Modules API 2.0 macros (@ExpoModule, @JS, @Event), use the expo-migrate-module skill (from the expo-experiments plugin) instead. References Consult these resources as needed: Prefer create-expo-module over manually creating native module files and directories. In practice, the best path is usually to create the scaffold first and then build on top of it.

## Links

- HTML page: https://omgskills.com/library/expo/skills/expo-module/
- GitHub: https://github.com/expo/skills
- Author: [@expo](https://omgskills.com/library/expo/index.md)

## More from this repo

- [eas-update-insights](https://omgskills.com/library/expo/skills/eas-update-insights/index.md) — Used to check the health of published EAS Update: crash rates, install/launch counts, unique users, payload size, and...
   - [@expo](https://omgskills.com/library/expo/index.md) · 3.5k stars
- [expo-dev-client](https://omgskills.com/library/expo/skills/expo-dev-client/index.md) — Used to build and distribute Expo development clients locally or via TestFlight for internal testing.
   - [@expo](https://omgskills.com/library/expo/index.md) · 3.5k stars
- [expo-native-ui](https://omgskills.com/library/expo/skills/building-native-ui/index.md) — Used to build beautiful, native-feeling Expo screens.
   - [@expo](https://omgskills.com/library/expo/index.md) · 3.5k stars
