installskill

Skills / expo/skills

expo-migrate-module

Migrates a Swift Expo native module from the Expo Modules API 1.0 DSL to the 2.0 macro API.

Pinned commit
8f2b6c0c6553Committed 2026-11-27
Files
566 KB
License
MIT
Snapshot taken
2026-11-28
Description from the skill
Migrate an existing Apple/Swift Expo native module from the Expo Modules API 1.0 definition DSL to the 2.0 macro API (sometimes called v2) while preserving its JavaScript and TypeScript contract. Use when converting or incrementally adopting @ExpoModule, @JS, @Event, @SharedObject, or @Record in an existing module. Do not use for creating a new module, general Expo SDK upgrades, or Android/Kotlin migrations.

This is the text your agent reads to decide when to use the skill.

Install

Choose your agent. Pinned commands install exactly the commit this page describes.

Skill directory .claude/skills/Claude Code · Official docs

Does not read the shared .agents/skills directory. A skill must land in .claude/skills, or arrive inside a plugin.

GitHub CLIpinned

$ gh skill install expo/skills plugins/expo-experiments/skills/expo-migrate-module --agent claude-code --pin 8f2b6c0c65533e695243aa401eaa1cb6f1fe86c2

gh picks the directory for the agent, names the folder after the source directory (expo-migrate-module), and writes source metadata into the SKILL.md frontmatter, so the content hash below will not match. Check the github-tree-sha it records instead: it should read f93902f2c0119ccc87ec3521ef3dc52d543a2fe3.

skills CLIpinned

$ npx skills add expo/skills@8f2b6c0c65533e695243aa401eaa1cb6f1fe86c2 --skill expo-migrate-module -a claude-code --copy

Downloads and runs the skills package from npm. --copy writes real files instead of symlinks. The CLI sends anonymous telemetry unless DISABLE_TELEMETRY=1 is set, and that setting also turns off its audit lookups.

Claude Code pluginnot pinnedrun inside the agent

> /plugin marketplace add expo/skills
> /plugin install expo-experiments@expo-plugins

Not pinned: installs whatever the marketplace currently serves. The plugin bundles 1 other skill with this one. Plugin scope is chosen in the /plugin dialog.

Plain gitpinned

$ tmp=$(mktemp -d)
$ git clone --quiet https://github.com/expo/skills.git "$tmp"
$ git -C "$tmp" checkout --quiet 8f2b6c0c65533e695243aa401eaa1cb6f1fe86c2
$ mkdir -p .claude/skills
$ cp -R "$tmp/plugins/expo-experiments/skills/expo-migrate-module" .claude/skills/expo-migrate-module

No extra tooling. Files land byte for byte as published in .claude/skills/expo-migrate-module, so the content hash below can be checked directly.

Check what landed

Run this after installing. It prints one SHA-256 for the whole directory. If your installer reported a different directory, cd there instead.

$ cd .claude/skills/expo-migrate-module && find . -type f -print0 | LC_ALL=C sort -z | xargs -0 shasum -a 256 | shasum -a 256

Expected5951f9bf1ef3c630b251bb86d1284d1bdcacb874225fcd75c5aca4633980f256

It matches only when the files are byte for byte as published. A difference means something changed: by the installer, by you, or upstream.

What is inside

Pattern matches in the files, each linked to its line. A match is a place to read, not a verdict, and no match is not proof of absence.

Docs · 3SKILL.md · 1Data · 1

Runs commands5

Code that spawns other processes, or shell code blocks in the instructions.

0 in scripts · 5 in docs and other text files

Network accessNo match

Calls that fetch from or send to a remote host.

Installs packages7

Commands that pull and run third-party packages at use time.

0 in scripts · 7 in docs and other text files

Reads env or credentialsNo match

References to environment variables, tokens, keys or credential files.

Privileged or destructiveNo match

sudo, recursive deletes, permission changes and similar commands.

Dynamic or encoded codeNo match

eval, exec, base64 decoding and remote-script piping, which hide what runs.

Outside hosts mentioned

No URLs found.

Entries worth a second look

No symlinks, submodules, hidden files, archives, compiled files or unscanned files.

File manifest

Every file in the skill directory at the pinned commit.

Content hash
5951f9bf1ef3c630b251bb86d1284d1bdcacb874225fcd75c5aca4633980f256
Git tree SHA
f93902f2c0119ccc87ec3521ef3dc52d543a2fe3
PathKindSizeSHA-256
SKILL.mdSKILL.md13 KB7503998ad20beec1…
agents/openai.yamlData306 B493a9937bd67eccb…
references/compatibility.mdDocs20 KB9d19ea56ddbcad38…
references/example.mdDocs7.8 KBaacf0defd11a1cbf…
references/migration-map.mdDocs25 KB205211bbf3f9ff89…

Spec and portability

Checked against the Agent Skills specification.

Frontmatter
Parses as YAML
Name matches directory
Yes
Name uses lowercase letters, digits and hyphens
Yes
Description length
411limit 1,024 characters
SKILL.md body
120 linesthe spec suggests under 500 lines
Fields outside the spec
None
License field
MIT
License file
None declared
Repository license
LICENSE (MIT)
Claude Code plugin
expo-experiments@expo-plugins

Change history

No changes recorded since the first snapshot on 2026-11-28.

Follow changes to this skill in a feed reader: Atom feed · all skills

Get an email when this skill changes

Email alerts are not built yet. Leave your address and we will write to you once, when they are. The feed above works today.

We store your address, the name of this skill and the date. It is used for nothing else.