watchos-code-review

Review watchOS code for lifecycle, complications, WatchConnectivity, and performance issues.

Updated Feb 17, 2026
One-click install
npx skills add https://github.com/javierhbr/random-poc --skill watchos-code-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: watchos-code-review
Source: https://github.com/javierhbr/random-poc/tree/main/custom-skills/beagle-main/plugins/beagle-ios/skills/watchos-code-review
Command: npx skills add https://github.com/javierhbr/random-poc --skill watchos-code-review

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers ensure their watchOS code adheres to best practices, focusing on app lifecycle, complications, WatchConnectivity, and performance constraints.

Core Features & Use Cases

  • Lifecycle Review: Checks for correct handling of app states and background execution.
  • Complication Best Practices: Validates the use of WidgetKit/ClockKit and timeline providers.
  • Connectivity Analysis: Ensures efficient and reliable data transfer between Apple Watch and iPhone.
  • Performance Optimization: Identifies potential memory, CPU, and battery usage issues.
  • Use Case: A developer has just finished implementing a new feature for their watchOS app and wants to ensure it meets Apple's guidelines before submission. They use this skill to get a comprehensive review of the relevant code sections.

Quick Start

Use the watchos-code-review skill to analyze the provided watchOS code for common issues.

Frequently Asked Questions about watchos-code-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review watchOS code for performance and lifecycle best practices?

To review watchOS code, analyze app states, background execution, and resource management to identify potential memory, CPU, and battery usage issues according to Apple guidelines.

What are the best practices for WatchConnectivity data transfer between Apple Watch and iPhone?

WatchConnectivity best practices involve validating code to ensure efficient and reliable data transfer between Apple Watch and iPhone, preventing common connectivity analysis issues.

How do I validate ClockKit and WidgetKit timeline providers for complications?

Validating ClockKit and WidgetKit timeline providers involves checking complication code against specific watchOS patterns to ensure correct background execution and timeline updates.

Can I use SwiftUI for watchOS performance optimization?

Yes, SwiftUI code can be reviewed for watchOS performance optimization to identify potential memory, CPU, and battery usage constraints within your app's implementation.

Why does my watchOS app fail background execution constraints?

watchOS background execution failures often stem from incorrect handling of app states and lifecycle issues, which can be identified by reviewing code against specific watchOS patterns.