spatial-swiftui-developer
Spatial SwiftUI Developer
Quick Start
- If the task is really about surface choice, scene ownership, or file
structure, switch to
spatial-app-architecturefirst. - Pick the rendering track:
Model3Dfor simple asset display,RealityViewfor custom entity graphs and attachments. - Load only the matching reference files.
- Keep loading async and keep RealityKit mutations inside its intended entry points.
- Route build, launch, simulator, and test problems to
build-run-debug.
Load References When
| Reference | When to Use |
|---|---|
swiftui-spatial-overview.md |
When you need the general feature map, examples, and routing guidance for this skill. |
model3d.md |
When using Model3D for async model loading, assets, animation, or manipulation. |
realityview.md |
When setting up RealityView, attachments, or RealityKit integration patterns. |
interaction.md |
When implementing gestures or manipulation patterns for spatial input. |
buttons-and-controls.md |
When implementing visible SwiftUI buttons, links styled as buttons, toolbars, forms, or control surfaces. |
windowing-immersion.md |
When managing windows, volumetric surfaces, or immersive space transitions. |
spatial-layout.md |
When using SwiftUI spatial layout APIs, sizing, or debug tools. |
charts-3d.md |
When implementing Chart3D or other spatial data-visualization patterns. |
Workflow
- Confirm the architecture and scene ownership are already settled.
- Choose the rendering surface:
Model3D,RealityView, window, volume, or immersive scene. - Load only the matching reference files.
- Implement the smallest viable scene and keep mutations in the right layer.
- Summarize the chosen SwiftUI-to-RealityKit integration path.
Guardrails
- Keep RealityKit loads async; do not block the main actor with asset or entity loading.
- Mutate RealityKit content in
RealityViewmake or update closures or in a system, not in SwiftUI body code. - Use
Model3Donly when you need simple display and layout, not a custom ECS graph. - Treat
ImmersiveSpaceas a separate scene with its own lifecycle and environment actions. - Use
defaultSizeas an initial hint only; the system can clamp or restore geometry. - Switch to
build-run-debugwhen the question is about launch, build, simulator, codesign, or debugging workflow. - Use
spatial-app-architecturewhen the question is about scene boundaries, ownership, or feature decomposition rather than API usage.
Output Expectations
Provide:
- the chosen rendering and scene path
- which references were used
- the API surface involved (
Model3D,RealityView, windowing, interaction, layout, or charts) - the main implementation constraint or pitfall
- routing back to architecture or build/debug if needed
More from tomkrikorian/visionosagents
realitykit-visionos-developer
Build, debug, and optimize RealityKit scenes for visionOS 26, including entity/component setup, rendering, animation, physics, audio, input, attachments, and custom systems. Use when implementing RealityKit features or troubleshooting ECS behavior on visionOS.
62arkit-visionos-developer
Build and debug ARKit features for visionOS 26, including ARKitSession setup, authorization, data providers (world tracking, plane detection, scene reconstruction, hand tracking), anchor processing, and RealityKit integration. Use when implementing ARKit workflows on visionOS or troubleshooting provider-specific space, privacy, and lifecycle behavior.
55coding-standards-enforcer
Enforce repository coding standards for Swift 6.2 strict concurrency, actor isolation, @Observable models, SWIFT_APPROACHABLE_CONCURRENCY, @concurrent functions, and modern Swift APIs across visionOS app code. Use when reviewing, writing, or migrating Swift code in this plugin's scope.
44usd-editor
Guide for modifying USD ASCII (.usda) files, including prims, properties, composition arcs, variants, and transforms. Use when editing or reviewing .usda files by hand.
32shadergraph-editor
Author, load, and troubleshoot Reality Composer Pro Shader Graph materials for RealityKit on visionOS. Use when building Shader Graph materials, exposing promoted inputs for runtime control, or debugging exported USD and MaterialX interop.
27shareplay-developer
Build, integrate, and troubleshoot SharePlay GroupActivities features for visionOS 26, including GroupActivity definitions, activation flows, GroupSession lifecycle, messaging and journals, ShareLink and SharePlay UI surfaces, and spatial coordination.
23