healthkit-docs

Identify HealthKit API usage details from documentation with file paths.

299|16|Updated Feb 19, 2026
One-click install
npx skills add https://github.com/vabole/apple-skills --skill healthkit-docs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: healthkit-docs
Source: https://github.com/vabole/apple-skills/tree/main/skills/healthkit
Command: npx skills add https://github.com/vabole/apple-skills --skill healthkit-docs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

HealthKit API references are dense and scattered across many documents. This skill consolidates core HealthKit docs and clarifies access patterns to speed development and learning.

Core Features & Use Cases

  • Quick access to HKHealthStore, HKQuantitySample, HKUnit, and related HealthKit docs.
  • Guided, AI-assisted answers with references to source files and sections.
  • Use Case: A developer needs to implement HealthKit authorization and data queries across iOS and watchOS.

Quick Start

Ask a HealthKit question and get a concise, code-ready answer with relevant references.

Frequently Asked Questions about healthkit-docs

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

FAQPage Schema
How do I query HealthKit data types like HKQuantitySample in Swift?

You query HKQuantitySample data by configuring HKHealthStore and executing specific HealthKit queries. This skill identifies the necessary API patterns and returns concise summaries with file paths to relevant documentation.

What is the correct way to request HealthKit authorization for iOS and watchOS?

Requesting HealthKit authorization requires configuring HKHealthStore with the desired read and write permissions for specific data types. This skill consolidates the required authorization documentation and access patterns for Apple platforms.

How does HKUnit work when formatting health data in HealthKit?

HKUnit works in HealthKit by providing standardized measurement units to ensure consistent formatting and conversion of health data. This skill identifies API usage details from HealthKit documentation to clarify how to apply these units correctly.

Can I use HealthKit API references to implement health data tracking across Apple platforms?

Yes, you can use HealthKit API references to implement health data tracking across Apple platforms like iOS and watchOS. This skill consolidates core HealthKit docs to speed development by providing structured results with concise summaries and file paths.

Why are my HealthKit permissions not working when accessing HKHealthStore?

HealthKit permissions may not work if HKHealthStore is not properly authorized for the specific data types requested or if the platform capabilities are misconfigured. This skill clarifies access patterns and permissions to resolve these issues.