id: "expo-migrate-module"
kind: "skill"
name: "expo-migrate-module"
title: "Expo Migrate Module"
description: "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."
category: "frontend"
source:
  repository: "expo/skills"
  path: "plugins/expo-experiments/skills/expo-migrate-module/SKILL.md"
  commit: "88d9bd79f3fa8452a778fbac65bae162c0b32ce4"
  url: "https://github.com/expo/skills/tree/88d9bd79f3fa8452a778fbac65bae162c0b32ce4/plugins/expo-experiments/skills/expo-migrate-module"
license:
  spdx: "MIT"
  from: "SKILL.md frontmatter"
  redistributable: true
stars: 4194
updated_at: "2026-11-19T22:09:12Z"
score: 0.929
rank: 5
files_count: 5
bytes: 67087
has_scripts: false
trust_level: "unreviewed"
reviewed_by: "eval-v1"
source_tier: "official"
eval:
  version: "eval-v1"
  date: "2026-11-21T10:32:48Z"
  model: "claude-sonnet-5-5"
  score: 0.929
  signals:
    tier: 1.0
    rubric: 1.0
    judge: 0.94
    smoke: 1.0
    popularity: 0.5604
  rubric:
    score: 1.0
    trigger: 1.0
    scope: 1.0
    safety: 1.0
    injection: 1.0
    references: 1.0
    license: 1.0
    risky: []
    broken_references: []
  judge:
    trigger: 5
    scope: 5
    instructions: 5
    safety: 5
    injection: 5
    references: 5
    overall: 9
    verdict: "feature"
    rationale: "The description is specific, with clear do and don't cases. The scope is one job: migrating the Swift side of an Expo module to the 2.0 macros. The instructions are concrete and cover version floors, a contract inventory, threading traps, event payload quirks, autolinking pitfalls, and verification commands. Safety is good: it asks before posting a GitHub issue or sending feedback, and offers co-exist or revert for blocked items. The three referenced files and agents/openai.yaml are all in the file list. No injection."
  smoke:
    status: "passed"
    triggered: true
    grade: 2
    task: "My Expo Swift module has a 1.0 definition() with a few AsyncFunctions and a Record with optional fields. How should I migrate it to @ExpoModule and @JS without changing the JS API, and what should I watch for with threading?"
    date: "2026-11-21T11:39:11Z"
    model: "claude-sonnet-5-5"
requires:
  tools: []
  runtimes: ["gh", "node"]
  network: true
  mcp: []
compat:
  - client: "claude-code"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "codex-cli"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "cursor"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "gemini-cli"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "vscode-copilot"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "opencode"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "claude-desktop"
    status: "instructions"
    reasons: ["no-shell", "no-web"]
    source: "derived"
  - client: "chat-mcp"
    status: "instructions"
    reasons: ["no-shell", "no-web"]
    source: "derived"
files:
  - path: "SKILL.md"
    bytes: 13005
    sha256: "88211a6c54721e69a20f9129caf878d65f82886b452fe400d8f418ef97c72fe9"
    url: "https://raw.githubusercontent.com/expo/skills/88d9bd79f3fa8452a778fbac65bae162c0b32ce4/plugins/expo-experiments/skills/expo-migrate-module/SKILL.md"
  - path: "agents/openai.yaml"
    bytes: 306
    sha256: "493a9937bd67eccbbcac3e2f25c6ced97645cb50ef417dd3ea89ee0b575fb8af"
    url: "https://raw.githubusercontent.com/expo/skills/88d9bd79f3fa8452a778fbac65bae162c0b32ce4/plugins/expo-experiments/skills/expo-migrate-module/agents/openai.yaml"
  - path: "references/compatibility.md"
    bytes: 20410
    sha256: "9d19ea56ddbcad38e41921a4f322333b736a622441d8e2c258a8f3b7ce0e503d"
    url: "https://raw.githubusercontent.com/expo/skills/88d9bd79f3fa8452a778fbac65bae162c0b32ce4/plugins/expo-experiments/skills/expo-migrate-module/references/compatibility.md"
  - path: "references/example.md"
    bytes: 7948
    sha256: "aacf0defd11a1cbfd33d964ec8491c6d04092d1fcb2b709eeabab0a122d70d1c"
    url: "https://raw.githubusercontent.com/expo/skills/88d9bd79f3fa8452a778fbac65bae162c0b32ce4/plugins/expo-experiments/skills/expo-migrate-module/references/example.md"
  - path: "references/migration-map.md"
    bytes: 25418
    sha256: "205211bbf3f9ff89948522168af11701bd342e8143f4ca48d5283fe789f323ac"
    url: "https://raw.githubusercontent.com/expo/skills/88d9bd79f3fa8452a778fbac65bae162c0b32ce4/plugins/expo-experiments/skills/expo-migrate-module/references/migration-map.md"
alternates: []
icon: "https://versatile.sh/avatars/expo.png"
