Agent skill

React Native Healthkit Contributing

by kingstinct in kingstinct/react-native-healthkit

How to change the react-native-healthkit monorepo itself (packages/core, packages/react-native-healthkit, packages/health-records, apps/example).

MITAuto-check passedMobile

Install React Native Healthkit Contributing

skills CLI
$ npx skills add kingstinct/react-native-healthkit --skill react-native-healthkit-contributing -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install kingstinct/react-native-healthkit react-native-healthkit-contributing --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/kingstinct/react-native-healthkit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/react-native-healthkit-contributing .claude/skills/react-native-healthkit-contributing && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
react-native-healthkit-contributing
GitHub stars
716
Token cost
~1.3k tokens
SKILL.md length
444 words
Files
5 (incl. references)
Skills in repo
11
Repo updated
First seen
Licence
MIT

At a glance

How to change the react-native-healthkit monorepo itself (packages/core, packages/react-native-healthkit, packages/health-records, apps/example).

  • Works in 7 steps: After changing anything in src/specs/ of… → Before committing, run bun typecheck,… → Build the example app with xcodebuild… → …
  • Changing a HealthKit identifier
  • SKILL.md covers Mental model, Pick the workflow, Non-negotiables and Conventions
  • Calls bun, expo and swift; reaches developer.apple.com

What it does

React Native Healthkit Contributing is an agent skill from kingstinct/react-native-healthkit. How to change the react-native-healthkit monorepo itself (packages/core, packages/react-native-healthkit, packages/health-records, apps/example). Use when adding or changing a HealthKit identifier, a native (Nitro/Swift) API, a hook, the Expo config plugin, codegen, tests or CI in this repository, when nitrogen/codegen or the iOS build fails, or before committing/releasing changes here. For how to use the library in an app, see the react-native-healthkit skill instead.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `references/add-identifier.md`, `references/add-native-api.md` and `references/codegen-troubleshooting.md`).

It sits in Mobile, covering Cross-platform mobile apps, Project scaffolding and iOS development. It works with React Native, iOS and Expo. The repository describes itself as: HealthKit bindings for React Native with TypeScript. The licence is MIT.

When your agent uses it

  • Changing a HealthKit identifier
  • A native (Nitro/Swift) API
  • The Expo config plugin
  • CI in this repository

Example prompts

  • “/react-native-healthkit-contributing”

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. After changing anything in src/specs/ of either package, or any type they reference (including packages/core/src/types), run bun codegen…
  2. Before committing, run bun typecheck, bun lint and bun run test until they pass. For Swift changes, also run bun run swiftlint.
  3. Build the example app with xcodebuild when on macOS (see verify-and-release.md). On Linux you cannot. Say so explicitly instead of…
  4. Add a changeset for every user-facing feature or fix (bunx changeset), bumping semver correctly.
  5. Every new export needs three entries
  6. Look up Apple semantics as Markdown: append .md to any developer.apple.com documentation URL, e.g…
  7. Match the mapping philosophy: keep names and serialization as close to HealthKit as possible, so Apple's docs keep applying.

What it can do on your machine

Read from SKILL.md and the folder at commit 9e4e186. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • bun
    • expo
    • swift
    • bunx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • developer.apple.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

React Native Healthkit Contributing loads about 1.3k tokens when it runs, and up to ~5.6k if it reads all its reference files. Until then it costs about 128 tokens; SKILL.md has 444 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~128
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~5.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from kingstinct/react-native-healthkit at commit 9e4e186, republished under its MIT licence (© kingstinct). 444 words, ~1,315 tokens.

Download SKILL.mdSave it as .claude/skills/react-native-healthkit-contributing/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
react-native-healthkit-contributing
description
How to change the react-native-healthkit monorepo itself (packages/core, packages/react-native-healthkit, packages/health-records, apps/example). Use when adding or changing a HealthKit identifier, a native (Nitro/Swift) API, a hook, the Expo config plugin, codegen, tests or CI in this repository, when nitrogen/codegen or the iOS build fails, or before committing/releasing changes here. For how to *use* the library in an app, see the react-native-healthkit skill instead.
metadata.internal
true

