mobile-ar-vr
Use when the user asks about AR in a mobile app, ARKit, ARCore, RealityKit, SceneView, plane detection, anchors, object placement or visionOS and XR…
от j4flmao★ 47 звёзд на GitHub
Установить mobile-ar-vr в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Mobile AR/VR Development
Purpose
Design and implement AR/VR experiences for mobile platforms with platform-aware setup, optimized 3D content, intuitive interaction patterns, and performance within device constraints.
Agent Protocol
Trigger
"AR", "VR", "augmented reality", "virtual reality", "ARKit", "ARCore", "Unity AR", "3D rendering", "SceneView", "AR scene", "AR interaction", "AR performance", "AR placement", "AR anchor", "AR lighting", "AR tracking", "AR model", "AR filter", "AR face tracking", "AR image tracking", "AR plane detection".
Input Context
- Target platforms (iOS only, Android only, or cross-platform)
- AR/VR feature requirements (plane detection, image tracking, face tracking, world mapping)
- 3D assets available and their formats (USDZ, glTF, FBX, OBJ)
- Performance targets (target FPS, memory budget, battery impact)
- Interaction model (tap placement, drag rotation, gesture-driven)
Output Artifact
AR/VR integration plan with platform selection, scene architecture, anchor management strategy, 3D model pipeline, interaction model, and performance budget.
Response Format
No preamble. No postamble. No explanations. No filler/hedging/transitions. Compress output.
Completion Criteria
- Platform selected with fallback strategy for unsupported devices
- Scene configured with session management and tracking
- 3D model pipeline defined with format, compression, and LOD strategy
- Interaction patterns chosen with haptic/visual feedback
- Performance budget documented with measurement approach
- VR considerations addressed if applicable
Max Response Length
300 lines
Architecture / Decision Trees
AR Framework Decision Tree
Is the app cross-platform (iOS + Android)?
├── Yes → Use ARFoundation (Unity) or SceneView (React Native / Flutter)
│ ├── Unity project? → ARFoundation with ARCore/ARKit XR Plugins
│ └── React Native / Flutter? → SceneView / ar_flutter_plugin
├── iOS only → ARKit (native Swift) — best iOS experience
└── Android only → ARCore (native Kotlin/Java)
Does the app need LiDAR features?
├── Yes → ARKit (LiDAR on iOS), ARCore Depth API (limited Android)
└── No → Any framework works
Tracking Configuration Decision
What type of AR tracking is needed?
├── World tracking (object placement on surfaces)
│ ├── Indoor → ARWorldTrackingConfiguration + plane detection
│ └── Outdoor → GPS + ARKit GeoTracking / ARCore + VPS
├── Image tracking (detect 2D images)
│ └── ARImageTrackingConfiguration / Augmented Images
├── Face tracking (AR filters, masks)
│ └── ARFaceTrackingConfiguration (iOS TrueDepth) / ARCore Augmented Faces
├── Body tracking (motion capture)
│ └── ARBodyTrackingConfiguration (iOS A12+) / ARCore 3D Body
└── Object scanning (3D object recognition)
└── ARObjectScanningConfiguration + ARObjectAnchor (no direct ARCore equivalent; use ML-based detection)
3D Asset Pipeline Decision
Source format?
├── Animated → glTF 2.0 (universal) or USDZ (iOS native with animation)
│ GLTF preferred — broader tool support, Draco compression
├── Static → glTF or compressed OBJ (Draco compressed for streaming)
└── CAD/BIM data → USDZ (Pixar USD ecosystem, retains metadata)
Budle target size?
├── <10MB total → glTF with texture atlases, no LOD needed
├── 10-50MB → LOD generation (3 levels), Draco compression
└── >50MB → Streaming (download on demand), not bundled
Workflow
Step 1: Platform Selection
ARKit (iOS 11+): LiDAR scene reconstruction only on LiDAR devices (Pro iPhones from iPhone 12 Pro, iPad Pro 2020+), ARWorldTrackingConfiguration for 6DOF, ARImageTrackingConfiguration for image targets, ARFaceTrackingConfiguration for face AR. ARCore (Android 7+): Google Play Services for AR, supported devices list at developers.google.com/ar/devices, Depth API for occlusion, Augmented Images for image tracking. Cross-platform: use ARFoundation (Unity) or SceneView (React Native / Flutter).
| Capability | ARKit | ARCore |
|---|---|---|
| Plane detection | Horizontal + vertical + LiDAR mesh | Horizontal + vertical |
| Image tracking | Concurrent, up to 100 images | Up to 20 images |
| Face tracking | TrueDepth camera (iPhone X+) | Front camera, less precise |
| World mapping | Persistent via ARWorldMap | Cloud Anchors |
| LiDAR support | iPad Pro 2020+, iPhone 12 Pro+ | Select Android devices |
Step 2: Scene Setup
Configure ARSession. For world tracking: set ARWorldTrackingConfiguration (iOS) or Config with PlaneFindingMode (Android). Enable auto-focus, ambient light estimation, and environment texturing. Handle session interruptions.
ARSession
├── Configuration (plane detection, light estimation, environment texturing, frame semantics)
├── Anchors (Plane anchors, Image anchors, Object anchors)
└── State management (Running -> Paused -> Running, Limited tracking -> Recovery prompt)
Step 3: 3D Model Handling
Preferred formats: USDZ (iOS nativ
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/ar-core-arkit.md
- references/ar-patterns.md
- references/ar-platforms.md
- references/ar-vr-advanced.md
- references/ar-vr-fundamentals.md
- references/ar-vr-interaction-design.md
- references/ar-vr-rendering-performance.md
- references/ar-vr-testing.md
- references/arcore-implementation.md
- references/arkit-implementation.md
- references/vr-development.md
FAQ
Что делает скилл mobile-ar-vr?
Use when the user asks about AR in a mobile app, ARKit, ARCore, RealityKit, SceneView, plane detection, anchors, object placement or visionOS and XR performance budgets. Produces AR session setup, anchor and 3D asset handling and interaction code. Not for game engine projects in general (use unity) or 3D on the web (use web3d-webgl).
Как установить скилл mobile-ar-vr?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл mobile-ar-vr запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…