watch-connectivity

Coordinate iPhone–watch data synchronization using WatchConnectivity patterns.

Updated Oct 1, 2025
One-click install
npx skills add https://github.com/chmc/listall --skill watch-connectivity-chmc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: watch-connectivity
Source: https://github.com/chmc/listall/tree/main/.claude/skills/watch-connectivity
Command: npx skills add https://github.com/chmc/listall --skill watch-connectivity-chmc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

WatchConnectivity patterns for iPhone–watch communication. Use when implementing or debugging iOS to watchOS data sync.

Core Features & Use Cases

  • Pattern-based communication using WCSession: check reachability, activation, and data transfer methods to ensure robust data synchronization between iPhone and Apple Watch.
  • Use cases cover real-time messaging when the watch is reachable, guaranteed-delivery of state updates, and state synchronization during app lifecycle events.

Quick Start

Initialize WCSession, activate the session, and implement a basic sendMessage or transferUserInfo flow to begin syncing data between iPhone and Apple Watch.

Frequently Asked Questions about watch-connectivity

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

FAQPage Schema
How do I set up iPhone to watchOS data sync using WCSession?

To establish iPhone to watchOS data sync, initialize WCSession, activate the session, and implement a basic sendMessage or transferUserInfo flow to begin syncing data between devices.

What is the best way to handle guaranteed data delivery when the Apple Watch is offline?

For guaranteed-delivery data transfer when offline, use WatchConnectivity patterns like transferUserInfo. This ensures state updates are reliably delivered once the watch reconnects.

Why does my sendMessage data fail to reach the Apple Watch?

Real-time messaging using sendMessage fails when the watch is not reachable. You must check reachability and activation states before attempting real-time communication.

How does WatchConnectivity handle state synchronization during app lifecycle events?

WatchConnectivity handles state synchronization during app lifecycle events by coordinating context updates and validating boundaries, ensuring robust data sync when apps activate or background.

What are common anti-patterns when implementing iOS to watchOS communication?

Common anti-patterns in iOS to watchOS communication include ignoring reachability checks, failing to validate session activation, and using real-time messaging for offline guaranteed-delivery state updates.