ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 5/5

watchos-code-review

Reviews watchOS code for app lifecycle, complications (ClockKit/WidgetKit), WatchConnectivity, and performance constraints. Use when reviewing code with import WatchKit, WKExtension, WKApplicationDelegate, WCSession, or watchOS-specific patterns.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/anderskev/watchos-code-review
Or

What This Skill Does

The watchos-code-review skill is a specialized diagnostic and auditing tool for Apple Watch development. It acts as an expert pair programmer for watchOS-specific architecture, focusing on the unique constraints of the wearable environment, such as battery sensitivity, background runtime limitations, and the transition from legacy ClockKit to modern WidgetKit complications. The skill identifies architectural bottlenecks in WatchConnectivity, checks for proper implementation of lifecycle delegates, and ensures performance benchmarks are met for the constrained hardware of Apple Watch.

Installation

You can install this skill directly via the OpenClaw CLI using the following command: clawhub install openclaw/skills/skills/anderskev/watchos-code-review Once installed, the skill automatically registers hooks for files containing watchOS imports, allowing you to trigger reviews by referencing the skill in your project.

Use Cases

  • Legacy Migration: Transitioning older watchOS apps from ClockKit to WidgetKit and Smart Stack integration.
  • Connectivity Debugging: Resolving issues with data synchronization between iPhone and Watch using WCSession.
  • Performance Optimization: Reducing battery drain and memory pressure caused by inefficient background tasks or incorrect scene handling.
  • Code Audits: Validating compliance with Apple's strict UI guidelines and background runtime requirements for app approval.

Example Prompts

  1. "Analyze this WCSession implementation. Is the reachability check correct for transferring heavy health data to the iPhone?"
  2. "Review my background task handling in WKApplicationDelegate. Am I scheduling the next update correctly, and is the snapshot being finalized?"
  3. "My watchOS app crashes when transitioning from a nested TabView. Does my code follow the recommended navigation patterns to avoid memory leaks?"

Tips & Limitations

  • Context is Key: Always include the relevant part of the WKExtension or App delegate to get the most accurate feedback.
  • Reference Loading: You can manually trigger specific documentation loading by requesting the skill to pull from references/ for detailed deep-dives into specific APIs.
  • Limitations: While this skill is an expert in watchOS patterns, it cannot run the code. It should be used for architectural review and logical verification rather than unit testing or runtime debugging. Always test your app on physical hardware, as the simulator often masks background runtime and battery issues.

Metadata

Author@anderskev
Stars4473
Views0
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-anderskev-watchos-code-review": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#watchos#swiftui#mobile-development#code-review#apple-watch
Safety Score: 5/5