skillfed

watchos-code-review

This skill audits watchOS applications against framework-specific patterns for app lifecycle management, scene handling, and delegate setup. It checks complications using WidgetKit or ClockKit, WatchConnectivity message passing and file transfers, and enforces memory and battery constraints for background execution.

watchos-code-review examines your watchOS app code for proper lifecycle delegates, background task scheduling, and WatchConnectivity patterns.

AI-generated summary based on this skill's SKILL.md

74 10 Apache-2.0 updated by existential-birds

Install

existential-birds/beagle/watchos-code-review · repository language: TypeScript

CLI (skillfed)coming soon
git clone https://github.com/existential-birds/beagle
cp -r beagle/plugins/beagle-ios/skills/watchos-code-review ~/.claude/skills/watchos-code-review

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

What does watchos-code-review audit in a watchOS app?

watchos-code-review audits watchOS applications against framework-specific patterns for app lifecycle management, scene handling, and delegate setup. It checks complications using WidgetKit or ClockKit, WatchConnectivity message passing and file transfers, and enforces memory and battery constraints for background execution.

How does watchos-code-review validate WatchConnectivity session setup?

watchos-code-review validates WatchConnectivity session setup and message/file transfer semantics to ensure proper connectivity between paired iOS and watchOS apps. It verifies session initialization, delegate configuration, and correct handling of message passing and file transfer protocols.

Can watchos-code-review review watchOS app lifecycle patterns?

Yes, watchos-code-review reviews watchOS app lifecycle patterns including delegate and background task implementations. It examines how your app handles initialization, scene setup, and lifecycle transitions to ensure compliance with watchOS frameworks.

What complications and timeline features does watchos-code-review check?

watchos-code-review checks complications and timeline provider implementations for watchOS 9 and later. It validates WidgetKit and ClockKit usage, smart stack prioritization, and timeline data refresh patterns to ensure proper complication rendering.

How does watchos-code-review help with watchOS performance optimization?

watchos-code-review audits watchOS performance, memory, and battery constraints compliance. It identifies violations of watchOS resource limits and background execution restrictions, helping you optimize for the watch's constrained environment.

Does watchos-code-review verify extended runtime and workout session recovery?

watchos-code-review verifies watchOS extended runtime and workout session recovery patterns. It checks WKExtendedRuntimeSession usage and ensures proper handling of background workout sessions and recovery scenarios.

SKILL.md

rendered from the published skill — quoted content, verbatim

watchOS Code Review

Quick Reference

Issue Type Reference
App lifecycle, scenes, background modes, extended runtime references/lifecycle.md
ClockKit, WidgetKit, timeline providers, Smart Stack references/complications.md
WCSession, message passing, file transfer, reachability references/connectivity.md
Memory limits, background refresh, battery optimization references/performance.md

Review Checklist

  • [ ] SwiftUI App protocol used with @WKApplicationDelegateAdaptor for lifecycle events
  • [ ] scenePhase read from root view (not sheets/modals where it's always .active)
  • [ ] WKExtendedRuntimeSession started only while app is active (not from background)
  • [ ] Workout sessions recovered in

(truncated - see the full file via the links below)

Read as markdown · JSON record · Browse the source repository

File tree — 5 files
plugins/beagle-ios/skills/watchos-code-review/SKILL.md
plugins/beagle-ios/skills/watchos-code-review/references/complications.md
plugins/beagle-ios/skills/watchos-code-review/references/connectivity.md
plugins/beagle-ios/skills/watchos-code-review/references/lifecycle.md
plugins/beagle-ios/skills/watchos-code-review/references/performance.md

Related skills

Tags

wearable-development ios-companion-sync background-execution widget-complications device-constraints lifecycle-management inter-device-messaging battery-efficiency