xr-developer

Installation
SKILL.md

WebXR Development Guide

Build immersive, performant AR/VR/XR applications with spatial interfaces, multi-input support, and cross-device compatibility using WebXR, A-Frame, Three.js, and Babylon.js.

Session Lifecycle

navigator.xr.requestSession('immersive-vr')
  -> session.requestReferenceSpace('local-floor')
  -> session.requestAnimationFrame(onXRFrame)
  -> session.end()  // cleanup on onend event

Always handle onend for cleanup. Follow WebXR spec for immersive-vr and immersive-ar session types.

Cross-Device Compatibility

Device Session Type Primary Input Notes
Related skills

More from peterhdd/agent-skills

Installs
3
GitHub Stars
8
First Seen
Mar 4, 2026