Contributing to react-native-healthkit

Mental model

packages/core            @react-native-healthkit/core: shared TS types (src/types), createUnavailableHelpers,
                         Expo plugin building blocks (src/plugin), ReactNativeHealthkitCore pod (ios/):
                         HealthKitStore, Queries, Predicates, Anchors, MetadataSerialization,
                         TypeIdentifiers, BackgroundDeliveryManager, ExceptionCatcher. No Nitro specs.
packages/react-native-healthkit   @kingstinct/react-native-healthkit: Nitro specs (src/specs/*.nitro.ts),
                         Swift impls (ios/*.swift), JS wiring (src/modules.ts, healthkit.ios.ts, healthkit.ts),
                         hooks, SDK-generated identifier types (src/generated, scripts/generate-healthkit*).
packages/health-records  @react-native-healthkit/health-records: one spec (HealthRecordsModule), FHIR types.
apps/example             Expo Router app (prebuild → ios/RNHealthKit.xcworkspace, scheme RNHealthKit),
                         plus contract tests (apps/example/contracts).
  • Core has no Nitro specs. Packages import core's TS types into their specs, and nitrogen generates a per-package Swift copy of them. So core must be built first (bun run build:core) before codegen, typecheck or builds of the other packages. bun install does this in postinstall.
  • Put code in core only when both packages need it. Core Swift must be public.
  • All three packages share one version (changesets fixed), and the pods pin core to the exact same version.
  • Identifiers, units, category value enums and metadata key maps are generated from the iOS SDK. Never hand-edit src/generated/*.

Pick the workflow

TaskRead
New HealthKit quantity or category identifier, category value, metadata key or workout activity typereferences/add-identifier.md
New native function, module, hook or proxy method (Nitro spec → Swift → JS)references/add-native-api.md
Checks to run, tests, CI, changesets and releasereferences/verify-and-release.md
nitrogen, codegen, pod or Xcode build failuresreferences/codegen-troubleshooting.md

Non-negotiables

  1. After changing anything in src/specs/ of either package, or any type they reference (including packages/core/src/types), run bun codegen. Use bun codegen:healthkit or bun codegen:health-records for a single package.
  2. Before committing, run bun typecheck, bun lint and bun run test until they pass. For Swift changes, also run bun run swiftlint.
  3. Build the example app with xcodebuild when on macOS (see verify-and-release.md). On Linux you cannot. Say so explicitly instead of claiming the native build passed.
  4. Add a changeset for every user-facing feature or fix (bunx changeset), bumping semver correctly.
  5. Every new export needs three entries:
    • the iOS implementation in healthkit.ios.ts;
    • a non-iOS stub in healthkit.ts via UnavailableFnFromModule (a missing stub is a type error);
    • a jest.fn() in src/test-setup.ts's mockModule if it calls a native module.
  6. Look up Apple semantics as Markdown: append .md to any developer.apple.com documentation URL, e.g. https://developer.apple.com/documentation/healthkit/hkhealthstore.md. The metadata header's availability tells you the iOS version to gate on. Put the Apple link in the spec's JSDoc with @see.
  7. Match the mapping philosophy: keep names and serialization as close to HealthKit as possible, so Apple's docs keep applying.
Show full SKILL.md (103 more words)Show less

Conventions

  • TypeScript: Biome with single quotes, no semicolons and 2-space indent. useExhaustiveDependencies and useHookAtTopLevel are errors. bun lint-fix autofixes.
  • Swift:
    • Async natives return Promise.async { ... }.
    • Throw or warn with each package's ios/Helpers.swift helpers (runtimeErrorWithPrefix, warnWithPrefix).
    • HealthKit raises Objective-C exceptions (for example on a bad unit string or invalid statistics options), and Swift can't catch those. Wrap such calls with core's runCatchingObjCExceptions { }, and parse unit strings with parseUnitStringSafe(_:) rather than HKUnit(from:).
    • Gate new-SDK symbols with #if compiler(>=X) and #available(iOS N, *) (see add-native-api).
  • Commits: Conventional commits (commitlint runs in husky commit-msg). pre-commit runs lint-staged (biome and swiftlint --fix). pre-push runs bun run test && bun run typecheck.

© kingstinct, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (references) in .agents/skills/react-native-healthkit-contributing of kingstinct/react-native-healthkit.

  • SKILL.md
  • references/add-identifier.md
  • references/add-native-api.md
  • references/codegen-troubleshooting.md
  • references/verify-and-release.md

Open the folder on GitHubat commit 9e4e186

Compare with similar skills

React Native Healthkit Contributing next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

React Native Healthkit Contributing compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
React Native Healthkit Contributing this skillkingstinct/react-native-healthkit716—~1.3kAutomated safety check: PassMIT
Expo Brownfield Integrationmweinbach/agent-coworker1562 repos~900Automated safety check: NotesCustom licence
Expo UIarcboxlabs/linkcode156—~1.2kAutomated safety check: PassMIT
Web To Mobilesuntay44/web-to-mobile-magic-plugin107—~781Automated safety check: PassMIT
Mobile Devcallstackincubator/codex-mobile-dev-plugin144—~5.5kAutomated safety check: PassNone
Iphone Duo React Nativemirzaaghazadeh/iphone-duo-skills142—~1.5kAutomated safety check: PassCustom licence

Similar skills

  • Expo Brownfield Integration

    mweinbach/agent-coworker

    Helps add Expo and React Native to an existing native iOS or Android app, and choose between a prebuilt AAR or XCFramework and a fully integrated build.

    156 GitHub starsUsed in 2 repos~900 tokens
    MobileAuto-check: notes
  • Expo UI

    arcboxlabs/linkcode

    Framework (OSS). An agent skill from arcboxlabs/linkcode.

    156 GitHub stars~1.2k tokensUpdated 10 days ago
    MobileAuto-check passed
  • Web To Mobile

    suntay44/web-to-mobile-magic-plugin

    Orchestrate website or web app conversion into a mobile app.

    107 GitHub stars~781 tokensUpdated 24 days ago
    MobileAuto-check passed
  • Mobile Dev

    callstackincubator/codex-mobile-dev-plugin

    Official

    A skill your agent uses when building, running, changing, or debugging local iOS, Android, Expo, React Native, or SwiftUI apps.

    144 GitHub stars~5.5k tokensUpdated yesterday
    MobileAuto-check passed
  • Iphone Duo React Native

    mirzaaghazadeh/iphone-duo-skills

    Adapt a React Native or Expo app to iPhone Duo, Apple's first foldable iPhone — asymmetric safe area insets, resize handling, and how to expose the iOS 27.1 reserved-region and hinge APIs through a…

    142 GitHub stars~1.5k tokensUpdated yesterday
    MobileAuto-check passed
  • React Native Expert

    Jeffallan/claude-skills

    Builds React Native and Expo apps for iOS and Android: Expo Router navigation, FlatList tuning, platform-specific code and build error recovery.

    12k GitHub stars~1.7k tokensUpdated 5 days ago
    MobileAuto-check passed

More from kingstinct/react-native-healthkit

All 11 skills in this repo
  • React Native Healthkit

    kingstinct/react-native-healthkit

    How to use @kingstinct/react-native-healthkit (and its sibling @react-native-healthkit/health-records) to read, write and subscribe to Apple HealthKit data from React Native / Expo apps.

    716 GitHub stars~1.6k tokensUpdated yesterday
    Auto-check passed
  • Gestures

    kingstinct/react-native-healthkit

    Software Mansion's best practices for gestures in React Native apps using React Native Gesture Handler.

    716 GitHub starsUsed in 1 repo~1.7k tokens
    Auto-check passed
  • Expo Deployment

    kingstinct/react-native-healthkit

    Deploying Expo apps to iOS App Store, Android Play Store, web hosting, and API routes

    716 GitHub starsUsed in 4 repos~930 tokens
    Auto-check passed
  • Multithreading

    kingstinct/react-native-healthkit

    Software Mansion's best practices for multithreading in React Native apps using react-native-worklets.

    716 GitHub starsUsed in 1 repo~1.1k tokens
    Auto-check passed
  • Expo Dev Client

    kingstinct/react-native-healthkit

    Build and distribute Expo development clients locally or via TestFlight

    716 GitHub starsUsed in 5 repos~879 tokens
    Auto-check passed
  • Rich Text

    kingstinct/react-native-healthkit

    Software Mansion's best practices for rich text in React Native using react-native-enriched and react-native-enriched-markdown.

    716 GitHub stars~3.1k tokensUpdated yesterday
    Auto-check passed

Categories

Questions about React Native Healthkit Contributing

What does React Native Healthkit Contributing do?

How to change the react-native-healthkit monorepo itself (packages/core, packages/react-native-healthkit, packages/health-records, apps/example). React Native Healthkit Contributing is an agent skill from kingstinct/react-native-healthkit. How to change the react-native-healthkit monorepo itself (packages/core, packages/react-native-healthkit, packages/health-records, apps/example).

When should I use React Native Healthkit Contributing?

React Native Healthkit Contributing fits situations like: changing a HealthKit identifier; A native (Nitro/Swift) API; the Expo config plugin; CI in this repository.

How do I install React Native Healthkit Contributing in Claude Code?

Run `npx skills add kingstinct/react-native-healthkit --skill react-native-healthkit-contributing -a claude-code`. Or copy the skill folder (.agents/skills/react-native-healthkit-contributing in kingstinct/react-native-healthkit) into .claude/skills/react-native-healthkit-contributing in your project. Claude Code loads it when a task matches its description.

How do I install React Native Healthkit Contributing in Codex?

Run `npx skills add kingstinct/react-native-healthkit --skill react-native-healthkit-contributing -a codex`. Or copy the skill folder (.agents/skills/react-native-healthkit-contributing in kingstinct/react-native-healthkit) into .agents/skills/react-native-healthkit-contributing in your project. Codex loads it when a task matches its description.

Can I use React Native Healthkit Contributing in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add kingstinct/react-native-healthkit --skill react-native-healthkit-contributing -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/react-native-healthkit-contributing, .gemini/skills/react-native-healthkit-contributing, .github/skills/react-native-healthkit-contributing and .opencode/skills/react-native-healthkit-contributing in your project.

What does React Native Healthkit Contributing need to run?

Going by SKILL.md and its folder, React Native Healthkit Contributing needs the command-line tools its instructions call (bun, expo, swift and bunx).

Does React Native Healthkit Contributing access the network?

SKILL.md names 1 domain. In commands or code: developer.apple.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is React Native Healthkit Contributing safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does React Native Healthkit Contributing use?

React Native Healthkit Contributing is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does React Native Healthkit Contributing use?

About 1.3k tokens (SKILL.md is roughly 5.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 4.3k tokens, read only when the agent opens those files.

What are the alternatives to React Native Healthkit Contributing?

Skills that share tags, products or a category with React Native Healthkit Contributing: Expo Brownfield Integration (mweinbach/agent-coworker, 156 stars), Expo UI (arcboxlabs/linkcode, 156 stars), Web To Mobile (suntay44/web-to-mobile-magic-plugin, 107 stars) and Mobile Dev (callstackincubator/codex-mobile-dev-plugin, 144 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains React Native Healthkit Contributing?

kingstinct (a GitHub organization) maintains it in kingstinct/react-native-healthkit, which has 716 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on October 7, 2026.

Source: kingstinct/react-native-healthkit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.