Healthkit

Prisma-Labs-Dev/apple-skills/skills/healthkit

作者 Prisma-Labs-Dev498626005e65783ebe8570a103b2335cf397768c无许可证收录于 2026年10月9日更新于 2026年10月9日

API reference: HealthKit. Query for HKHealthStore, HKQuantitySample, workouts, health data read/write.

AI 生成的概览

检索内置的 HealthKit API 参考文档,回答有关 Apple HealthKit 类与健康数据查询的问题。

功能
该技能提供一组可检索的本地参考文档,涵盖 HealthKit API,包括 HKHealthStore、HKQuantitySample、HKQuantityTypeIdentifier、HKSampleQuery 和 HKUnit。当被问及 HealthKit 时,它会查阅这些文件,返回简明摘要以及相关文件路径以便查看完整细节。它是 API 参考查询工具,而非代码生成或数据分析工具。
适用场景
当你需要查阅 HealthKit API 细节时使用,例如健康数据存储操作、数量样本、类型标识符、查询或单位换算。它适用于关于 Apple HealthKit 框架用法的问题,而非通用 iOS 开发或健康数据分析。
运行要求
无需脚本或外部工具;它依赖内置的 markdown 参考文件以及智能体的文件读取能力。

HealthKit Documentation

Search these docs to answer questions about HealthKit APIs.

Return Format

Always include:

  1. Summary - Answer the question concisely
  2. File paths - List relevant files for full details, e.g.:
    • hkhealthstore.md for HKHealthStore API
    • hkunit.md for unit conversions

Files

  • healthkit-index.md - Framework overview and all available APIs
  • hkhealthstore.md - Health data store operations
  • hkquantitysample.md - Quantity samples (weight, heart rate, etc.)
  • hkquantitytypeidentifier.md - All quantity type identifiers
  • hksamplequery.md - Querying health data
  • hkunit.md - Units and conversions

来源与署名

来源:Prisma-Labs-Dev/apple-skills位于skills/healthkit提交4986260

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架