# appmigrationkit

This skill guides Claude Code in setting up cross-platform data transfers between iOS and Android using the AppMigrationKit framework.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 3000 installs · ★ 1237
- Author: dpearson2699
- License: LicenseRef-Unknown · policy=link-only · description only; the file stays with the author
- Source: https://github.com/dpearson2699/swift-ios-skills/tree/HEAD/skills/appmigrationkit/SKILL.md
- Updated: 2026-07-31
- HTML: https://affpapa.org/en/nevibecode/skills/appmigrationkit

## What it does

The skill provides architecture guidelines and code patterns for the AppMigrationKit framework in Swift 6.3. It helps implement an `AppMigrationExtension`, handle streaming through `ResourcesArchiver`, and verify transfer results via `MigrationStatus`. The operating system manages the device session directly, meaning the extension never touches network sockets.

Deploying this framework requires iOS 26.0+ or iPadOS 26.0+, while the data container entitlement needs iOS 26.1+ or Mac Catalyst 26.1+. If your app targets earlier OS releases, integrating these APIs will fail due to missing platform support.

In addition to export workflows, the skill helps configure sandbox directory access via `MigrationDataContainer` and write unit tests with the `AppMigrationTester` actor.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add dpearson2699/swift-ios-skills --skill appmigrationkit -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/appmigrationkit/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/appmigrationkit/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add dpearson2699/swift-ios-skills --skill appmigrationkit -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/appmigrationkit/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add dpearson2699/swift-ios-skills --skill appmigrationkit -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/appmigrationkit/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install dpearson2699/swift-ios-skills appmigrationkit
```

2. **Manually: put the files in place**
- File: `.github/skills/appmigrationkit/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add dpearson2699/swift-ios-skills --skill appmigrationkit -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/dpearson2699/swift-ios-skills --path skills/appmigrationkit
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/appmigrationkit/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add dpearson2699/swift-ios-skills --skill appmigrationkit -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/dpearson2699/swift-ios-skills/tree/HEAD/skills/appmigrationkit/SKILL.md

## When to use it
- build an extension for cross-platform app data export
- configure data container entitlement access in Xcode
- stream app files into archives using `ResourcesArchiver`
- verify import status upon first launch after migration
- validate migration flows with `AppMigrationTester`

## Example prompts
- Create an `AppMigrationExtension` that exports user documents to Android.
- How do I configure the `com.apple.developer.app-migration.data-container-access` entitlement?
- Write a test for the import logic using `AppMigrationTester` in Swift 6.3.

## Similar
- [capacitor-app-upgrade-v7-to-v8](https://affpapa.org/en/nevibecode/skills/capacitor-app-upgrade-v7-to-v8.md) — skill · 704 installs
- [xcode-project-setup](https://affpapa.org/en/nevibecode/skills/xcode-project-setup.md) — skill · 130700 installs
- [xcode-build-orchestrator](https://affpapa.org/en/nevibecode/skills/xcode-build-orchestrator.md) — skill · 3600 installs
- [xcode-build-fixer](https://affpapa.org/en/nevibecode/skills/xcode-build-fixer.md) — skill · 3600 installs
- [ios-simulator-skill](https://affpapa.org/en/nevibecode/skills/ios-simulator-skill.md) — skill · 2400 installs
- [developing-ios-apps](https://affpapa.org/en/nevibecode/skills/developing-ios-apps.md) — skill · 1500 installs

From the same set: [dpearson2699/swift-ios-skills](https://affpapa.org/en/nevibecode/by/dpearson2699/swift-ios-skills.md) — 86 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
