swift-health-kit

Community

Streamline HealthKit integration for Apple apps.

Authornonameplum
Version1.0.0
Installs0

System Documentation

What problem does it solve?

HealthKit integration in apps requires understanding entitlements, privacy controls, and data access patterns. This Skill consolidates setup, authorization, and usage guidance to streamline compliant HealthKit development.

Core Features & Use Cases

  • Setup guidance: enable HealthKit capability, request proper Info.plist keys, and verify device compatibility.
  • Data access patterns: read and write HealthKit data using HKHealthStore and the various type classes (HKQuantityType, HKCategoryType, HKCorrelation).
  • Privacy & compliance: implement per-type permission handling, privacy prompts, and guest user considerations on visionOS.
  • Real-world workflows: saving workout data, querying samples, and background delivery for updates.
  • Use Case: build a health-tracking app that records steps and workouts and shows them in the Health app.

Quick Start

Activate HealthKit in your project, verify availability with isHealthDataAvailable(), instantiate HKHealthStore, and request access to needed data types.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: swift-health-kit
Download link: https://github.com/nonameplum/agent-skills/archive/main.zip#swift-health-kit

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.