visionOS
Fusengine2026-10-24查看 1051复制 1342
在构建 Vision Pro 应用程序时使用 - 空间计算、RealityKit 3D 内容、沉浸式空间或体积。
📘如何使用这个技能
- 1复制技能内容·点击上方「Copy SKILL.md」复制全部内容,或 Download 下载到本地
- 2打开你的 AI 客户端·支持 Claude Code、Trae、Cursor、ChatGPT、DeepSeek、Kimi 等任意 AI 助手
- 3粘贴为系统提示/知识文件·Claude Code:放入 .claude/skills/ 目录;普通对话:作为首条消息发送并说「请严格按这份技能文档执行」
- 4直接提出你的需求·AI 会按技能定义的工作流、格式和约束来处理,无需再解释背景
💡 提示:技能生效后,每次对话只需一句需求,AI 会按 SKILL.md 的流程执行。
SKILL.md2838 chars
--- name: visionos description: Use when building Vision Pro apps — spatial computing, RealityKit 3D content, immersive spaces, or volumes. versions: visionos: 27 user-invocable: false references: references/spatial-computing.md, references/realitykit.md, references/ornaments.md related-skills: swift-core, swiftui-core, mcp-tools --- <objective> Covers visionOS-specific development for Apple Vision Pro spatial computing: 3D spatial interaction, RealityKit-based 3D content rendering, immersive environments, mixed-reality features, and hand/eye tracking. Covers the three scene types available — WindowGroup (2D windows in space), Volume (3D bounded content), and ImmersiveSpace (full immersive experience) — with references on windows/volumes/spaces, RealityView/3D content, and ornament-based 2D UI attachments. Best practices: start with familiar 2D windows before adding depth, introduce volumes gradually for 3D content, use ornaments to attach 2D UI to 3D scenes, respect the user's physical space rather than overwhelming it, design for natural hand tracking, and avoid rapid movements that cause eye discomfort. </objective> # visionOS Platform visionOS-specific development for Apple Vision Pro spatial computing. ## Agent Workflow (MANDATORY) Before ANY implementation, spawn 3 agents in parallel, one `Agent` call each with a `name`: 1. **fuse-ai-pilot:explore-codebase** - Analyze existing visionOS patterns 2. **fuse-ai-pilot:research-expert** - Verify latest visionOS 27 docs via Context7/Exa 3. **mcp__apple-docs__search_apple_docs** - Check spatial computing patterns After implementation, run **fuse-ai-pilot:sniper** for validation. --- ## Overview ### When to Use - Building Vision Pro applications - Creating 3D spatial experiences - Mixed reality features - Immersive environments - Hand and eye tracking ### Why visionOS Skill | Feature | Benefit | |---------|---------| | Spatial computing | 3D interaction | | RealityKit | 3D content rendering | | Immersive spaces | Full environment | | Volumes | 3D bounded content | --- ## Scene Types | Scene | Description | |-------|-------------| | WindowGroup | 2D windows in space | | Volume | 3D bounded content | | ImmersiveSpace | Full immersive experience | --- ## Reference Guide | Need | Reference | |------|-----------| | Windows, volumes, spaces | [spatial-computing.md](references/spatial-computing.md) | | RealityView, 3D content | [realitykit.md](references/realitykit.md) | | Attachments, UI ornaments | [ornaments.md](references/ornaments.md) | --- ## Best Practices 1. **Start with windows** - Familiar 2D first 2. **Add depth gradually** - Volumes for 3D 3. **Use ornaments** - Attach 2D UI to 3D 4. **Respect space** - Don't overwhelm user 5. **Hand tracking** - Natural interactions 6. **Eye comfort** - Avoid rapid movements