sample-app-guide
Skill by facebook
Explains how to build an iOS app with the Meta Wearables DAT SDK that streams camera video and captures photos. It is aimed at iOS developers building DAT apps in SwiftUI.
Install sample-app-guide
Built from the published package, never by AI.
git clone --depth 1 https://github.com/facebook/meta-wearables-dat-ios /tmp/meta-wearables-dat-ios && mkdir -p ~/.claude/skills && cp -r /tmp/meta-wearables-dat-ios/plugins/mwdat-ios/skills/sample-app-guide ~/.claude/skills/sample-app-guideRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/facebook/meta-wearables-dat-ios /tmp/meta-wearables-dat-ios && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/meta-wearables-dat-ios/plugins/mwdat-ios/skills/sample-app-guide ~/.gemini/antigravity-cli/skills/sample-app-guideAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Sample App Guide is a walkthrough from the facebook publisher for building an iOS app with the DAT SDK. It covers project setup with Swift Package Manager, SDK initialization, registration, camera streaming, and photo capture. The guide includes sample Swift code for a wearables view model and a stream view model, and it recommends pairing it with the CameraAccess sample.
The guide also describes how the CameraAccess sample handles device sessions, background stops, firmware update prompts, and error alerts. It shows how to use MockDeviceKit to simulate glasses and feed a test video file, so developers can build without hardware. It is aimed at iOS developers who want to build a DAT app.
Written from the project's SKILL.md and checked against it.
What it can do
- Project setupWalks through creating a SwiftUI Xcode project and adding the SDK via Swift Package Manager.
- SDK initializationShows how to configure the Wearables SDK at app launch and handle URL callbacks.
- RegistrationObserves registration state and starts or ends registration through the Wearables object.
- Device sessionsCreates, starts and stops a device session and adds a camera to it.
- Video streamingShows how to receive video frames and stream state updates for a preview.
- Photo captureShows how to capture a JPEG photo from an active stream.
- Mock device testingShows how to simulate glasses with MockDeviceKit and a test video file.
What you need
- Xcode
- iOS
- Swift Package Manager
- Meta Wearables DAT iOS SDK
Try asking
- Show me how to set up a SwiftUI project with the DAT iOS SDK
- Write a stream view model that starts video and captures a JPEG photo
- How do I test a DAT app with MockDeviceKit and a video file?
Good to know
- Covers iOS only.
- Recommends the CameraAccess sample for a full working reference.
- The Allowed dependencies section lists MWDATCore, MWDATCamera, MWDATMockDevice and MWDATDisplay.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: plugins/mwdat-ios/skills/sample-app-guide/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to sample-app-guide
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
sample-app-guide: common questions
Can I test a DAT iOS app without glasses?
Yes. The guide shows how to use MockDeviceKit to pair a simulated Ray-Ban Meta device and set a test video as the camera feed.
Which SDK modules does a DAT iOS app need?
MWDATCore is always required. The guide lists MWDATCamera for camera streaming, MWDATMockDevice for testing, and MWDATDisplay for Display experiences.
How does the guide handle firmware updates?
It says to watch device compatibility and offer Wearables.shared.openFirmwareUpdate() when a device update is required, and to offer openDATGlassesAppUpdate() when the glasses app needs an update.
How do I install sample-app-guide?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is sample-app-guide free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is sample-app-guide safe to use?
It scores 69 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to sample-app-guide?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
