realitykit
Build iOS augmented reality and 3D experiences with RealityKit and ARKit. Use when adding RealityView content, loading entities or USDZ models, anchoring objects to planes or world positions, distinguishing entity hit tests from ARKit real-world raycasts, handling AR camera availability, world tracking, scene updates, or RealityKit entity gestures and interactions.
npx skills add dpearson2699/swift-ios-skills --skill realitykit --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# RealityKit Build AR experiences on iOS using RealityKit for rendering and ARKit for world tracking. Covers `RealityView`, entity management, raycasting, scene understanding, and gesture-based interactions. Targets Swift 6.3 / iOS 26+. ## Contents - [Setup](#setup) - [RealityView Basics](#realityview-basics) - [Loading and Creating Entities](#loading-and-creating-entities) - [Anchoring and Placement](#anchoring-and-placement) - [Raycasting](#raycasting) - [Gestures and Interaction](#gestures-and-interaction) - [Scene Understanding](#scene-understanding) - [Common Mistakes](#common-mistakes) - [Review Checklist](#review-checklist) - [References](#references) ## Setup ### Project Configuration 1. Add `NSCameraUsageDescription` to Info.plist 2. On iOS, `RealityViewCameraContent` displays an AR camera view by default (iOS 18+, macOS 15+); use `.virtual` camera mode for explicit non-AR fallback 3. No entitlement is required for basic AR. If AR is core to the app, add the `arkit` required-device capability; otherwise gate AR UI with `isSupported`. ### Device Requirements Check the exact AR configuration's `isSupported` value before presenting AR UI. ```swift import ARKit guard ARWorldTr
- Contents
- Setup
- Project Configuration
- Device Requirements
- Key Types
- RealityView Basics
- Make and Update Pattern
- Loading and Creating Entities
- Loading from USDZ Files
- Adding Components
- Anchoring and Placement
- AnchorEntity
- Anchor Targets
- Raycasting
What does the realitykit skill do?
Build iOS augmented reality and 3D experiences with RealityKit and ARKit. Use when adding RealityView content, loading entities or USDZ models, anchoring objects to planes or world positions, distinguishing entity hit tests from ARKit real-world raycasts, handling AR camera availability, world tracking, scene updates, or RealityKit entity gestures and interactions.
How do I install it?
Run `npx skills add dpearson2699/swift-ios-skills --skill realitykit --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From dpearson2699/swift-ios-skills, a repository with 963 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.