dat-conventions
Skill by facebook
Guides AI assistants on iOS development with the Meta DAT SDK, covering Swift patterns, async/await, naming conventions and key types. It is for developers building iOS apps that use Meta wearable devices.
Install dat-conventions
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/dat-conventions ~/.claude/skills/dat-conventionsRun 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/dat-conventions ~/.gemini/antigravity-cli/skills/dat-conventionsAntigravity 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
This agent skill gives an assistant the conventions for building iOS apps with the DAT SDK. It describes the SDK modules, including MWDATCore, MWDATCamera, MWDATDisplay and MWDATMockDevice, and lists the key types such as Wearables, DeviceSession, Camera, Stream and VideoFrame. It also covers Swift patterns like async/await, @MainActor and do/catch error handling, plus naming conventions and the imports to use.
The skill also includes build and test commands with xcodebuild, a development workflow, and notes on testing with MockDeviceKit without physical glasses. It points to a public remote MCP docs server for current API symbols and to the official iOS API reference. It is intended for iOS developers working with the Meta DAT SDK.
Written from the project's SKILL.md and checked against it.
What it can do
- Swift patternsExplains async/await use, AsyncSequence and publisher listening, @MainActor annotation and error handling.
- Naming conventionsLists naming rules for entry points, sessions, selectors, configurations and publishers.
- Key typesDescribes SDK types such as Wearables, DeviceSession, Camera, Stream and VideoFrame.
- Imports and modulesLists the DAT SDK modules and the import statements for app and test code.
- Build and test commandsProvides xcodebuild commands for building the SDK and running tests on an iOS Simulator.
- search_dat_docsSearches current DAT docs through the remote Meta docs MCP server, for setup, streaming and exact API symbols.
What you need
- Xcode
- Swift Package Manager
- iOS Simulator
Try asking
- How should I configure the DAT SDK at app launch in Swift?
- Which DAT SDK type should I use to select a connected device?
- Show me how to run DAT SDK tests with MockDeviceKit on the simulator.
Good to know
- Covers iOS development only.
- Describes conventions and key types, not full API details; the source points to the online API reference for those.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: plugins/mwdat-ios/skills/dat-conventions/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to dat-conventions
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
dat-conventions: common questions
Does the DAT SDK need physical glasses to test?
The source says the sample apps use MockDeviceKit and need no glasses, and that testing with MockDeviceKit requires no physical glasses.
Does the remote DAT docs MCP server need authentication?
The source says the public docs server at mcp.developer.meta.com/wearables does not require authentication and needs no tokens, OAuth or custom headers.
Which modules make up the DAT SDK for iOS?
The source lists MWDATCore, MWDATCamera, MWDATDisplay, MWDATMockDevice and MWDATMockDeviceTestClient.
How do I install dat-conventions?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is dat-conventions free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is dat-conventions 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 dat-conventions?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
