hz-android-2d-porting
Guides porting existing Android 2D apps to Meta VR and Horizon OS — input adaptation, panel layout, and design requirements. Use…
Scaffolds new Meta VR and Horizon OS projects after the build path is selected — Standard Android, Meta Spatial SDK, Unity, Unreal, or WebXR. Use when creating a new Meta VR app from scratch. Build paths: all; use hz-quest-verify-first to choose the path.
Claude Code
$ npx -y skills add meta-quest/agentic-tools --skill hz-new-project-creation --agent claude-code
Codex
$ npx skills add meta-quest/agentic-tools --skill hz-new-project-creation -a codex -y
Cursor
$ npx skills add meta-quest/agentic-tools --skill hz-new-project-creation -a cursor -y
Gemini CLI
$ npx skills add meta-quest/agentic-tools --skill hz-new-project-creation -a gemini-cli -y
GitHub Copilot
$ npx skills add meta-quest/agentic-tools --skill hz-new-project-creation -a github-copilot -y
OpenCode
$ npx skills add meta-quest/agentic-tools --skill hz-new-project-creation -a opencode -y
Windsurf
$ npx skills add meta-quest/agentic-tools --skill hz-new-project-creation -a windsurf -y
name: hz-new-project-creation license: Apache-2.0 description: "Scaffolds new Meta VR and Horizon OS projects after the build path is selected — Standard Android, Meta Spatial SDK, Unity, Unreal, or WebXR. Use when creating a new Meta VR app from scratch. Build paths: all; use hz-quest-verify-first to choose the path." allowed-tools: Bash(metavr:*), Bash(hzdb:*), Bash(npx:*), mcp__metavr__metavr_unity_setup
Scaffold and configure new Meta VR projects from scratch after the build path has been selected. This skill provides step-by-step setup instructions with recommended settings optimized for Meta VR hardware.
Use this skill when you need to:
Before creating any Meta VR project, complete these steps regardless of platform:
1. **Create a Meta developer account** -- Sign up at [developer.meta.com](https://developer.meta.com) and create an organization. 2. **Set up your Meta VR device for development** -- Enable developer mode in the Meta Horizon app on your phone under your headset's settings. 3. **Enable USB debugging** -- Connect your Meta VR device via USB-C, put on the headset, and accept the "Allow USB debugging" prompt. 4. **Install metavr** -- Install the standalone `metavr` CLI binary on your PATH (see the `metavr-cli` skill), or invoke it on demand via `npx` with no install:
metavr --version
Examples below use the bare `metavr` command; if you use the npm distribution, prefix with `npx -y`.
Verify your device connection before starting any project:
metavr device list
Use `hz-quest-verify-first` to identify the build path before scaffolding. Do not choose an SDK from a feature checklist: several paths can expose similar Meta VR features, but they have different project structures and runtime models.
| Build path | Choose it when | Setup reference or skill | |---|---|---| | Standard Android | The app is primarily 2D UI in one resizable Horizon OS panel, implemented with Jetpack Compose, Android Views, React Native, or Expo. This is the default for a new 2D app; Spatial SDK is not required. | [Standard Android project](references/android-project.md); use `hz-react-native-expo` for React Native or Expo | | Meta Spatial SDK | The app needs an immersive scene, 3D entities, environment control, or hybrid 2D-and-3D content. | [Spatial SDK project](references/spatial-sdk-project.md) | | Unity | The app is an immersive game or experience built in C#. | [Unity project](references/unity-project.md) | | Unreal Engine | The app is an immersive project built with C++ or Blueprints. | [Unreal project](references/unreal-project.md) | | IWSDK / WebXR | The experience is web-based and should run in the browser or ship as a web app. | [Web project](references/web-project.md) |
Once the user has selected a platform, refer to the corresponding reference guide for detailed, step-by-step project setup:
Each reference covers:
1. Required tool and SDK versions 2. Project creation steps 3. Recommended project settings for Meta VR 4. Build and deployment workflow 5. Testing and iteration workflow
These are common pitfalls when setting up new Meta VR projects.
Guides porting existing Android 2D apps to Meta VR and Horizon OS — input adaptation, panel layout, and design requirements. Use…
Upgrades Meta VR apps to newer Horizon OS SDK versions — migration guides, deprecated API replacements, changelog. Use when…
Guides design of comfortable, intuitive VR/MR experiences for Meta VR and Horizon OS — comfort guidelines, interaction patterns,…
Builds WebXR experiences for Meta VR and Horizon OS using the Immersive Web SDK (IWSDK) — ECS architecture, Three.js integration,…
Build multi-window Meta Horizon OS experiences with the MetaVrx Layout SDK in Jetpack Compose or React Native. Covers framework…
Builds app UI for Meta VR and Horizon OS with the MetaVrx UI Set, a Jetpack Compose component library and design system. Covers…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.