Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

react-native-healthkit

Skill by kingstinct

Teaches an AI assistant how to use the @kingstinct/react-native-healthkit package and its sibling health-records package. It covers reading, writing and subscribing to Apple HealthKit data in React Native and Expo apps.

  • Score 80
  • 722 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install react-native-healthkit

Built from the published package, never by AI.

git clone --depth 1 https://github.com/kingstinct/react-native-healthkit /tmp/react-native-healthkit && mkdir -p ~/.claude/skills && cp -r /tmp/react-native-healthkit/skills/react-native-healthkit ~/.claude/skills/react-native-healthkit

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install react-native-healthkit in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill is a guide for the @kingstinct/react-native-healthkit package, a Nitro Modules binding that maps Apple HealthKit almost one to one into TypeScript. Identifiers, units and metadata keys are the same strings HealthKit uses natively, so Apple's documentation applies directly. The skill lists rules that prevent common bugs, such as requesting authorization before any query and using statistics queries for totals.

The skill points to reference files for setup, authorization, querying, writing, subscriptions and background delivery, workouts and other types, and clinical records through the sibling @react-native-healthkit/health-records package. It also explains where to find exact function signatures in the package's generated TypeScript types. It is written for developers building iOS health features in React Native or Expo apps that use steps, heart rate, sleep, workouts or FHIR health records.

Written from the project's SKILL.md and checked against it.

What it can do

  • Authorization handlingExplains how to request HealthKit read and write permissions before querying data.
  • Sample queriesCovers reading samples with required limits, filters, units and newest-first ordering.
  • Statistics queriesCovers totals and averages that de-duplicate overlapping sources such as iPhone and Watch.
  • Writing samplesCovers saving and deleting samples, correlations and metadata.
  • Live updates and background deliveryCovers observer queries, subscriptions and background delivery.
  • Workouts and other typesCovers workouts, routes, state of mind, medications, ECG and heartbeat series.
  • Health recordsCovers clinical records and FHIR data through the sibling health-records package.
  • Expo setupCovers installation, the Expo config plugin options and dev client builds.

What you need

  • iOS device or simulator
  • Expo or bare React Native project
  • Dev client or native build (not Expo Go)
  • react-native-nitro-modules

Try asking

  • Show me how to request HealthKit permission for step count in my Expo app.
  • Write a query that gets today's total steps using a statistics query.
  • Set up background delivery so my app updates when new heart rate data arrives.

Good to know

  • iOS only. Android and web calls are stubs that return empty or false values.
  • Read permission cannot be detected. Apps only see that no samples are returned.
  • Health records are never available on the simulator.
  • Newer identifiers need newer iOS versions and throw on querying if unsupported.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/react-native-healthkit/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md6 KB
  • references/apple-docs.md5 KB
  • references/authorization.md5 KB
  • references/health-records.md4 KB
  • references/querying.md9 KB
Show all 9 files
  • references/setup.md4 KB
  • references/subscriptions-and-background.md5 KB
  • references/workouts-and-other-types.md6 KB
  • references/writing.md4 KB

Alternatives to react-native-healthkit

All alternatives →

Compare with literature-search-arxiv, alphafold-database-fetch-and-analyze or quickgo-database

react-native-healthkit: common questions

Does this package work in Expo Go?

No. The source says it needs a dev client or a native build, and it is iOS only.

How can an app tell if the user denied read access?

The source says HealthKit does not report read denial. Apps only receive no samples, so the UX should handle "no data" rather than "denied".

Why are my step totals too high?

Summing raw step samples double counts overlapping sources. The source recommends statistics queries, which de-duplicate sources the same way the Health app does.

How do I install react-native-healthkit?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is react-native-healthkit free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is react-native-healthkit safe to use?

It scores 80 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to react-native-healthkit?

Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.

react-native-healthkit Install

Add to stack

Loading.