This handles the specific job of migrating Amazon Fire TV apps built on Vega OS to a React Native monorepo that runs on Android TV, Apple TV, and other platforms. It walks through three phases: analyzing your existing codebase to classify dependencies, setting up the monorepo structure with Yarn workspaces and the Vega Module Resolution Preset for import mapping, then adding platform-specific implementations. The skill includes config templates and a decision tree to figure out where to jump in. Honestly most useful if you're already dealing with Vega OS and need to expand platform support, less so if you're starting fresh since you'd skip straight to the implementation phase anyway.
npx -y skills add amazonappdev/devices-agent-skills --skill vega-multi-tv-migration --agent claude-codeInstalls into .claude/skills of the current project.
Migrate Vega OS (Fire TV) apps to multi-platform React Native monorepo with 70-85% code reuse across Android TV, Apple TV, and Vega OS.
Use this skill when user mentions:
| Priority | Phase | Impact | When to Use |
|---|---|---|---|
| 1 | Analysis | CRITICAL | Starting migration, no existing analysis |
| 2 | Implementation | CRITICAL | Have analysis, need monorepo structure |
| 3 | Platform Support | HIGH | Have working Vega monorepo, adding platforms |
| 4 | Configuration | MEDIUM | Troubleshooting build/resolution issues |
User has existing Vega app?
├─ YES → Do they have migration analysis?
│ ├─ NO → Start Phase 1 (Analysis)
│ └─ YES → Is monorepo set up?
│ ├─ NO → Start Phase 2 (Implementation)
│ └─ YES → Start Phase 3 (Platform Support)
└─ NO → Starting from scratch?
└─ YES → Skip Phase 1, start Phase 2 with new project
# Verify monorepo structure exists
ls -la packages/shared packages/vega packages/expotv
# Check Yarn workspaces configured
grep -A5 "workspaces:" package.json
Common patterns for analysis:
Quick check if VMRP is working:
# Should see @vega-tv/react-native-module-resolver-preset
grep "vmrp" packages/vega/babel.config.js
| File | Impact | Description |
|---|---|---|
| PHASE1_ANALYSIS.md | CRITICAL | Codebase analysis, dependency classification, migration planning |
Use when: Starting migration, no existing analysis document
| File | Impact | Description |
|---|---|---|
| PHASE2_IMPLEMENTATION.md | CRITICAL | Monorepo scaffolding, code migration, VMRP setup with template references |
Use when: Have analysis, ready to build monorepo structure
| File | Impact | Description |
|---|---|---|
| PHASE3_PLATFORM_SUPPORT.md | HIGH | Android TV and Apple TV implementation |
Use when: Have working Vega monorepo, adding new platforms
All configuration templates in assets/templates/ with companion .md docs:
root-package.json - Yarn workspaces setuproot-tsconfig.json - TypeScript project referencesyarnrc.yml - Dependency deduplication (CRITICAL)shared-package.json + .md - Shared package config with rulesvega-metro.config.js - Vega Metro with monorepo resolutionexpotv-package.json + .md - Expo TV package configexpotv-app.json + .md - Expo TV configuration with pluginsexpotv-metro.config.js - Expo Metro with TV extensions| Problem | Start With |
|---|---|
| Need to analyze existing Vega app | PHASE1_ANALYSIS.md |
| Have analysis, need monorepo setup | PHASE2_IMPLEMENTATION.md → templates |
| Monorepo exists, adding Android TV | PHASE3_PLATFORM_SUPPORT.md |
| Metro resolution errors | PHASE2_IMPLEMENTATION.md → Metro config |
| Duplicate React versions | PHASE2_IMPLEMENTATION.md → .yarnrc.yml |
| VMRP not mapping imports | PHASE2_IMPLEMENTATION.md → VMRP section |
| TypeScript path errors | PHASE2_IMPLEMENTATION.md → TypeScript config |
| Native module integration | PHASE3_PLATFORM_SUPPORT.md → Native Modules |
| Build configuration issues | PHASE2_IMPLEMENTATION.md → Configuration Files |
| Starting from scratch | PHASE2_IMPLEMENTATION.md (skip Phase 1) |
Based on Vega OS multi-platform migration patterns and React Native monorepo best practices.
sickn33/antigravity-awesome-skills
moizibnyousaf/ai-agent-skills
github/awesome-copilot