This skill guides building visionOS SwiftUI scenes with RealityKit content, helping you choose between SwiftUI and RealityKit APIs and bridging them
npx playbooks add skill tomkrikorian/visionosagents --skill spatial-swiftui-developer
structure, switch to spatial-app-architecture first.
Chart3D, SurfacePlot, 3D chart marks, orChart3DPose, switch to $swiftui-chart3d-developer.
Model3D for simple asset display, RealityViewfor custom entity graphs and attachments.
points.
build-run-debug.| Reference | When to Use |
|-----------|-------------|
| [swiftui-spatial-overview.md](references/swiftui-spatial-overview.md) | When you need the general feature map, examples, and routing guidance for this skill. |
| [model3d.md](references/model3d.md) | When using Model3D for async model loading, assets, animation, or manipulation. |
| [realityview.md](references/realityview.md) | When setting up RealityView, attachments, or RealityKit integration patterns. |
| [interaction.md](references/interaction.md) | When implementing gestures or manipulation patterns for spatial input. |
| [buttons-and-controls.md](references/buttons-and-controls.md) | When implementing visible SwiftUI buttons, links styled as buttons, toolbars, forms, or control surfaces. |
| [swiftui-scene-lifecycle.md](references/swiftui-scene-lifecycle.md) | When checking official Window, WindowGroup, ImmersiveSpace, open/dismiss, restoration, and launch contracts. |
| [windowing-immersion.md](references/windowing-immersion.md) | When managing windows, volumetric surfaces, or immersive space transitions. |
| [spatial-layout.md](references/spatial-layout.md) | When using SwiftUI spatial layout APIs, sizing, or debug tools. |
Model3D, RealityView, window, volume, orimmersive scene.
.buttonBorderShape(...) (.capsulefor labeled actions, .circle for icon-only,.roundedRectangle(radius:) matching the background for card-like
buttons - on visionOS this is also what shapes the button's hover
highlight). Non-button hover surfaces pair .hoverEffect() with a matching.contentShape(.hoverEffect, ...). Load
[buttons-and-controls.md](references/buttons-and-controls.md) before
writing any control code - this applies even when buttons are incidental to
a larger task.
RealityView make or update closures or in asystem, not in SwiftUI body code.
Model3D only when you need simple display and layout, not a custom ECS graph.ImmersiveSpace as a separate scene with its own lifecycle and environment actions.defaultSize as an initial hint only; the system can clamp or restore geometry.$swiftui-chart3d-developer for Chart3D and spatial data visualization.build-run-debug when the question is about launch, build,simulator, codesign, or debugging workflow.
spatial-app-architecture when the question is about scene boundaries,ownership, or feature decomposition rather than API usage.
guidance here is current for visionOS 27. New in 27: gesture inputKinds:
filtering (see interaction.md) plus cross-platform toolbar and navigation
refinements that also apply on visionOS.
Provide:
Model3D, RealityView, windowing, interaction,or layout)
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.