重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
healthkit-code-review by existential-birds/beagle
npx skills add https://github.com/existential-birds/beagle --skill healthkit-code-review| 问题类型 | 参考 |
|---|---|
| HKHealthStore、权限、状态检查、隐私 | references/authorization.md |
| HKQuery 类型、谓词、锚定查询、统计 | references/queries.md |
| 后台交付、观察者查询、完成处理程序 | references/background.md |
| HKQuantityType、HKCategoryType、体能训练、单位 | references/data-types.md |
HKHealthStore.isHealthDataAvailable()广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
requestAuthorization 完成处理程序误解为已授予权限HKObjectQueryNoLimit 仅与有界谓词一起使用HKStatisticsQuery 进行聚合,而非手动求和completionHandler() 始终被调用(使用 defer)application(_:didFinishLaunchingWithOptions:) 中注册后台交付count/min)deinit 中停止enableBackgroundDelivery -> background.mdisHealthDataAvailable()?每周安装量
70
代码仓库
GitHub 星标数
45
首次出现
2026年1月20日
安全审计
安装于
codex55
gemini-cli54
opencode54
claude-code50
cursor48
github-copilot46
| 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?Weekly Installs
70
Repository
GitHub Stars
45
First Seen
Jan 20, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
codex55
gemini-cli54
opencode54
claude-code50
cursor48
github-copilot46