EvanBaconEvanBaconCommunityยท4 Agent Skills Included

apple-health

Read, write, and test Apple HealthKit data in Expo apps

Reads and writes Apple HealthKit data from Expo apps, covering steps, heart rate, sleep, workouts, and 70+ other health types. Eliminates manual simulator tapping and hand-written test fixtures by seeding realistic health data through a command-line interface. Provides React hooks, real-time subscriptions, and activity ring views so developers ship health features faster with full TypeScript support.
npx skills add EvanBacon/apple-health --all -g -y
Available:

Directs the agent to follow the expo-modules and device-testing skill guidelines when building and verifying this HealthKit module, including the exact compile command for validation.

All Skills in This Repository (4)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install apple-health?โ–ผ

Run `npx skills add EvanBacon/apple-health --all -g -y` in your terminal to install all skills in this suite globally.

How to read Apple HealthKit data in an Expo app?โ–ผ

Use the included React hooks like useHealthKitQuery and useHealthKitStatistics to fetch steps, heart rate, sleep, and workouts with full TypeScript support. A config plugin handles all HealthKit permissions and entitlements automatically.

How to seed test HealthKit data in the iOS simulator?โ–ผ

Pipe NDJSON records into the apple-health CLI batch command to write realistic quantities, sleep stages, symptoms, and workouts. You can then verify the data with query and stats commands.

Can I test my Expo health app without manual tapping?โ–ผ

Yes. The device-testing skill uses xcobra commands to inspect the UI tree, tap elements, run gestures, and evaluate JavaScript inside the running app from the terminal.

Does apple-health support real-time health data updates?โ–ผ

Yes. The useHealthKitSubscription hook notifies your app whenever HealthKit data changes, and background delivery keeps updates flowing even when the app is not in the foreground.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’