hz-new-project-creation
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "hz-new-project-creation" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-bdd1435a9166b1b5744790c4dbf7419f6b7cee842f45e48afa5b171167500ac7. Verify the upstream source and version against https://github.com/meta-quest/agentic-tools before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Scaffolding and recommended setup for new Meta Quest and Horizon OS projects. Provides suggested configurations for Unity, Unreal, Android/Spatial SDK, or WebXR, intended for creating a new Quest application from scratch.
Introduction source: third_party · meta-quest · 0.0.1 Reference
SkillPi interpretation
- Tasks
- 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.
- Audience
- Use this skill when you need to: Create a brand-new project targeting Meta Quest (Quest 2, Quest 3, Quest 3S, Quest Pro) and Meta VR Glasses after selecting its build path Configure a project with the correct render settings, SDK versions, and build targets for Meta VR Set up a project template with recommended architecture and folder structure Follow the setup workflow for a previously selected Standard Android, Meta Spatial SDK, Unity, Unreal Engine, or WebXR project
- Software, accounts and paid services
- Before creating any Meta VR project, complete these steps regardless of platform: 1. **Create a Meta developer account** -- Sign up at 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: Examples below use the bare `metavr` command; if you use the npm distribution,
- Testing
- Not tested
Browse files
Frontmatter
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_setupNew Project Creation Skill
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.
When to Use This Skill
Use this skill when you need to:
- Create a brand-new project targeting Meta Quest (Quest 2, Quest 3, Quest 3S, Quest Pro) and Meta VR Glasses after selecting its build path
- Configure a project with the correct render settings, SDK versions, and build targets for Meta VR
- Set up a project template with recommended architecture and folder structure
- Follow the setup workflow for a previously selected Standard Android, Meta Spatial SDK, Unity, Unreal Engine, or WebXR project
Prerequisites
Before creating any Meta VR project, complete these steps regardless of platform:
- Create a Meta developer account -- Sign up at developer.meta.com and create an organization.
- Set up your Meta VR device for development -- Enable developer mode in the Meta Horizon app on your phone under your headset's settings.
- Enable USB debugging -- Connect your Meta VR device via USB-C, put on the headset, and accept the "Allow USB debugging" prompt.
- Install metavr -- Install the standalone
metavrCLI binary on your PATH (see themetavr-cliskill), or invoke it on demand vianpxwith no install:metavr --versionExamples below use the bare
metavrcommand; if you use the npm distribution, prefix withnpx -y.
Verify your device connection before starting any project:
metavr device list
Start with the selected build path
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; 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 |
| Unity | The app is an immersive game or experience built in C#. | Unity project |
| Unreal Engine | The app is an immersive project built with C++ or Blueprints. | Unreal project |
| IWSDK / WebXR | The experience is web-based and should run in the browser or ship as a web app. | Web project |
After Choosing a Platform
Once the user has selected a platform, refer to the corresponding reference guide for detailed, step-by-step project setup:
- Unity (Meta VR) -- MUST use the
metavr_unity_setupMCP tool to create the project. Do NOT run Unity CLI directly. Do NOT walk the user through manual Package Manager / XR Plug-in Management steps. See Unity Project Setup. Manual fallback at unity-project-manual.md only when the MCP tool is unavailable. (Note: this guidance applies to Meta VR Unity projects only — for non-VR Unity projects use Unity Hub as normal.) - Unreal Engine -- Unreal Project Setup
- Standard Android -- Standard Android Project Setup; use
hz-react-native-expowhen the UI is implemented with React Native or Expo - Meta Spatial SDK -- Spatial SDK Project Setup
- Web / IWSDK / WebXR -- Web Project Setup
Each reference covers:
- Required tool and SDK versions
- Project creation steps
- Recommended project settings for Meta VR
- Build and deployment workflow
- Testing and iteration workflow
Gotchas
These are common pitfalls when setting up new Meta VR projects.
- Android API level mismatch -- For new immersive projects, start with minimum API 32 and target API 34. Check
hz-store-submitfor the minimum store-acceptance floor andhz-api-upgradefor the current target range; immersive and 2D panel apps differ. Setting the wrong API level is a common reason builds fail to install or upload. Unity defaults may not match these requirements — always verify in Player Settings > Other Settings and withmetavr docs search "target API". - ARM64 only, no x86 -- Meta VR devices are ARM64 (aarch64). If your build pipeline targets x86 or includes x86 native libraries, the APK will install but crash immediately on launch. In Unity, ensure "Target Architectures" has only ARM64 checked. In Android Studio, verify your ABI filters.
- Gradle version compatibility -- Meta's Android and Spatial SDK samples often pin compatible Gradle, Android Gradle Plugin, Kotlin, and KSP versions. Copy the complete version set from a current official template or sample; upgrading one independently can cause obscure build failures.
- Unity version matters -- Not every Unity version is compatible with the latest Meta XR SDK. Check the Meta XR SDK release notes for the supported Unity version range. Using an unsupported Unity version causes cryptic C# compilation errors or missing XR subsystem errors at runtime.
- Vulkan vs. OpenGL ES -- Quest 3 supports Vulkan and it is recommended for best performance. Quest 2 also supports Vulkan but some older Meta XR SDK features had Vulkan-only bugs. If you see rendering artifacts on Quest 2 with Vulkan, try OpenGL ES 3.0 as a fallback and file a bug.
- Missing Android manifest permissions -- Meta VR-specific features (hand tracking, passthrough, scene understanding, eye tracking) require explicit manifest permissions. The app will silently fail to access these features without the correct permissions. They are not added automatically by the SDK.
- Forgetting to set the package name before first build -- Changing the package name after the first install on a device can cause data loss or install failures. Set the correct
com.company.appnamepackage name before your first build and deploy. - Unreal Engine: OpenXR vs. OVRPlugin -- Unreal supports both the OpenXR backend and the legacy OVRPlugin backend for Quest. New projects should use OpenXR. Mixing plugins in the same project causes undefined behavior.
Common Post-Setup Tasks
After the project is created and configured on any platform, these tasks are typically needed:
Register the App on the Developer Dashboard
Create an application entry at developer.meta.com to obtain an App ID. This is required for platform features like entitlement checks, multiplayer, achievements, and store submission.
Set Up Version Control
Initialize a Git repository and configure .gitignore for the chosen platform:
git init
# Use a platform-appropriate .gitignore (Unity, Unreal, Android, or Node.js)
First Build and Deploy
Build the project and install it on a connected Meta VR device:
# After building, install the APK
metavr app install path/to/build.apk
# Launch the app
metavr app launch com.yourcompany.yourapp
# Monitor logs during first run
metavr adb logcat --follow --tag yourapp
Performance Baseline
On first successful run, verify the application meets baseline performance targets:
- Frame rate: 72 Hz minimum (90 Hz or 120 Hz preferred on Quest 3)
- Frame timing: Consistent frame times without spikes
- Thermal: No thermal throttling warnings during normal use
References
Skill References
- Unity Project Setup -- One-shot Unity project setup via the
metavr_unity_setupMCP tool- Unity Manual Setup (fallback) -- Step-by-step manual configuration; only needed when the MCP tool is unavailable
- Unreal Project Setup -- Step-by-step Unreal Engine project creation and configuration
- Standard Android Project Setup -- Create a 2D Horizon OS panel app without an immersive SDK
- Spatial SDK Project Setup -- Create an immersive or hybrid Android app with Meta Spatial SDK
- Web Project Setup -- Step-by-step IWSDK/WebXR project creation and configuration
Version history
-
v1.8.0
GitHub ↗
Original release notes
**Full Changelog**: https://github.com/meta-quest/agentic-tools/compare/v1.2.3...v1.8.0
-
v1.2.3
GitHub ↗
Original release notes
**Full Changelog**: https://github.com/meta-quest/agentic-tools/compare/v1.2.1...v1.2.3
-
v1.2.1
GitHub ↗
Original release notes
**Full Changelog**: https://github.com/meta-quest/agentic-tools/commits/v1.2.1
Current listing version
0.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 高价值场景:解决 Meta Quest/Horizon OS 新项目从零搭建的核心痛点
- 多平台覆盖:支持 Unity/Unreal/Android/Spatial SDK/WebXR 全路径脚手架
- 明确受众:面向 VR 开发者,提供标准化项目初始化流程
Highlights
- 触发词精准:明确要求 'build path selected' 后触发,避免前置混淆
- 场景细化:'When to Use This Skill' 清晰界定适用边界
- 平台映射:表格明确各 build path 的适用场景与参考文档
Highlights
- 结构完整:涵盖前置条件、平台选择、配置指引、常见陷阱、后续任务
- 步骤清晰:分阶段引导用户完成项目创建与验证
- 示例丰富:提供命令行示例、性能基线、部署流程等端到端指引
Highlights
- 工具可靠:明确推荐 metavr CLI、npx、MCP Unity tool,避免手动配置风险
- 异常覆盖全面:涵盖 API level、ABI、Gradle、Unity version、渲染后端等关键陷阱
- 安全机制:强调 package name 设置时机、manifest permissions、版本兼容性
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 5, 30, 34
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- developer.meta.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before creating any Meta VR project, complete these steps regardless of platform: 1. **Create a Meta developer account** -- Sign up at 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: Examples below use the bare `metavr` command; if you use the npm distribution,
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.