From beagle-ios
Reviews iOS HealthKit code for authorization patterns, query usage, background delivery, and data type handling. Useful when reviewing code with HKHealthStore, HKSampleQuery, or HKObserverQuery.
How this skill is triggered — by the user, by Claude, or both
Slash command
/beagle-ios:healthkit-code-reviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
| Issue Type | Reference |
| Issue Type | Reference |
|---|---|
| HKHealthStore, permissions, status checks, privacy | references/authorization.md |
| HKQuery types, predicates, anchored queries, statistics | references/queries.md |
| Background delivery, observer queries, completion handlers | references/background.md |
| HKQuantityType, HKCategoryType, workouts, units | references/data-types.md |
HKHealthStore.isHealthDataAvailable() called before any HealthKit operationsrequestAuthorization completion handler not misinterpreted as permission grantedHKObjectQueryNoLimit used only with bounded predicatesHKStatisticsQuery used for aggregations instead of manual summingcompletionHandler() always called (use defer)application(_:didFinishLaunchingWithOptions:)count/min for heart rate)deinitenableBackgroundDelivery -> background.mdisHealthDataAvailable() checked before creating HKHealthStore?npx claudepluginhub existential-birds/beagle --plugin beagle-iosReads, writes, and queries Apple Health data via HealthKit. Covers authorization, sample/statistics queries, saving data, background delivery, and workout sessions.
References HealthKit APIs for querying HKHealthStore, HKQuantitySample, workouts, and health data read/write operations in iOS apps.
Reviews CloudKit code for container setup, record handling, subscriptions, and sharing patterns. Use when reviewing code with import CloudKit, CKContainer, CKRecord, CKShare, or CKSubscription.