watchOS

Provides guidance on watchOS development including SwiftUI, Watch Connectivity, and HealthKit.

114|8|Updated Mar 4, 2025
One-click install
npx skills add https://github.com/gustavscirulis/snapgrid --skill watchos-gustavscirulis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: watchOS
Source: https://github.com/gustavscirulis/snapgrid/tree/main/.claude/skills/skills/watchos
Command: npx skills add https://github.com/gustavscirulis/snapgrid --skill watchos-gustavscirulis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance and best practices for developing native applications for Apple Watch, covering everything from UI design to complex integrations.

Core Features & Use Cases

  • watchOS Development Guidance: SwiftUI, Watch Connectivity, Complications, HealthKit, Workout Sessions.
  • Code Review & Best Practices: Ensure your watchOS apps are performant, battery-efficient, and user-friendly.
  • Use Case: You need to implement real-time data synchronization between an iPhone app and its watchOS companion app using Watch Connectivity, and you need to understand the best way to structure the data transfer and handle potential connection issues.

Quick Start

Use the watchOS skill to learn how to implement Watch Connectivity for data synchronization between iPhone and Apple Watch.

Frequently Asked Questions about watchOS

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

FAQPage Schema
How do I sync data between an iPhone and a watchOS app using Watch Connectivity?

Watch Connectivity syncs data between an iPhone and a watchOS companion app by structuring data transfers to handle real-time synchronization and potential connection issues. This ensures reliable inter-device communication for your native watch applications.

What's the best way to build complications and Smart Stack widgets for watchOS?

WidgetKit is the best way to build complications and Smart Stack widgets for watchOS. It provides the necessary frameworks to design and implement custom watch-specific UI patterns that integrate seamlessly into the Apple Watch face.

How do I integrate HealthKit and workout sessions into a native watchOS app?

Integrate HealthKit and workout sessions into a native watchOS app by using the provided in-depth guidance for accessing health data and managing workout sessions. This ensures your app remains performant and battery-efficient during active health tracking.

Can I use SwiftUI for watchOS UI design and what patterns should I follow?

You can use SwiftUI for watchOS UI design to create native interfaces. Following watch-specific UI patterns and best practices ensures your applications are user-friendly, performant, and properly optimized for the Apple Watch screen.

How do I perform a code review for a watchOS app to ensure battery efficiency?

Perform a watchOS code review by checking against best practices for performance and battery efficiency. This process evaluates your SwiftUI code, Watch Connectivity implementation, and HealthKit integration to ensure a user-friendly experience.