axiom-health

Guide HealthKit and WorkoutKit development across iOS, watchOS, and visionOS.

34|2|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/DengNaichen/Stet --skill axiom-health
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: axiom-health
Source: https://github.com/DengNaichen/Stet/tree/main/.agents/skills/axiom-health
Command: npx skills add https://github.com/DengNaichen/Stet --skill axiom-health

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill provides a comprehensive framework for navigating the complexities of HealthKit and WorkoutKit, ensuring developers correctly handle sensitive health data, privacy requirements, and platform-specific integration challenges.

Core Features & Use Cases

  • Authorization & Privacy: Navigate the strict, write-only authorization model and avoid common pitfalls like silent read denials.
  • Data Querying & Sync: Implement efficient, anchor-based sync patterns that prevent battery drain and data duplication.
  • Workout Integration: Manage the full lifecycle of workout sessions, from live tracking with HKLiveWorkoutBuilder to scheduling planned workouts via WorkoutKit.

Quick Start

Use the axiom-health skill to guide the implementation of an anchored query for step count data that correctly handles deletions and background delivery.

Frequently Asked Questions about axiom-health

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

FAQPage Schema
How do I handle HealthKit authorization without triggering silent read denials?

HealthKit authorization requires navigating a strict, write-only model to avoid silent read denials. You must properly request permissions and handle edge cases where users restrict read access to ensure secure data querying.

What is the best way to sync HealthKit data across iOS and watchOS without draining battery?

The best way to sync HealthKit data is using anchor-based query patterns. This approach tracks data changes efficiently, preventing battery drain and data duplication while maintaining synchronization across iOS and watchOS.

How do I manage a workout session lifecycle using HKLiveWorkoutBuilder?

Managing a workout session lifecycle with HKLiveWorkoutBuilder involves initiating the session, tracking live health metrics, and finalizing the data save. This ensures continuous workout tracking and accurate health data recording on watchOS.

Does WorkoutKit support scheduling planned workouts on visionOS?

WorkoutKit supports scheduling planned workouts across iOS, watchOS, and visionOS. It enables managing the full workout lifecycle by integrating planned session intervals directly into Apple's health and fitness workflows.

How do anchored queries handle background delivery for HealthKit step count data?

Anchored queries handle background delivery by using an anchor point to fetch only new step count changes. This pattern ensures efficient data synchronization and correctly processes background updates without missing deletions.

Why does my HealthKit data sync result in duplicated entries?

Duplicated HealthKit entries usually result from improper anchor management during data queries. Implementing anchor-based sync patterns ensures your app tracks the query state, preventing redundant data fetches and duplication.