expo-horizon
БесплатноБез исполняемых скриптовНе проверенSoftware Mansion's guide for migrating Expo SDK apps to Meta Quest using expo-horizon packages. Use when adding Meta Quest or Meta Horizon OS support to an…
от software-mansion-labs★ 313 звёзд на GitHubОб этом скилле
Expo Horizon: Migrating Expo SDK to Meta Quest
Software Mansion's production guide for adding Meta Quest support to Expo apps using the expo-horizon packages.
This skill does not bundle a copy of the docs. For any task below, always webfetch the linked official README or Meta documentation page to get up-to-date installation steps, plugin options, API surface, and feature matrices. This skill only captures the decision tree, critical rules, and non-obvious gotchas that agents routinely miss.
Decision Tree
What do you need to do?
│
├── Starting from scratch or adding Quest support to an existing Expo app?
│ └── Follow the "Setup Workflow" below (do NOT auto-install location or
│ notifications packages) and webfetch: expo-horizon-core README
│ ├── Install expo-horizon-core
│ ├── Configure the config plugin (horizonAppId, panel size, supportedDevices)
│ ├── Add quest/mobile build scripts
│ ├── Add runtime device detection (isHorizonDevice, isHorizonBuild)
│ └── Detect expo-location / expo-notifications, then ASK before migrating
│
├── Need location services on Quest?
│ └── Webfetch: expo-horizon-location README
│ ├── Replace expo-location with expo-horizon-location
│ ├── Review the feature support matrix
│ └── Guard unsupported calls (heading, geocoding, geofencing, background)
│
├── Need push notifications on Quest?
│ └── Webfetch: expo-horizon-notifications README
│ ├── Replace expo-notifications with expo-horizon-notifications
│ ├── Configure horizonAppId in expo-horizon-core
│ ├── Use getDevicePushTokenAsync (Expo Push Service is not supported)
│ └── Skip badge counts (not supported on Quest)
│
└── Need to build, run, or publish for Quest?
└── Webfetch: expo-horizon-core README (build variants) + Meta docs below
├── Build variants: questDebug, questRelease, mobileDebug, mobileRelease
├── Meta Quest Developer Hub (device management, sideloading)
└── Meta Horizon Store manifest requirements
Setup Workflow (adding Quest support to an existing Expo app)
Follow these steps in order when the user asks to add Meta Quest support. Do not combine steps 2 and 3 into a single install command — the sibling packages require explicit user confirmation.
Install and configure
expo-horizon-core.- Run
npx expo install expo-horizon-core. - Ask the user for the config plugin values before writing them. Present all options in a single prompt so the user can paste custom values or accept defaults in one pass. Show each option on its own line with its default in brackets, e.g.:
I'll add the
expo-horizon-coreconfig plugin toapp.json. Please confirm or override each value (press Enter / reply "default" to accept the bracketed default):supportedDevices[quest2|quest3|quest3s] — pipe-separated Quest devices your app supports (required for Meta Horizon Store submission).horizonAppId[empty] — Meta Horizon application ID. Leave empty unless you plan to use push notifications; required byexpo-horizon-notificationsto issue device push tokens.defaultWidth[1024dp] — Default panel width. Leave blank to omit.defaultHeight[640dp] — Default panel height. Leave blank to omit. If you set width/height, make sure your Expoorientationmatches (use"landscape"for wide panels).disableVrHeadtracking[false] — Settrueto omit theandroid.hardware.vr.headtrackingmanifest entry.allowBackup[false] — Meta recommendsfalsefor sensitive data; settrueonly if you need Android backup in the Quest build.
- Only write the plugin config after the user replies. Omit any option the user left blank so the package's own default applies (don't write empty strings for
horizonAppId,defaultWidth, ordefaultHeight). - Add
quest/mobilebuild scripts topackage.json. - Run
npx expo prebuild --clean. - Webfetch the expo-horizon-core README for current option names and defaults before asking — the defaults above can change between releases.
- Run
Detect existing location / notification packages. Do NOT install the horizon equivalents yet.
- Read the project's
package.json. - Check
dependenciesanddevDependenciesforexpo-locationandexpo-notifications. - If neither is present, skip the rest of this workflow — the user has no migration to do.
- Read the project's
For each detected package, ask the user before migrating.
- If
expo-locationis found, ask:"I found
expo-locationin your project. Do you want me to replace it withexpo-horizon-locationso location works on Meta Quest? (Quest has no GPS, heading, geocoding, or geofencing — unsupported calls will need to be guarded with `Ex
- If
Установить expo-horizon в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл expo-horizon?
Software Mansion's guide for migrating Expo SDK apps to Meta Quest using expo-horizon packages. Use when adding Meta Quest or Meta Horizon OS support to an existing Expo or React Native project. Trigger on: Meta Quest, Horizon OS, Quest 2, Quest 3, Quest 3S, VR app, expo-horizon-core, expo-horizon-location, expo-horizon-notifications, build flavors for Quest, panel sizing, VR headtracking, Horizon App ID, quest build variant, isHorizonDevice, isHorizonBuild, migrate expo-location to Quest, migrate expo-notifications to Quest, Meta Horizon Store publishing, or any task involving running an Expo app on Meta Quest hardware.
Как установить скилл expo-horizon?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл expo-horizon запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic