axiom-watchos
- 作者仓库星标 0
- 许可证 MIT
- 作者更新于 2026年8月25日 02:29
- 作者仓库 Axiom
watchOS Development
You MUST use this skill for ANY watchOS-specific development including app structure, independent apps, Watch Connectivity, complications and Smart Stack widgets, controls, Live Activities on watch, background tasks, and ClockKit migration.
<!-- AXIOM_AUDITOR_INLINE_BEGIN — rewritten for Codex by scripts/build-codex.ts; do not hand-edit --><!-- AXIOM_AUDITOR_INLINE_END -->Auditors are skills here. Where this router says "Launch
some-auditoragent", invoke the matching Codex skill instead — same procedure, no Claude Code agent required.Available:
axiom-modernize.The ones that shell out — builds, tests, simulators, crash symbolication — need shell access to run.
Quick Reference
| Symptom / Task | Reference |
|---|---|
| App structure, independent apps, watchOS 26 submission requirements | See skills/platform-basics.md |
| watchOS HIG, glanceable UX, navigation model | See skills/design-for-watchos.md |
| Smart Stack widgets, complications, ClockKit→WidgetKit, RelevanceKit | See skills/smart-stack-and-complications.md |
| Controls on watch surfaces, Live Activities on watch | See skills/controls-and-live-activities.md |
| Watch Connectivity (WCSession), paired-device data transfer, Family Setup | See skills/watch-connectivity.md |
Xcode won't install/launch/attach to a Watch; Watch missing or unavailable in Device Hub / devicectl |
See skills/watch-device-diag.md |
| Background tasks, freshness scheduling, TN3135 networking limits | See skills/background-and-networking.md |
BGTaskScheduler migration, deprecated WK background scheduling OS27 |
See skills/background-and-networking.md |
Foundation Models / Private Cloud Compute on the watch OS27 |
See skills/platform-basics.md |
| WatchKit→SwiftUI migration, ClockKit→WidgetKit migration | See skills/modernization.md |
Cross-Suite Routes
These topics overlap with watchOS development but live in separate suites:
SwiftUI (shared iOS/watchOS/macOS)
- View state, data flow, @Observable → See axiom-swiftui
- Navigation basics (NavigationStack) → See axiom-swiftui
- Layout, animations → See axiom-swiftui
Design
- General HIG, Liquid Glass, SF Symbols, typography → See axiom-design
Accessibility
- General VoiceOver, Dynamic Type, WCAG → See axiom-accessibility
- watchOS-specific (VoiceOver rotor on Digital Crown, AssistiveTouch, Double Tap) → See axiom-accessibility (
skills/watchos-a11y.md)
Health and workouts
- HealthKit,
HKWorkoutSession,HKLiveWorkoutBuilder, WorkoutKit → See axiom-health - Workout recovery, multi-device coordination → See axiom-health (
skills/workouts.md)
iOS-side widgets and App Intents
- iOS/iPadOS widgets, configuration intents, App Intents → See axiom-integration
- Live Activities on iPhone (initiation + ActivityKit) → See axiom-integration
Concurrency
- Swift 6 concurrency, actors, Sendable → See axiom-concurrency
New-on-watch frameworks (27 releases)
- Foundation Models depth (sessions, @Generable, tools, PCC) → See axiom-ai; watch scoping is in
skills/platform-basics.md - Vision framework (new on watchOS 27) → See axiom-vision
- NowPlaying / MusicUnderstanding (new on watchOS 27) → See axiom-media
Conflict Resolution
axiom-watchos vs axiom-swiftui: When building a watchOS SwiftUI app:
- Use axiom-watchos for watch-specific patterns: glanceable UI, constrained navigation, Digital Crown focus, Smart Stack placement
- Use axiom-swiftui for cross-platform SwiftUI: state management, layout primitives, animations
- Both may apply: A watchOS NavigationStack with complications needs axiom-watchos for complication surfaces and axiom-swiftui for NavigationStack basics
axiom-watchos vs axiom-integration: For widgets and Live Activities:
- Use axiom-watchos for watch complications, Smart Stack placement, watch-side Live Activity presentation, RelevanceKit
- Use axiom-integration for iOS/iPadOS widgets, core ActivityKit API, App Intents
watch-device-diag vs watch-connectivity: Two independent connections fail in ways that look identical. Decide which before writing any code:
- Use watch-device-diag for the Mac/Xcode → Watch link (CoreDevice): install, launch, LLDB attach, a Watch that is missing or
unavailable - Use watch-connectivity for the iPhone app ↔ watchOS app link (
WCSession): transfer-API choice, delivery semantics, background-task completion - When unsure, start with watch-device-diag. Run the app without the debugger attached — if it behaves correctly, the fault is the tunnel and no
WCSessionchange will help. RedesigningWCSessionto compensate for a broken debugger tunnel is the most expensive mistake in watchOS work isReachable == falseis not a transport failure — it is the expected value across ordinary lifecycle transitions and routes to watch-connectivity, not here
axiom-watchos vs axiom-health: For workouts on Apple Watch:
- Use axiom-watchos for watch-specific presentation: Always On display, Smart Stack placement, background mode coordination
- Use axiom-health for
HKWorkoutSessionlifecycle,HKLiveWorkoutBuilder, recovery, multi-device mirroring
Decision Tree
digraph watchos {
start [label="watchOS development task" shape=ellipse];
what [label="What area?" shape=diamond];
start -> what;
what -> "skills/platform-basics.md" [label="app structure, independent apps, submission"];
what -> "skills/design-for-watchos.md" [label="watch HIG, glanceable UX"];
what -> "skills/smart-stack-and-complications.md" [label="complications, Smart Stack, RelevanceKit"];
what -> "skills/controls-and-live-activities.md" [label="controls, watch Live Activities"];
what -> "skills/watch-connectivity.md" [label="WCSession, paired-device transfer"];
what -> "skills/watch-device-diag.md" [label="Xcode can't reach the Watch"];
what -> "skills/background-and-networking.md" [label="background tasks, BGTaskScheduler, networking limits"];
what -> "skills/platform-basics.md" [label="Foundation Models / PCC on watch"];
what -> "skills/modernization.md" [label="WatchKit/ClockKit migration"];
what -> "axiom-health" [label="workouts, HealthKit, WorkoutKit"];
what -> "axiom-swiftui" [label="general SwiftUI patterns"];
what -> "axiom-accessibility" [label="VoiceOver rotor, AssistiveTouch"];
what -> "axiom-integration" [label="iOS-side widgets, App Intents"];
}
Resources
WWDC: 2021-10003, 2022-10133, 2023-10138, 2023-10029, 2023-10309, 2024-10098, 2024-10157, 2024-10205, 2025-334
Docs: /watchos-apps/building_a_watchos_app, /watchos-apps/creating-independent-watchos-apps, /watchconnectivity, /widgetkit/creating-accessory-widgets-and-watch-complications, /widgetkit/converting-a-clockkit-app, /relevancekit, /technotes/tn3135-low-level-networking-on-watchos, /technotes/tn3157-updating-your-watchos-project-for-swiftui-and-widgetkit
Skills: axiom-swiftui, axiom-design, axiom-accessibility, axiom-health, axiom-integration, axiom-concurrency, axiom-ai, axiom-vision, axiom-media
- 流狐分类
- 通用
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 94 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @CharlesWiltgen · MIT
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 需简单配置
- 是否需要外部 API Key
- 未发现要求
- 检测到的系统要求
- macOS
- 底层运行要求
- 未声明
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- Shell 执行
- 检测到的网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 Symptom / Task · Reference App structure, independent apps, watchOS 26 submission requirements · See skills/platform-basics.md watchOS HIG, glanceable UX, navigation model · See skills/design-for-watchos.md
These topics overlap with watchOS development but live in separate suites: SwiftUI (shared iOS/watchOS/macOS) View state, data flow, @Observable → See axiom-swiftui
axiom-watchos vs axiom-swiftui: When building a watchOS SwiftUI app: Use axiom-watchos for watch-specific patterns: glanceable UI, constrained navigation, Digital Crown focus, Smart Stack placement Use axiom-swiftui for cross-platform SwiftUI: state…
Decision Tree
WWDC: 2021-10003, 2022-10133, 2023-10138, 2023-10029, 2023-10309, 2024-10098, 2024-10157, 2024-10205, 2025-334 Docs: /watchos-apps/buildingawatchosapp, /watchos-apps/creating-independent-watchos-apps, /watchconnectivity,…
# watchOS Development
**You MUST use this skill for ANY watchOS-specific development including app structure, independent apps, Watch Connectivity, complications and Smart Stack widgets, controls, Live Activities on watch, background tasks, and ClockKit migration.**
<!-- AXIOM_AUDITOR_INLINE_BEGIN — rewritten for Codex by scripts/build-codex.ts; do not hand-edit -->
> **Auditors are skills here.** Where this router says "Launch `some-auditor` agent", invoke the
> matching Codex skill instead — same procedure, no Claude Code agent required.
>
> Available: `axiom-modernize`.
>
> The ones that shell out — builds, tests, simulators, crash symbolication — need shell access to run.
<!-- AXIOM_AUDITOR_INLINE_END -->
## Quick Reference
| Symptom / Task | Reference |
|----------------|-----------|
| App structure, independent apps, watchOS 26 submission requirements | See `skills/platform-basics.md` |
| watchOS HIG, glanceable UX, navigation model | See `skills/design-for-watchos.md` |
| Smart Stack widgets, complications, ClockKit→WidgetKit, RelevanceKit | See `skills/smart-stack-and-complications.md` |
| Controls on watch surfaces, Live Activities on watch | See `skills/controls-and-live-activities.md` |
| Watch Connectivity (WCSession), paired-device data transfer, Family Setup | See `skills/watch-connectivity.md` |
| Xcode won't install/launch/attach to a Watch; Watch missing or `unavailable` in Device Hub / devicectl | See `skills/watch-device-diag.md` |
| Background tasks, freshness scheduling, TN3135 networking limits | See `skills/background-and-networking.md` |
| BGTaskScheduler migration, deprecated WK background scheduling `OS27` | See `skills/background-and-networking.md` |
… 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> Quick Reference → Cross-Suite Routes → Conflict Resolution → Decision Tree → Resources
要点 -> Auditors are skills here. · axiom-watchos vs axiom-swiftui · Use axiom-watchos · Use axiom-swiftui · Both may apply · axiom-watchos vs axiom-integration · Use axiom-integration · watch-device-diag vs watch-connectivity
文件/命令 -> some-auditor · axiom-modernize · skills/platform-basics.md · skills/design-for-watchos.md · skills/smart-stack-and-complications.md · skills/controls-and-live-activities.md · skills/watch-connectivity.md · unavailable
内容 SHA-256 -> 9c4dd453d185
原文结构
适用与边界
原文中的明确线索
some-auditor、axiom-modernize、skills/platform-basics.md、skills/design-for-watchos.md、skills/smart-stack-and-complications.md、skills/controls-and-live-activities.md、skills/watch-connectivity.md、unavailable