realitykit-visionos

Build visionOS apps with RealityKit entity-component-system architecture.

1|Updated Apr 5, 2026
One-click install
npx skills add https://github.com/piemonte/skills --skill realitykit-visionos
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: realitykit-visionos
Source: https://github.com/piemonte/skills/tree/main/realitykit-visionos
Command: npx skills add https://github.com/piemonte/skills --skill realitykit-visionos

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Developers struggle to master RealityKit's entity‑component‑system model, scene subscriptions, and immersive space setup for visionOS, leading to slow prototyping and fragile code.

Core Features & Use Cases

  • Entity hierarchy management: Create and traverse entities, attach components, and query children.
  • Custom component & system patterns: Define reusable data components, register them, and implement update loops through Systems.
  • Scene subscriptions and events: React to component activation, changes, and per‑frame updates.
  • ImmersiveSpace integration: Configure mixed, full, and progressive immersion spaces with SwiftUI.
  • Hand tracking and gestures: Access ARKit hand anchors, joint positions, and velocity for interactive experiences.
  • Multi‑window and window placement: Build visionOS apps with multiple windows, custom placement, and window lifecycle handling.

Quick Start

Generate a SwiftUI RealityView that displays a rotating sphere model inside an ImmersiveSpace on visionOS.

Frequently Asked Questions about realitykit-visionos

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

FAQPage Schema
How do I set up an ImmersiveSpace with RealityKit on visionOS?▼

You configure an ImmersiveSpace with RealityKit on visionOS by defining mixed, full, or progressive immersion styles in SwiftUI and attaching a RealityView to render 3D content.

How does RealityKit's entity component system work for visionOS apps?▼

RealityKit's entity component system for visionOS works by defining reusable data components, registering them, and implementing update loops through Systems to manage entity hierarchies and query children efficiently.

Can I access hand tracking data in a visionOS RealityKit app?▼

You can access hand tracking data in a visionOS RealityKit app by utilizing ARKit hand anchors to retrieve joint positions and velocity for building interactive experiences.

What is the best way to react to component changes in RealityKit?▼

The best way to react to component changes in RealityKit is to use scene subscriptions, which allow your app to respond to component activation, value changes, and per-frame updates.

Do I need external dependencies to build a visionOS app with RealityKit ECS?▼

You do not need external dependencies to build a visionOS app with RealityKit ECS, as it requires only the standard Swift and RealityKit libraries to generate ready-to-run code.

How do I manage multiple windows in a visionOS SwiftUI application?▼

You manage multiple windows in a visionOS SwiftUI application by implementing custom window placement and handling window lifecycle events natively within your SwiftUI project structure.