Skip to content

// HealthKit read/write — steps, heart rate, workouts, sleep, background delivery, permissions flow.

iOS HealthKit IntegrationVerified Creator

git log --oneline --stat
HEAD
Stars
1.2k
Forks
63
Updated
Jun 2, 2026
repo --stat
  • stars

    1.2k

  • forks

    63

  • last update

    Jun 2, 2026

  • license

    MITv1.3.0

quickstart.sh
3 steps
  1. Install

    // Drops SKILL.md into ~/.claude/skills/

    $ claude skills add ios-healthkit-integration
  2. Invoke

    // Run from any project directory

    $ claude --skill ios-healthkit-integration "help me ship this"
  3. Iterate

    // Re-run with edits — Claude keeps the skill loaded

    $ claude --skill ios-healthkit-integration "now refactor it"
ios-healthkit-integration/
references
  • references/
  • SKILL.mdopen
  • README.mdopen
SKILL.md
readonly
name:
iOS HealthKit Integration
slug:
ios-healthkit-integration
version:
v1.3.0
license:
MIT
author:
@cupertino-craft
categories:
tags:
#healthkit#fitness#health#swift#permissions
description:

HealthKit read/write — steps, heart rate, workouts, sleep, background delivery, permissions flow.

features.md
6 capabilities

// What you can do with it

  • Info.plist — adds NSHealthShareUsageDescription (read) and NSHealthUpdateUsageDescription (write) with purpose-specific copy, plus the HealthKit capability/entitlement.
  • Authorization — HKHealthStore.isHealthDataAvailable() gating, then requestAuthorization(toShare:read:). It also handles the fact that read authorization status is intentionally opaque (you can't tell
  • Queries — picks the right tool: HKSampleQuery for one-shot fetches, HKStatisticsQuery/HKStatisticsCollectionQuery for sums and averages (daily step totals), HKAnchoredObjectQuery for incremental sync,
  • Background delivery — enableBackgroundDelivery(for:frequency:) paired with an HKObserverQuery and its completion handler so iOS keeps waking your app.
  • Workouts — HKWorkoutSession + HKLiveWorkoutBuilder for watchOS, writing HKWorkout with energy and distance.
  • Privacy review — a checklist mirroring what Apple enforces: data minimization, no advertising use, purpose-string specificity.

README.md

ios-healthkit-integration/README.md
7 sections
Loading README…

$ cat reviews/

Reviews

// No reviews yet. Be the first.
Loading review form…