xr-mode-test

Automates XR mode lifecycle testing and validation for immersive experiences via invoking XR APIs and reporting outcomes.

364|73|Updated Aug 25, 2025
One-click install
npx skills add https://github.com/facebook/immersive-web-sdk --skill xr-mode-test
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xr-mode-test
Source: https://github.com/facebook/immersive-web-sdk/tree/main/packages/starter-assets/claude-injections/skills/xr-mode-test
Command: npx skills add https://github.com/facebook/immersive-web-sdk --skill xr-mode-test

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manual XR session lifecycle testing is time-consuming and error-prone across devices and modes.

Core Features & Use Cases

  • Automated enter/exit XR testing to validate session state and visibility across 2D and XR modes.
  • Deterministic test steps with status reporting and log collection for debugging session state issues.
  • Reusable test flows for regression testing during WebXR integration and feature toggles.

Quick Start

Run xr-mode-test to automatically verify XR entry, exit, and mode transitions in your application.

Frequently Asked Questions about xr-mode-test

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate WebXR session lifecycle testing across different devices?

Automating WebXR session lifecycle testing involves running deterministic test steps that invoke XR APIs to validate enter and exit transitions across devices. This provides status reporting and structured logs for debugging session state issues.

What is XR mode transition testing and when do I need it for immersive experiences?

XR mode transition testing validates application state and visibility when switching between 2D and XR modes. You need it during WebXR integration to ensure reliable session state management and prevent visibility errors.

How do I validate enter and exit XR session states for regression testing?

You validate enter and exit XR session states by executing reusable automated test flows that invoke XR APIs. These flows report deterministic outcomes and collect structured logs for regression testing during feature toggles.

Can I use automated XR testing to debug session state issues in 2D and XR modes?

Yes, automated XR testing can debug session state issues by verifying visibility across 2D and XR modes. It collects structured logs and reports status outcomes to identify and resolve lifecycle inconsistencies.

Why does manual XR session testing take so long and produce inconsistent results?

Manual XR session testing is time-consuming because it requires repeating enter and exit transitions across multiple devices and modes. Automating the process removes manual error and ensures deterministic validation outcomes.