watchOS with AI agents: SwiftUI, Digital Crown and Watch Connectivity
Do not ship an iPhone layout to Apple Watch. Prefer a focused watchOS SwiftUI app with Digital Crown-aware controls, Watch Connectivity only when the phone must sync, and complications or Smart Stack surfaces that fit the glance budget. Install Axiom's axiom-watchos pack or FocusEngine's watchOS focus skill, then confirm every API on developer.apple.com.
Last updated:
This page is about getting a coding agent to ship native watchOS apps: compact SwiftUI, Digital Crown focus, Watch Connectivity when needed, and complications or Smart Stack entries that stay glanceable. For general HIG audits, see Apple HIG with AI agents. For iPhone widgets and Live Activities, see WidgetKit and Live Activities with AI agents. For spatial Vision Pro work, see visionOS with AI agents.
What the agent has to get right
Apple's watchOS apps documentation and Setting Up a watchOS Project treat Watch apps as their own SwiftUI targets, not shrunk iPhone screens. Agents still paste phone navigation stacks onto the Watch and ignore Crown ownership.
Four layers show up in almost every watchOS PR:
App shape — an independent or companion watchOS app with a short hierarchy (Creating Independent watchOS Apps, Designing for watchOS).
Input — Digital Crown routing with digitalCrownRotation3. Phone sync — WCSession only when state must move between iPhone and Watch; prefer on-Watch data for glance actions.
Surfaces — complications, Smart Stack and controls sized for the wrist, not a ported iPhone widget layout.
Rules worth adding to AGENTS.md or CLAUDE.md:
watchOS: never ship an iPhone layout to Apple Watch. Keep navigation shallow. Own Digital Crown focus explicitly. Use Watch Connectivity only when the phone must sync. Confirm watchOS apps, WCSession and Designing for watchOS on developer.apple.com before inventing Watch APIs.
Step 1: install a watchOS-aware tool
Ask the agent to:
Install Axiom (
/plugin marketplace add CharlesWiltgen/Axiom, then install the axiom plugin) and load theaxiom-watchosskill pack for platform basics, connectivity, complications and design-for-watchOS guidance.Install Swift FocusEngine Pro (
npx skills add https://github.com/mhaviv/Swift-FocusEngine-Agent-Skill) for Digital Crown routing, sequential focus and Crown conflict reviews (watchos-focus.md).add Apple HIG Skills (
apple-design-platforms) for Designing for watchOS checklists, or Claude Apple Dev Skills (watchos-dev) for a native Watch scaffold.
Honest limit: one watchOS skill pack plus one focus skill beats installing every Apple platform pack at once.
Step 2: lock the Watch app contract
Point the agent at Setting Up a watchOS Project and Designing for watchOS. Require:
Independent vs companion — write down whether the Watch app runs without the iPhone.
Shallow hierarchy — one primary task per screen; no phone-sized tab forests.
Crown ownership — which view owns Digital Crown rotation, and how ScrollView conflicts are resolved with
@FocusState.Glance budget — complications and Smart Stack entries must read in a second; do not port dense iPhone widgets.
Step 3: Watch Connectivity with intent
For phone sync:
Use WCSession only when a value must stay in sync with the iPhone.
Prefer Watch-local state for actions the user expects on the wrist alone.
Keep transfer payloads small; do not stream phone UI models to the Watch.
Step 4: review Crown focus and build before merge
Run FocusEngine Pro on Digital Crown and focus changes. Use Axiom's axiom-watchos guidance (or the watchOS scaffold after merge) for structure. Treat iPhone layout ports, missing Crown ownership and invented Watch APIs as merge blockers. A green watchOS build does not replace a glance check on a Watch simulator or device.
Tools compared (4)
| Tool | Best for | Agents (README) | Install (README) | License | Stars | Last push |
|---|---|---|---|---|---|---|
| Axiom (CharlesWiltgen) | axiom-watchos skill pack: platform basics, Watch Connectivity, complications/Smart Stack, design-for-watchOS and device diagnostics | Claude Code, Cursor, Codex | /plugin marketplace add CharlesWiltgen/Axiom then install axiom from /plugin | MIT | 1242 | 31 Oct 2026 |
| Swift FocusEngine Pro (mhaviv) | watchOS Digital Crown routing, sequential focus, Crown conflicts and .digitalCrownAccessory reviews | Claude Code, Cursor, Codex | npx skills add https://github.com/mhaviv/Swift-FocusEngine-Agent-Skill | MIT | 22 | 31 Aug 2026 |
| Apple HIG Skills (CarlosZiegler) | apple-design-platforms skill with Designing for watchOS reference for wrist layout and interaction patterns | Codex (skills CLI; interactive installer selects agent) | npx skills@latest add CarlosZiegler/apple-hig-skills | MIT | 12 | 27 Oct 2026 |
| Claude Apple Dev Skills (laramarcodes) | watchos-dev pack: native watchOS SwiftUI scaffold templates for Claude Code, Cursor and Codex | Claude Code, Cursor, Codex | npx skills add laramarcodes/claude-apple-dev-skills | MIT | 4 | 29 Jul 2026 |
⚠ = no push for more than 4 weeks. Axiom (31 Oct) and Apple HIG Skills (27 Oct) are fresh. FocusEngine Pro (31 Aug) and Claude Apple Dev Skills (29 Jul) are older—verify guidance against current watchOS, WCSession and Designing for watchOS docs before treating every recommendation as final.
Which one to pick:
Default watchOS skill pack: Axiom (
axiom-watchos).Digital Crown / focus review: Swift FocusEngine Pro.
Designing for watchOS checklists: Apple HIG Skills (
apple-design-platforms).native Watch scaffold pack: Claude Apple Dev Skills (
watchos-dev).
A prompt that keeps the agent honest
Setting up the agent itself: Claude Code for iOS development, Codex for iOS development or Cursor rules for SwiftUI.
Build a native watchOS feature. Keep the hierarchy shallow. Own Digital Crown focus explicitly. Use Watch Connectivity only when the iPhone must sync. Do not paste an iPhone layout. Review Crown focus with FocusEngine Pro (or apple-design-platforms after merge). Follow axiom-watchos (or watchos-dev after merge). Confirm watchOS apps, WCSession and Designing for watchOS on developer.apple.com.
FAQ
- What is watchOS work for AI coding agents?
- watchOS work for agents means teaching Claude Code, Cursor or Codex to ship compact SwiftUI Watch apps with explicit Digital Crown focus, Watch Connectivity only when the phone must sync, and complications or Smart Stack surfaces that stay glanceable instead of pasting iPhone layouts onto Apple Watch.
- How should the agent handle the Digital Crown?
- Apple's SwiftUI digitalCrownRotation API and Designing for watchOS expect a clear owner for Crown input. Agents should set focus so Crown rotation does not fight ScrollView scrolling, and they should confirm modifier order and Crown conflicts against FocusEngine Pro's watchOS focus guidance and the live docs.
- Is Watch Connectivity required for every Watch app?
- No. Apple supports independent watchOS apps that run without the iPhone. Use WCSession when state must move between phone and Watch; keep glance actions Watch-local when possible, as described in Creating Independent watchOS Apps and the Watch Connectivity documentation.
- Which watchOS tool should I install first?
- Start with Axiom's axiom-watchos pack for platform structure, connectivity and complications. Add FocusEngine Pro when the feature touches Digital Crown or focus. apple-design-platforms from Apple HIG Skills covers Designing for watchOS checklists, and Claude Apple Dev Skills' watchos-dev pack scaffolds a native Watch app.
- Does a green watchOS build mean the Watch UI is finished?
- No. Builds catch scheme and compile mistakes. Glance layout, Crown ownership, complication density and connectivity choices still need a Watch simulator or device check against Designing for watchOS and the live watchOS apps docs on developer.apple.com.