[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F24THD2B8GKMPB0599BXN9":3,"skill-same:01M7F24THD2B8GKMPB0599BXN9":377},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M7F24THD2B8GKMPB0599BXN9","audio-and-haptics-feedback",null,"Builds SFX and haptics behind ports. Use when adding or tuning sounds, SFX, music or haptics, or sound ignores the silent switch, stops the user's music or a pulse fails on Android. Not for settings (settings-and-preferences).","zakariaf\u002FReactNative-Skills","zakariaf","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F2259803?v=4","01M7DEF0YMPS6Y6RQ4WGA0JH9R","Zakaria Fatahi","01M7F1VKYEK96M7SYJE1EPGD0A",13,"MIT","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: audio-and-haptics-feedback\ndescription: Builds SFX and haptics behind ports. Use when adding or tuning sounds, SFX, music or haptics, or sound ignores the silent switch, stops the user's music or a pulse fails on Android. Not for settings (settings-and-preferences).\n---\n\n# Audio and haptics feedback\n\nEvery sound an Expo app plays as feedback is synthesised from a literal recipe and played through one\nambient `AudioContext` behind `AudioPort`; every pulse is a cue from a fixed table played through\n`HapticsPort` on iOS and Android, gated by the user's preference and throttled. This skill builds the\nports, the cue tables, the banks, and the two checkers that prove them.\n\n## Rules that must hold\n\n1. **One engine each, behind ports.** Only `src\u002Fservices\u002Faudio\u002Faudio-api-audio-adapter.ts` imports\n   `react-native-audio-api` and only `src\u002Fservices\u002Fhaptics\u002Fexpo-haptics-adapter.ts` imports\n   `expo-haptics`; nothing imports `react-native-sound` or `react-native-haptic-feedback`, the feedback\n   layer imports no media player, and `Vibration` never appears in the feedback layer or a view\n   (elsewhere only with `\u002F\u002F vibration-exempt: \u003Creason>`). Tests use `createFakeAudio()`\u002F`createFakeHaptics()`.\n   Why: one file changes on a bump, two engines fight over the session, and tests run without native code.\n2. **Pin react-native-audio-api exactly and override all five plugin defaults** (`iosBackgroundMode:\n   false`, `androidPermissions: []`, `androidForegroundService: false`, `disableFFmpeg: true`,\n   `disableStaticExternalLibs: true`) through `AUDIO_API_PLUGIN` in `app.config.ts`; a new version goes\n   through \"Before any bump\" and is recorded in `contracts\u002Faudio-feedback.json`. Why: the library is\n   pre-1.0, and the defaults add background audio, Android foreground-service permissions and\n   build-time downloads.\n3. **One AudioContext, created in the adapter after `setAudioSessionOptions({ iosCategory: 'ambient' })`,\n   and no audio focus on Android** (`observeAudioInterruptions(true)` only under `Platform.OS === 'ios'`).\n   Why: ambient respects the silent switch and mixes with the user's music; on Android that call requests\n   `AUDIOFOCUS_GAIN`, which fades out and mutes the user's music.\n4. **Every sound is a literal `SoundRecipe` that passes `recipeProblems`** (finite, peak 0.05-0.9, first\n   sample \u003C 0.05, last \u003C 0.01, later layers fade in over at least 1 ms, 10-1500 ms, music up to 30 s);\n   the app's synth renders byte-identically to the checker's port. No streaming and no URL audio in the\n   feedback layer; every recorded audio file in the repo is listed with its licence and source in the\n   contract (`bundledSounds` for feedback, `otherAudio` for a notification sound or a feature's media).\n   Why: no clicks, no clipping, no licences to chase, previews that are exactly what the device plays.\n5. **Banks and ids:** kebab-case nouns for what happened; `ui.` is reserved for `UI_SOUNDS`; each feature\n   or game bank lives in `\u003Cowner>\u002Fsounds\u002F\u003Cowner>-sounds.ts` as `\u003COWNER>_SOUNDS`, is tested, and is\n   composed once in the root layout with `composeSoundBank` (which throws on a clash). Every cue names an\n   id of its owner's bank and every sfx id is cued. Why: a typo is silence in production, a clash\n   silently replaces another sound.\n6. **Keep the voice policy:** three category gains (`sfx` and `ui` follow sound effects, `music`\n   follows music), `volume²`, 50 ms ramps, at most 8 overlapping voices, the same sound at most once per\n   30 ms (or its `minIntervalMs`, at most 1000), voices as intervals on the audio clock, released by\n   `cancelPending`. Why: even loudness, no clicks, no pile-ups, no sound lost after a fast action.\n7. **Music is off by default, never `activelyReclaimSession`, and every music control is hidden when\n   `hasMusic(bank)` is false.** Why: the library cannot tell whether the user's own audio plays, so the\n   app never plays over it unasked.\n8. **Feedback fires from events on JS:** a feature's cue table played by its model (`playCue`), a canvas\n   track cue scheduled on the audio clock, a UI moment (`playUiFeedback`), or drained sim events; never\n   from a view's own handler, a sim, a `'worklet'` module or per frame, and each event in one place\n   only; views (`src\u002Fui`, a feature's screen or components) never call `audio.play`, `playCue` or\n   `playUiFeedback`. Why: sync with the animation, and the UI thread never touches a port.\n9. **Mount `useAudioLifecycle` once, in the root layout;** the context runs only while the app is active\n   and nothing full-screen plays; iOS interruptions suspend it and resume it only if the lifecycle\n   still wants it running (with a direction gate, mount it and load the bank behind the gate); `await audio.dispose()`\n   before every JS reload, or await an injected `beforeReload` hook that the caller wires to\n   `() => services.audio.dispose()`, or say why with `\u002F\u002F audio-dispose-exempt: \u003Creason>`. Why: no sound\n   in the background or over a video, and the native engine closes before the bundle reloads.\n10. **Haptics follow the cue table on both platforms** (iOS feedback generators; Android\n    `performAndroidHapticsAsync` constants, an API 30 table and a legacy one), only while the user's\n    preference is on, at least 40 ms apart, each call ending in `.catch(() => undefined)` inside the\n    adapter; `isSupported` is false on iPad. Views use only `selection` (switches, pickers). Why: bursts\n    feel like a buzz, a newer Android constant rejects on older phones, and buttons should not buzz.\n11. **The app-wide moments go through `UI_FEEDBACK`** (by default `toggle`, `success`, `error`; the\n    table is the app's), each moment it keeps played from a model; buttons are silent by default, and an\n    app that adds a `tap` moment renders `\u003CPressFeedbackProvider playsSound onPress={...}>` that plays\n    it (the canonical press surface then sets `android_disableSound` itself; no synced file is edited).\n    Why: one forgotten handler is a silent switch, and Android would play its own click on top of the tap.\n12. **Add no microphone purpose string up front;** only if an App Store upload reports ITMS-90683, set\n    `iosMicrophonePermission` (localised, with a comment naming ITMS-90683). Why: feedback never records,\n    and an unused purpose string invites review questions.\n13. **A green gate proves a sound is clean, not right.** Render the WAV previews, list the listening and\n    the feel on a real iPhone and Android phone for a human, and never block on the answer; test builds\n    prove requests with the recording decorators. Why: an agent cannot hear and simulators have no\n    haptic engine.\n\n## Workflow\n\n1. **Pick the job.** A new feedback layer: steps 2-6. Sounds for a feature or game: steps 7-9. Tuning a\n   sound: steps 8-9. Bumping the library: step 10. Always finish with step 11.\n2. **Read** [references\u002Faudio-engine.md](references\u002Faudio-engine.md) (library, plugin, port, adapter,\n   session and focus, lifecycle, music, wiring, testing) and [references\u002Fhaptics.md](references\u002Fhaptics.md)\n   (cue table on both platforms, throttle, devices).\n3. **Copy the templates** at the paths their first line names (tests included): `templates\u002Fsrc\u002Fservices\u002Faudio\u002F`\n   (with `synth\u002F`), `templates\u002Fsrc\u002Fservices\u002Fhaptics\u002F`, `templates\u002Fsrc\u002Fservices\u002Ffeedback\u002F`,\n   `templates\u002Fsrc\u002Fservices\u002Ftest-hooks\u002Frecording-feedback.ts` (test builds only),\n   `templates\u002Fsrc\u002Fconfig\u002Faudio-plugin.ts`, `templates\u002F__mocks__\u002Freact-native-audio-api.ts`,\n   `templates\u002Fcontracts\u002Faudio-feedback.json` (+ schema). `src\u002Fhooks\u002Fuse-is-app-active.ts`,\n   `src\u002Fui\u002Fpress-feedback-context.tsx` and `src\u002Fcore\u002Frng\u002Fsfc32.ts` belong to other skills; copy them\n   only if the app lacks them. A haptics-only app copies `haptics\u002F` alone; the checker then notes that\n   the audio rules do not apply.\n4. **Install:** `npx expo install expo-haptics` and `npm install --save-exact react-native-audio-api@0.13.6`\n   (dependency-management records both in its policy). Add `AUDIO_API_PLUGIN` to `app.config.ts`\n   plugins; check that `.gitignore` ignores `reports\u002F`.\n5. **Wire the composition root** (the lines are in audio-engine.md, \"Wiring\"): `audio` and `haptics` in\n   `Services`, `createDeviceServices` and `createTestServices`; the haptics preference read at call\n   time (settings-and-preferences owns it). In the root layout, `services.audio.load(composeSoundBank(...))`\n   in the startup initializer and `useAudioLifecycle(...)` once; imitate\n   [examples\u002Froot-layout-wiring.tsx](examples\u002Froot-layout-wiring.tsx). Make every reload path dispose first.\n6. **Wire the moments** ([references\u002Ffeedback-moments.md](references\u002Ffeedback-moments.md)):\n   `playUiFeedback(services, 'toggle')` in switch handlers (the canonical one: the settings model's\n   `onToggled`), `'success'`\u002F`'error'` where a requested action ends. Tap sounds only if the app wants\n   them (the opt-in there).\n7. **Plan the sounds.** Read [references\u002Fsound-design.md](references\u002Fsound-design.md). Write the event →\n   sound → haptic table: most events get nothing, three to six sounds per feature, the most repeated the\n   quietest, loud and long only for rare moments.\n8. **Write the bank and the cue table test-first.** Copy `templates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002F` (bank,\n   cue table, their tests), replace `__FEATURE__`, `__FEATURE_PASCAL__`, `__FEATURE_SOUNDS__` and\n   `__FEATURE_FEEDBACK__`, write one literal recipe per sound, play each row from the model with\n   `playCue` (or put it on the canvas track), add the bank to `composeSoundBank`, run\n   `npx prettier --write src\u002Ffeatures\u002F\u003Cfeature>` on the copied files, and run\n   `npx jest src\u002Ffeatures\u002F\u003Cfeature> --ci --selectProjects unit` until green (paths before the flag).\n9. **Render and hand over the listening:** `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-sound-banks.mjs . --wav-dir reports\u002Fsfx`,\n   fix every `FAIL`, then list the listening as in [examples\u002Flistening-checklist.md](examples\u002Flistening-checklist.md).\n   Carry on; when a human answers, tune one number at a time and re-render.\n10. **Bumping react-native-audio-api:** follow \"Before any bump\" in audio-engine.md (release notes,\n    plugin defaults, mock, focus code, adapter tests, a smoke test on a named iOS simulator and Android\n    emulator, a listening check), then set `audioApiVersion` in `contracts\u002Faudio-feedback.json` with the pin.\n11. **Run the checks** until both print `RESULT: PASS`: `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-sound-banks.mjs .`\n    then `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-audio-haptics.mjs .`. Each `FAIL` names the file, the\n    rule and the fix. Then `npx jest src\u002Fservices src\u002Ffeatures\u002F\u003Cfeature> --ci --selectProjects unit android`.\n\n## Definition of done\n\n- [ ] The audio, haptics and feedback services, the config plugin and the root mock exist as in\n      `templates\u002F`, and their tests pass in the unit and android Jest projects.\n- [ ] `react-native-audio-api` is pinned to the contract's `audioApiVersion` (default 0.13.6),\n      `expo-haptics` has the SDK's `~` range, `AUDIO_API_PLUGIN` is in `app.config.ts`, and there is no\n      microphone purpose string without ITMS-90683.\n- [ ] Every feature or game with sounds has a tested literal bank composed in the root layout, and a\n      cue table (or track cues) that names only its ids.\n- [ ] Music is off by default and its controls are hidden without music; the haptics row is hidden when\n      `isSupported` is false (settings-and-preferences builds the rows).\n- [ ] `useAudioLifecycle` is mounted once; every reload disposes the engine or carries an exemption reason.\n- [ ] Every `UI_FEEDBACK` moment is played from a model; tap sounds only as the documented opt-in.\n- [ ] The WAV previews are rendered and the listening on an iPhone and an Android phone is listed for a\n      human (not blocking).\n- [ ] `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-sound-banks.mjs .` prints `RESULT: PASS`.\n- [ ] `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-audio-haptics.mjs .` prints `RESULT: PASS` (a haptics-only\n      app prints the note `audio rules not applicable: ...`; an app with no feedback layer prints `NOT APPLICABLE`)\n\n## Anti-patterns\n\n- **An `AudioContext` in a screen or hook.** Two contexts fight over the session and double the memory;\n  the adapter owns the only one.\n- **`AudioManager.observeAudioInterruptions(true)` on every platform.** On Android it takes audio focus\n  and silences the user's podcast at the first tap sound.\n- **`audio.play(...)` in a view's `onPress` or a `useEffect` for an animated event.** The sound drifts from\n  the animation and the event plays twice; play the cue table row from the model, or the track cue\n  (the checker's `view-feedback` rule).\n- **Wiring a settings switch to `usePressFeedback()`.** Without the tap opt-in it is a no-op, so the\n  switch is silent; with it, the switch plays `tap`. The model's `onToggled` plays `toggle`.\n- **A cue on every particle track, or a pulse per completed item.** One visible event, one cue; the\n  voice limit and the throttle would drop the rest at random.\n- **Pulsing on every button press.** Buttons are silent to the hand; only switches and pickers use `selection`.\n- **`impactAsync` on Android.** It drives the Vibrator directly; `performAndroidHapticsAsync` follows the\n  system's touch-feedback setting.\n- **Shipping a downloaded sound \"just this once\".** It brings a licence, a file the checker rejects and\n  possibly a network path; synthesize a recipe, or list a bundled file in the contract.\n- **Turning music on by default to make the app feel livelier.** It plays over the user's music; ask the\n  developer, and build the silence-hint check first.\n- **Tuning by reading numbers, or blocking a change on the listening.** The gate proves clean, not right;\n  render the previews, list them for a human, and carry on.\n- **Raising `MAX_VOICES`, lowering the 40 ms throttle or widening the gate to pass a check.** Fix the\n  recipe or the cue; the limits exist because the failures are audible.\n- **Importing `expo-haptics` or `react-native-audio-api` in a test.** `jest.mock` + `jest.requireMock`\n  in the adapter test; fakes everywhere else.\n\n## Files in this skill\n\n| File | What it is | Read\u002Frun when |\n|---|---|---|\n| [references\u002Faudio-engine.md](references\u002Faudio-engine.md) | Versions, the plugin on iOS and Android, ITMS-90683, the one iOS session next to media, port, adapter (session, focus), voice policy, banks, lifecycle and the reload seam, music, wiring, testing, recorded audio (notification, media, bundled), licence rows, bump list, multi-package | Workflow steps 2-5 and 10 |\n| [references\u002Fhaptics.md](references\u002Fhaptics.md) | Haptics port, the cue table for iOS and Android (with the legacy table), rules of use, throttle, devices and failure modes, tests | Workflow step 2, and when choosing a cue |\n| [references\u002Fsound-design.md](references\u002Fsound-design.md) | Recipe model, quality gate, design starting points, ids and banks, cue tables and track cues, real-time games, WAV previews, the human check, the Tasks example | Workflow steps 7-9 |\n| [references\u002Ffeedback-moments.md](references\u002Ffeedback-moments.md) | UI_FEEDBACK and the settings model's toggle, the tap opt-in (`playsSound`, `android_disableSound`), feature cue tables, settings and hidden rows, recording decorators, where the checkers are heuristic | Workflow step 6; when a checker misses or flags a shape |\n| `templates\u002Fsrc\u002Fservices\u002Faudio\u002F` | Port, adapter (+ unit and android tests: no audio focus on Android), voice policy (+ test), fake (+ test), lifecycle hook (+ test), `composeSoundBank`\u002F`hasMusic` (+ test), `synth\u002F` (synth, gate, `UI_SOUNDS`, tests) | Step 3 (copy) |\n| `templates\u002Fsrc\u002Fservices\u002Fhaptics\u002F` | Port, `shouldPulse` (+ test), expo-haptics adapter with the iOS table and the three Android tables (+ unit and android tests), fake (+ test) | Step 3 (copy) |\n| `templates\u002Fsrc\u002Fservices\u002Ffeedback\u002F` | `playCue`, `UI_FEEDBACK`\u002F`playUiFeedback`, each with its test | Steps 3 and 6 |\n| `templates\u002Fsrc\u002Fservices\u002Ftest-hooks\u002F` | `recording-feedback.ts`: the test-build recording decorators (a test-only folder, reached only through the test-only entry), with its test | Step 6 |\n| `templates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002F` | A feature's bank (+ gate test) and cue table (+ test), filled for the Tasks app's `tasks` feature | Step 8 |\n| [templates\u002Fsrc\u002Fconfig\u002Faudio-plugin.ts](templates\u002Fsrc\u002Fconfig\u002Faudio-plugin.ts) | `AUDIO_API_PLUGIN` with every default overridden (+ test) | Step 4 |\n| `templates\u002Fsrc\u002Fconfig\u002Faudio-plugin.test.ts` | Pins the five overrides | Step 4 |\n| `templates\u002Fcontracts\u002F` | `audio-feedback.json` (verified version, bundled sounds) and its JSON schema | Step 3; on a bump or a bundled sound |\n| [templates\u002F__mocks__\u002Freact-native-audio-api.ts](templates\u002F__mocks__\u002Freact-native-audio-api.ts) | Root Jest mock completing the library mock's AudioManager (synced; this skill owns the canonical copy) | Step 3 |\n| `templates\u002Fsrc\u002Fhooks\u002F` | `use-is-app-active.ts` (+ test): the foreground check (synced from react-components-and-hooks; do not edit here) | Step 3, only if missing |\n| `templates\u002Fsrc\u002Fui\u002F` | `press-feedback-context.tsx` (+ test): the press-feedback seam (synced from design-system-structure; do not edit here) | Step 6, tap opt-in only |\n| `templates\u002Fsrc\u002Fcore\u002Frng\u002F` | `sfc32.ts` (+ test): the seeded PRNG the synth's noise uses (synced from seeded-determinism-and-golden-vectors; do not edit here) | Step 3, only if missing |\n| [examples\u002Froot-layout-wiring.tsx](examples\u002Froot-layout-wiring.tsx) | Root layout shape: compose the bank, mount the lifecycle once, dispose before a reload, the crash exemption | Step 5 |\n| [examples\u002Fbundled-sound-loading.ts](examples\u002Fbundled-sound-loading.ts) | Shape of the opt-in recorded-sound decoding inside the adapter | Only when shipping a recorded sound |\n| [examples\u002Flistening-checklist.md](examples\u002Flistening-checklist.md) | The human listening and feel follow-up for a change report | Step 9 |\n| `scripts\u002Fcheck-audio-haptics.mjs` | Engines, pins, plugin, mic string, context and focus, file audio, voice and haptic policies (iOS and Android), call sites and views, UI moments, tap opt-in, lifecycle, dispose-before-reload (and the seam), root mock | Steps 3 and 11 |\n| `scripts\u002Fcheck-sound-banks.mjs` | Renders every sound with the byte-exact synth port, gate, ids, categories, cues against banks, bank tests and wiring, synth drift; `--wav-dir` writes previews, `--owner` narrows | Steps 9 and 11 |\n| `scripts\u002Fselftest.mjs` | Proves both checkers pass the templates and catch every planted bug | After changing a checker or a template |\n| `scripts\u002Flib\u002Fsynth.mjs` | Synth, sfc32, gate and WAV port with a pinned golden hash | When changing the synth |\n| `scripts\u002Flib\u002Fts-literal.mjs` | Reads TypeScript literal data without a compiler (synced; do not edit here) | Never by hand |\n| `scripts\u002Flib\u002Fapp-modules.mjs` | Loads the app's pure TypeScript for the synth-drift rule (synced; do not edit here) | Never by hand |\n| `scripts\u002Fcheck-lib.mjs` | Shared script helper (synced; do not edit here) | Never by hand |\n| `assets\u002Fshared.json` | The shared files this skill copies in | When adding a shared file |\n| `assets\u002Ftemplate-placeholders.json` | Placeholder values verify-templates and the self-test fill in | When adding a placeholder |\n| `tests\u002F` | `bases\u002Fapp\u002F` (stand-ins for the app's root layout, models, a game) and `fixtures\u002F` (overlay cases for both checkers) | When adding a rule |\n\n## Related skills\n\n- `settings-and-preferences` - the sound, music and haptics rows, their defaults, the settings-to-audio glue.\n- `skia-canvas-rendering` - timeline track cues and the cue scheduler that calls these ports.\n- `design-system-structure` - the press surface and the press-feedback context.\n- `architecture-and-boundaries` - ports, adapters and the composition root.\n- `dependency-management` - installing and pinning, the policy file.\n- `error-handling-typed-results` - the one licensed best-effort swallow.\n- `react-components-and-hooks` - `useIsAppActive`.\n- `realtime-game-loop` - drained sim events that become sounds and haptics.\n- `e2e-maestro`, `debug-menu-and-test-hooks` - asserting recorded feedback in test builds.\n- `ios-release-testflight` - upload warnings such as ITMS-90683.\n","# Audio and haptics feedback\n\nEvery sound an Expo app plays as feedback is synthesised from a literal recipe and played through one\nambient `AudioContext` behind `AudioPort`; every pulse is a cue from a fixed table played through\n`HapticsPort` on iOS and Android, gated by the user's preference and throttled. This skill builds the\nports, the cue tables, the banks, and the two checkers that prove them.\n\n## Rules that must hold\n\n1. **One engine each, behind ports.** Only `src\u002Fservices\u002Faudio\u002Faudio-api-audio-adapter.ts` imports\n   `react-native-audio-api` and only `src\u002Fservices\u002Fhaptics\u002Fexpo-haptics-adapter.ts` imports\n   `expo-haptics`; nothing imports `react-native-sound` or `react-native-haptic-feedback`, the feedback\n   layer imports no media player, and `Vibration` never appears in the feedback layer or a view\n   (elsewhere only with `\u002F\u002F vibration-exempt: \u003Creason>`). Tests use `createFakeAudio()`\u002F`createFakeHaptics()`.\n   Why: one file changes on a bump, two engines fight over the session, and tests run without native code.\n2. **Pin react-native-audio-api exactly and override all five plugin defaults** (`iosBackgroundMode:\n   false`, `androidPermissions: []`, `androidForegroundService: false`, `disableFFmpeg: true`,\n   `disableStaticExternalLibs: true`) through `AUDIO_API_PLUGIN` in `app.config.ts`; a new version goes\n   through \"Before any bump\" and is recorded in `contracts\u002Faudio-feedback.json`. Why: the library is\n   pre-1.0, and the defaults add background audio, Android foreground-service permissions and\n   build-time downloads.\n3. **One AudioContext, created in the adapter after `setAudioSessionOptions({ iosCategory: 'ambient' })`,\n   and no audio focus on Android** (`observeAudioInterruptions(true)` only under `Platform.OS === 'ios'`).\n   Why: ambient respects the silent switch and mixes with the user's music; on Android that call requests\n   `AUDIOFOCUS_GAIN`, which fades out and mutes the user's music.\n4. **Every sound is a literal `SoundRecipe` that passes `recipeProblems`** (finite, peak 0.05-0.9, first\n   sample \u003C 0.05, last \u003C 0.01, later layers fade in over at least 1 ms, 10-1500 ms, music up to 30 s);\n   the app's synth renders byte-identically to the checker's port. No streaming and no URL audio in the\n   feedback layer; every recorded audio file in the repo is listed with its licence and source in the\n   contract (`bundledSounds` for feedback, `otherAudio` for a notification sound or a feature's media).\n   Why: no clicks, no clipping, no licences to chase, previews that are exactly what the device plays.\n5. **Banks and ids:** kebab-case nouns for what happened; `ui.` is reserved for `UI_SOUNDS`; each feature\n   or game bank lives in `\u003Cowner>\u002Fsounds\u002F\u003Cowner>-sounds.ts` as `\u003COWNER>_SOUNDS`, is tested, and is\n   composed once in the root layout with `composeSoundBank` (which throws on a clash). Every cue names an\n   id of its owner's bank and every sfx id is cued. Why: a typo is silence in production, a clash\n   silently replaces another sound.\n6. **Keep the voice policy:** three category gains (`sfx` and `ui` follow sound effects, `music`\n   follows music), `volume²`, 50 ms ramps, at most 8 overlapping voices, the same sound at most once per\n   30 ms (or its `minIntervalMs`, at most 1000), voices as intervals on the audio clock, released by\n   `cancelPending`. Why: even loudness, no clicks, no pile-ups, no sound lost after a fast action.\n7. **Music is off by default, never `activelyReclaimSession`, and every music control is hidden when\n   `hasMusic(bank)` is false.** Why: the library cannot tell whether the user's own audio plays, so the\n   app never plays over it unasked.\n8. **Feedback fires from events on JS:** a feature's cue table played by its model (`playCue`), a canvas\n   track cue scheduled on the audio clock, a UI moment (`playUiFeedback`), or drained sim events; never\n   from a view's own handler, a sim, a `'worklet'` module or per frame, and each event in one place\n   only; views (`src\u002Fui`, a feature's screen or components) never call `audio.play`, `playCue` or\n   `playUiFeedback`. Why: sync with the animation, and the UI thread never touches a port.\n9. **Mount `useAudioLifecycle` once, in the root layout;** the context runs only while the app is active\n   and nothing full-screen plays; iOS interruptions suspend it and resume it only if the lifecycle\n   still wants it running (with a direction gate, mount it and load the bank behind the gate); `await audio.dispose()`\n   before every JS reload, or await an injected `beforeReload` hook that the caller wires to\n   `() => services.audio.dispose()`, or say why with `\u002F\u002F audio-dispose-exempt: \u003Creason>`. Why: no sound\n   in the background or over a video, and the native engine closes before the bundle reloads.\n10. **Haptics follow the cue table on both platforms** (iOS feedback generators; Android\n    `performAndroidHapticsAsync` constants, an API 30 table and a legacy one), only while the user's\n    preference is on, at least 40 ms apart, each call ending in `.catch(() => undefined)` inside the\n    adapter; `isSupported` is false on iPad. Views use only `selection` (switches, pickers). Why: bursts\n    feel like a buzz, a newer Android constant rejects on older phones, and buttons should not buzz.\n11. **The app-wide moments go through `UI_FEEDBACK`** (by default `toggle`, `success`, `error`; the\n    table is the app's), each moment it keeps played from a model; buttons are silent by default, and an\n    app that adds a `tap` moment renders `\u003CPressFeedbackProvider playsSound onPress={...}>` that plays\n    it (the canonical press surface then sets `android_disableSound` itself; no synced file is edited).\n    Why: one forgotten handler is a silent switch, and Android would play its own click on top of the tap.\n12. **Add no microphone purpose string up front;** only if an App Store upload reports ITMS-90683, set\n    `iosMicrophonePermission` (localised, with a comment naming ITMS-90683). Why: feedback never records,\n    and an unused purpose string invites review questions.\n13. **A green gate proves a sound is clean, not right.** Render the WAV previews, list the listening and\n    the feel on a real iPhone and Android phone for a human, and never block on the answer; test builds\n    prove requests with the recording decorators. Why: an agent cannot hear and simulators have no\n    haptic engine.\n\n## Workflow\n\n1. **Pick the job.** A new feedback layer: steps 2-6. Sounds for a feature or game: steps 7-9. Tuning a\n   sound: steps 8-9. Bumping the library: step 10. Always finish with step 11.\n2. **Read** [references\u002Faudio-engine.md](references\u002Faudio-engine.md) (library, plugin, port, adapter,\n   session and focus, lifecycle, music, wiring, testing) and [references\u002Fhaptics.md](references\u002Fhaptics.md)\n   (cue table on both platforms, throttle, devices).\n3. **Copy the templates** at the paths their first line names (tests included): `templates\u002Fsrc\u002Fservices\u002Faudio\u002F`\n   (with `synth\u002F`), `templates\u002Fsrc\u002Fservices\u002Fhaptics\u002F`, `templates\u002Fsrc\u002Fservices\u002Ffeedback\u002F`,\n   `templates\u002Fsrc\u002Fservices\u002Ftest-hooks\u002Frecording-feedback.ts` (test builds only),\n   `templates\u002Fsrc\u002Fconfig\u002Faudio-plugin.ts`, `templates\u002F__mocks__\u002Freact-native-audio-api.ts`,\n   `templates\u002Fcontracts\u002Faudio-feedback.json` (+ schema). `src\u002Fhooks\u002Fuse-is-app-active.ts`,\n   `src\u002Fui\u002Fpress-feedback-context.tsx` and `src\u002Fcore\u002Frng\u002Fsfc32.ts` belong to other skills; copy them\n   only if the app lacks them. A haptics-only app copies `haptics\u002F` alone; the checker then notes that\n   the audio rules do not apply.\n4. **Install:** `npx expo install expo-haptics` and `npm install --save-exact react-native-audio-api@0.13.6`\n   (dependency-management records both in its policy). Add `AUDIO_API_PLUGIN` to `app.config.ts`\n   plugins; check that `.gitignore` ignores `reports\u002F`.\n5. **Wire the composition root** (the lines are in audio-engine.md, \"Wiring\"): `audio` and `haptics` in\n   `Services`, `createDeviceServices` and `createTestServices`; the haptics preference read at call\n   time (settings-and-preferences owns it). In the root layout, `services.audio.load(composeSoundBank(...))`\n   in the startup initializer and `useAudioLifecycle(...)` once; imitate\n   [examples\u002Froot-layout-wiring.tsx](examples\u002Froot-layout-wiring.tsx). Make every reload path dispose first.\n6. **Wire the moments** ([references\u002Ffeedback-moments.md](references\u002Ffeedback-moments.md)):\n   `playUiFeedback(services, 'toggle')` in switch handlers (the canonical one: the settings model's\n   `onToggled`), `'success'`\u002F`'error'` where a requested action ends. Tap sounds only if the app wants\n   them (the opt-in there).\n7. **Plan the sounds.** Read [references\u002Fsound-design.md](references\u002Fsound-design.md). Write the event →\n   sound → haptic table: most events get nothing, three to six sounds per feature, the most repeated the\n   quietest, loud and long only for rare moments.\n8. **Write the bank and the cue table test-first.** Copy `templates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002F` (bank,\n   cue table, their tests), replace `__FEATURE__`, `__FEATURE_PASCAL__`, `__FEATURE_SOUNDS__` and\n   `__FEATURE_FEEDBACK__`, write one literal recipe per sound, play each row from the model with\n   `playCue` (or put it on the canvas track), add the bank to `composeSoundBank`, run\n   `npx prettier --write src\u002Ffeatures\u002F\u003Cfeature>` on the copied files, and run\n   `npx jest src\u002Ffeatures\u002F\u003Cfeature> --ci --selectProjects unit` until green (paths before the flag).\n9. **Render and hand over the listening:** `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-sound-banks.mjs . --wav-dir reports\u002Fsfx`,\n   fix every `FAIL`, then list the listening as in [examples\u002Flistening-checklist.md](examples\u002Flistening-checklist.md).\n   Carry on; when a human answers, tune one number at a time and re-render.\n10. **Bumping react-native-audio-api:** follow \"Before any bump\" in audio-engine.md (release notes,\n    plugin defaults, mock, focus code, adapter tests, a smoke test on a named iOS simulator and Android\n    emulator, a listening check), then set `audioApiVersion` in `contracts\u002Faudio-feedback.json` with the pin.\n11. **Run the checks** until both print `RESULT: PASS`: `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-sound-banks.mjs .`\n    then `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-audio-haptics.mjs .`. Each `FAIL` names the file, the\n    rule and the fix. Then `npx jest src\u002Fservices src\u002Ffeatures\u002F\u003Cfeature> --ci --selectProjects unit android`.\n\n## Definition of done\n\n- [ ] The audio, haptics and feedback services, the config plugin and the root mock exist as in\n      `templates\u002F`, and their tests pass in the unit and android Jest projects.\n- [ ] `react-native-audio-api` is pinned to the contract's `audioApiVersion` (default 0.13.6),\n      `expo-haptics` has the SDK's `~` range, `AUDIO_API_PLUGIN` is in `app.config.ts`, and there is no\n      microphone purpose string without ITMS-90683.\n- [ ] Every feature or game with sounds has a tested literal bank composed in the root layout, and a\n      cue table (or track cues) that names only its ids.\n- [ ] Music is off by default and its controls are hidden without music; the haptics row is hidden when\n      `isSupported` is false (settings-and-preferences builds the rows).\n- [ ] `useAudioLifecycle` is mounted once; every reload disposes the engine or carries an exemption reason.\n- [ ] Every `UI_FEEDBACK` moment is played from a model; tap sounds only as the documented opt-in.\n- [ ] The WAV previews are rendered and the listening on an iPhone and an Android phone is listed for a\n      human (not blocking).\n- [ ] `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-sound-banks.mjs .` prints `RESULT: PASS`.\n- [ ] `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-audio-haptics.mjs .` prints `RESULT: PASS` (a haptics-only\n      app prints the note `audio rules not applicable: ...`; an app with no feedback layer prints `NOT APPLICABLE`)\n\n## Anti-patterns\n\n- **An `AudioContext` in a screen or hook.** Two contexts fight over the session and double the memory;\n  the adapter owns the only one.\n- **`AudioManager.observeAudioInterruptions(true)` on every platform.** On Android it takes audio focus\n  and silences the user's podcast at the first tap sound.\n- **`audio.play(...)` in a view's `onPress` or a `useEffect` for an animated event.** The sound drifts from\n  the animation and the event plays twice; play the cue table row from the model, or the track cue\n  (the checker's `view-feedback` rule).\n- **Wiring a settings switch to `usePressFeedback()`.** Without the tap opt-in it is a no-op, so the\n  switch is silent; with it, the switch plays `tap`. The model's `onToggled` plays `toggle`.\n- **A cue on every particle track, or a pulse per completed item.** One visible event, one cue; the\n  voice limit and the throttle would drop the rest at random.\n- **Pulsing on every button press.** Buttons are silent to the hand; only switches and pickers use `selection`.\n- **`impactAsync` on Android.** It drives the Vibrator directly; `performAndroidHapticsAsync` follows the\n  system's touch-feedback setting.\n- **Shipping a downloaded sound \"just this once\".** It brings a licence, a file the checker rejects and\n  possibly a network path; synthesize a recipe, or list a bundled file in the contract.\n- **Turning music on by default to make the app feel livelier.** It plays over the user's music; ask the\n  developer, and build the silence-hint check first.\n- **Tuning by reading numbers, or blocking a change on the listening.** The gate proves clean, not right;\n  render the previews, list them for a human, and carry on.\n- **Raising `MAX_VOICES`, lowering the 40 ms throttle or widening the gate to pass a check.** Fix the\n  recipe or the cue; the limits exist because the failures are audible.\n- **Importing `expo-haptics` or `react-native-audio-api` in a test.** `jest.mock` + `jest.requireMock`\n  in the adapter test; fakes everywhere else.\n\n## Files in this skill\n\n| File | What it is | Read\u002Frun when |\n|---|---|---|\n| [references\u002Faudio-engine.md](references\u002Faudio-engine.md) | Versions, the plugin on iOS and Android, ITMS-90683, the one iOS session next to media, port, adapter (session, focus), voice policy, banks, lifecycle and the reload seam, music, wiring, testing, recorded audio (notification, media, bundled), licence rows, bump list, multi-package | Workflow steps 2-5 and 10 |\n| [references\u002Fhaptics.md](references\u002Fhaptics.md) | Haptics port, the cue table for iOS and Android (with the legacy table), rules of use, throttle, devices and failure modes, tests | Workflow step 2, and when choosing a cue |\n| [references\u002Fsound-design.md](references\u002Fsound-design.md) | Recipe model, quality gate, design starting points, ids and banks, cue tables and track cues, real-time games, WAV previews, the human check, the Tasks example | Workflow steps 7-9 |\n| [references\u002Ffeedback-moments.md](references\u002Ffeedback-moments.md) | UI_FEEDBACK and the settings model's toggle, the tap opt-in (`playsSound`, `android_disableSound`), feature cue tables, settings and hidden rows, recording decorators, where the checkers are heuristic | Workflow step 6; when a checker misses or flags a shape |\n| `templates\u002Fsrc\u002Fservices\u002Faudio\u002F` | Port, adapter (+ unit and android tests: no audio focus on Android), voice policy (+ test), fake (+ test), lifecycle hook (+ test), `composeSoundBank`\u002F`hasMusic` (+ test), `synth\u002F` (synth, gate, `UI_SOUNDS`, tests) | Step 3 (copy) |\n| `templates\u002Fsrc\u002Fservices\u002Fhaptics\u002F` | Port, `shouldPulse` (+ test), expo-haptics adapter with the iOS table and the three Android tables (+ unit and android tests), fake (+ test) | Step 3 (copy) |\n| `templates\u002Fsrc\u002Fservices\u002Ffeedback\u002F` | `playCue`, `UI_FEEDBACK`\u002F`playUiFeedback`, each with its test | Steps 3 and 6 |\n| `templates\u002Fsrc\u002Fservices\u002Ftest-hooks\u002F` | `recording-feedback.ts`: the test-build recording decorators (a test-only folder, reached only through the test-only entry), with its test | Step 6 |\n| `templates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002F` | A feature's bank (+ gate test) and cue table (+ test), filled for the Tasks app's `tasks` feature | Step 8 |\n| [templates\u002Fsrc\u002Fconfig\u002Faudio-plugin.ts](templates\u002Fsrc\u002Fconfig\u002Faudio-plugin.ts) | `AUDIO_API_PLUGIN` with every default overridden (+ test) | Step 4 |\n| `templates\u002Fsrc\u002Fconfig\u002Faudio-plugin.test.ts` | Pins the five overrides | Step 4 |\n| `templates\u002Fcontracts\u002F` | `audio-feedback.json` (verified version, bundled sounds) and its JSON schema | Step 3; on a bump or a bundled sound |\n| [templates\u002F__mocks__\u002Freact-native-audio-api.ts](templates\u002F__mocks__\u002Freact-native-audio-api.ts) | Root Jest mock completing the library mock's AudioManager (synced; this skill owns the canonical copy) | Step 3 |\n| `templates\u002Fsrc\u002Fhooks\u002F` | `use-is-app-active.ts` (+ test): the foreground check (synced from react-components-and-hooks; do not edit here) | Step 3, only if missing |\n| `templates\u002Fsrc\u002Fui\u002F` | `press-feedback-context.tsx` (+ test): the press-feedback seam (synced from design-system-structure; do not edit here) | Step 6, tap opt-in only |\n| `templates\u002Fsrc\u002Fcore\u002Frng\u002F` | `sfc32.ts` (+ test): the seeded PRNG the synth's noise uses (synced from seeded-determinism-and-golden-vectors; do not edit here) | Step 3, only if missing |\n| [examples\u002Froot-layout-wiring.tsx](examples\u002Froot-layout-wiring.tsx) | Root layout shape: compose the bank, mount the lifecycle once, dispose before a reload, the crash exemption | Step 5 |\n| [examples\u002Fbundled-sound-loading.ts](examples\u002Fbundled-sound-loading.ts) | Shape of the opt-in recorded-sound decoding inside the adapter | Only when shipping a recorded sound |\n| [examples\u002Flistening-checklist.md](examples\u002Flistening-checklist.md) | The human listening and feel follow-up for a change report | Step 9 |\n| `scripts\u002Fcheck-audio-haptics.mjs` | Engines, pins, plugin, mic string, context and focus, file audio, voice and haptic policies (iOS and Android), call sites and views, UI moments, tap opt-in, lifecycle, dispose-before-reload (and the seam), root mock | Steps 3 and 11 |\n| `scripts\u002Fcheck-sound-banks.mjs` | Renders every sound with the byte-exact synth port, gate, ids, categories, cues against banks, bank tests and wiring, synth drift; `--wav-dir` writes previews, `--owner` narrows | Steps 9 and 11 |\n| `scripts\u002Fselftest.mjs` | Proves both checkers pass the templates and catch every planted bug | After changing a checker or a template |\n| `scripts\u002Flib\u002Fsynth.mjs` | Synth, sfc32, gate and WAV port with a pinned golden hash | When changing the synth |\n| `scripts\u002Flib\u002Fts-literal.mjs` | Reads TypeScript literal data without a compiler (synced; do not edit here) | Never by hand |\n| `scripts\u002Flib\u002Fapp-modules.mjs` | Loads the app's pure TypeScript for the synth-drift rule (synced; do not edit here) | Never by hand |\n| `scripts\u002Fcheck-lib.mjs` | Shared script helper (synced; do not edit here) | Never by hand |\n| `assets\u002Fshared.json` | The shared files this skill copies in | When adding a shared file |\n| `assets\u002Ftemplate-placeholders.json` | Placeholder values verify-templates and the self-test fill in | When adding a placeholder |\n| `tests\u002F` | `bases\u002Fapp\u002F` (stand-ins for the app's root layout, models, a game) and `fixtures\u002F` (overlay cases for both checkers) | When adding a rule |\n\n## Related skills\n\n- `settings-and-preferences` - the sound, music and haptics rows, their defaults, the settings-to-audio glue.\n- `skia-canvas-rendering` - timeline track cues and the cue scheduler that calls these ports.\n- `design-system-structure` - the press surface and the press-feedback context.\n- `architecture-and-boundaries` - ports, adapters and the composition root.\n- `dependency-management` - installing and pinning, the policy file.\n- `error-handling-typed-results` - the one licensed best-effort swallow.\n- `react-components-and-hooks` - `useIsAppActive`.\n- `realtime-game-loop` - drained sim events that become sounds and haptics.\n- `e2e-maestro`, `debug-menu-and-test-hooks` - asserting recorded feedback in test builds.\n- `ios-release-testflight` - upload warnings such as ITMS-90683.\n",{"name":5,"description":7},"main","41a0e66d4d09de5b46e6537f59a97c7192473486","skills\u002Faudio-and-haptics-feedback",2,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills","https:\u002F\u002Fzakaria.dev\u002FReactNative-Skills\u002F","https:\u002F\u002Fgithub.com\u002Fzakariaf","https:\u002F\u002Fzakaria.dev","Seniore Software Engineer","2026-10-22 07:05:00",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add zakariaf\u002FReactNative-Skills --skill audio-and-haptics-feedback",{"tool":40,"command":41},"bunx","bunx skills add zakariaf\u002FReactNative-Skills --skill audio-and-haptics-feedback",{"tool":43,"command":44},"pnpm","pnpm dlx skills add zakariaf\u002FReactNative-Skills --skill audio-and-haptics-feedback","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002FSKILL.md",true,[48,54,58,64,70,76,80,84,88,92,96,100,104,108,112,116,120,124,128,132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196,200,204,208,212,216,220,224,228,232,236,240,244,248,252,256,260,264,268,272,276,280,284,288,292,296,300,304,308,312,316,320,324,328,332,336,340,344,348,352,356,360,363,367,371,374],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"assets\u002Fshared.json","ASSET","资产文件",1042,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Fassets\u002Fshared.json",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"assets\u002Ftemplate-placeholders.json",310,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Fassets\u002Ftemplate-placeholders.json",{"path":59,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":63},"examples\u002Fbundled-sound-loading.ts","SCRIPT","脚本",1622,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Fexamples\u002Fbundled-sound-loading.ts",{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"examples\u002Flistening-checklist.md","REFERENCE","参考文档",2154,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Fexamples\u002Flistening-checklist.md",{"path":71,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":74,"sourceHtmlUrl":75},"examples\u002Froot-layout-wiring.tsx","OTHER","其他",4038,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Fexamples\u002Froot-layout-wiring.tsx",{"path":77,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Faudio-engine.md",27168,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Freferences\u002Faudio-engine.md",{"path":81,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":82,"sourceHtmlUrl":83},"references\u002Ffeedback-moments.md",11468,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Freferences\u002Ffeedback-moments.md",{"path":85,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Fhaptics.md",8719,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Freferences\u002Fhaptics.md",{"path":89,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":90,"sourceHtmlUrl":91},"references\u002Fsound-design.md",10704,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Freferences\u002Fsound-design.md",{"path":93,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":94,"sourceHtmlUrl":95},"scripts\u002Fcheck-audio-haptics.mjs",56093,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Fscripts\u002Fcheck-audio-haptics.mjs",{"path":97,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":98,"sourceHtmlUrl":99},"scripts\u002Fcheck-lib.mjs",119923,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Fscripts\u002Fcheck-lib.mjs",{"path":101,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":102,"sourceHtmlUrl":103},"scripts\u002Fcheck-sound-banks.mjs",23130,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Fscripts\u002Fcheck-sound-banks.mjs",{"path":105,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":106,"sourceHtmlUrl":107},"scripts\u002Flib\u002Fapp-modules.mjs",8884,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Fscripts\u002Flib\u002Fapp-modules.mjs",{"path":109,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":110,"sourceHtmlUrl":111},"scripts\u002Flib\u002Fsynth.mjs",9178,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Fscripts\u002Flib\u002Fsynth.mjs",{"path":113,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":114,"sourceHtmlUrl":115},"scripts\u002Flib\u002Fts-literal.mjs",6833,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Fscripts\u002Flib\u002Fts-literal.mjs",{"path":117,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":118,"sourceHtmlUrl":119},"scripts\u002Fselftest.mjs",833,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Fscripts\u002Fselftest.mjs",{"path":121,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":122,"sourceHtmlUrl":123},"templates\u002F__mocks__\u002Freact-native-audio-api.ts",1308,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002F__mocks__\u002Freact-native-audio-api.ts",{"path":125,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":126,"sourceHtmlUrl":127},"templates\u002Fcontracts\u002Faudio-feedback.json",122,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fcontracts\u002Faudio-feedback.json",{"path":129,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":130,"sourceHtmlUrl":131},"templates\u002Fcontracts\u002Faudio-feedback.schema.json",3479,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fcontracts\u002Faudio-feedback.schema.json",{"path":133,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":134,"sourceHtmlUrl":135},"templates\u002Fsrc\u002Fconfig\u002Faudio-plugin.test.ts",506,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fsrc\u002Fconfig\u002Faudio-plugin.test.ts",{"path":137,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":138,"sourceHtmlUrl":139},"templates\u002Fsrc\u002Fconfig\u002Faudio-plugin.ts",1118,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fsrc\u002Fconfig\u002Faudio-plugin.ts",{"path":141,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":142,"sourceHtmlUrl":143},"templates\u002Fsrc\u002Fcore\u002Frng\u002Fsfc32.test.ts",4275,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fsrc\u002Fcore\u002Frng\u002Fsfc32.test.ts",{"path":145,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":146,"sourceHtmlUrl":147},"templates\u002Fsrc\u002Fcore\u002Frng\u002Fsfc32.ts",3016,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fsrc\u002Fcore\u002Frng\u002Fsfc32.ts",{"path":149,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":150,"sourceHtmlUrl":151},"templates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002F__FEATURE__-feedback.test.ts",503,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002F__FEATURE__-feedback.test.ts",{"path":153,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":154,"sourceHtmlUrl":155},"templates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002F__FEATURE__-feedback.ts",783,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002F__FEATURE__-feedback.ts",{"path":157,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":158,"sourceHtmlUrl":159},"templates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002Fsounds\u002F__FEATURE__-sounds.test.ts",1397,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002Fsounds\u002F__FEATURE__-sounds.test.ts",{"path":161,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":162,"sourceHtmlUrl":163},"templates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002Fsounds\u002F__FEATURE__-sounds.ts",2153,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002Fsounds\u002F__FEATURE__-sounds.ts",{"path":165,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":166,"sourceHtmlUrl":167},"templates\u002Fsrc\u002Fhooks\u002Fuse-is-app-active.test.ts",2830,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fsrc\u002Fhooks\u002Fuse-is-app-active.test.ts",{"path":169,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":170,"sourceHtmlUrl":171},"templates\u002Fsrc\u002Fhooks\u002Fuse-is-app-active.ts",1501,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fsrc\u002Fhooks\u002Fuse-is-app-active.ts",{"path":173,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":174,"sourceHtmlUrl":175},"templates\u002Fsrc\u002Fservices\u002Faudio\u002Fadmit-voice.test.ts",2648,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fsrc\u002Fservices\u002Faudio\u002Fadmit-voice.test.ts",{"path":177,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":178,"sourceHtmlUrl":179},"templates\u002Fsrc\u002Fservices\u002Faudio\u002Fadmit-voice.ts",2678,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fsrc\u002Fservices\u002Faudio\u002Fadmit-voice.ts",{"path":181,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":182,"sourceHtmlUrl":183},"templates\u002Fsrc\u002Fservices\u002Faudio\u002Faudio-api-audio-adapter.android.test.ts",1221,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fsrc\u002Fservices\u002Faudio\u002Faudio-api-audio-adapter.android.test.ts",{"path":185,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":186,"sourceHtmlUrl":187},"templates\u002Fsrc\u002Fservices\u002Faudio\u002Faudio-api-audio-adapter.test.ts",5466,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fsrc\u002Fservices\u002Faudio\u002Faudio-api-audio-adapter.test.ts",{"path":189,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":190,"sourceHtmlUrl":191},"templates\u002Fsrc\u002Fservices\u002Faudio\u002Faudio-api-audio-adapter.ts",7698,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fsrc\u002Fservices\u002Faudio\u002Faudio-api-audio-adapter.ts",{"path":193,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":194,"sourceHtmlUrl":195},"templates\u002Fsrc\u002Fservices\u002Faudio\u002Faudio-port.ts",2182,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fsrc\u002Fservices\u002Faudio\u002Faudio-port.ts",{"path":197,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":198,"sourceHtmlUrl":199},"templates\u002Fsrc\u002Fservices\u002Faudio\u002Fcompose-sound-bank.test.ts",1678,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fsrc\u002Fservices\u002Faudio\u002Fcompose-sound-bank.test.ts",{"path":201,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":202,"sourceHtmlUrl":203},"templates\u002Fsrc\u002Fservices\u002Faudio\u002Fcompose-sound-bank.ts",1447,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fsrc\u002Fservices\u002Faudio\u002Fcompose-sound-bank.ts",{"path":205,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":206,"sourceHtmlUrl":207},"templates\u002Fsrc\u002Fservices\u002Faudio\u002Ffake-audio.test.ts",1188,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fsrc\u002Fservices\u002Faudio\u002Ffake-audio.test.ts",{"path":209,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":210,"sourceHtmlUrl":211},"templates\u002Fsrc\u002Fservices\u002Faudio\u002Ffake-audio.ts",1461,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fsrc\u002Fservices\u002Faudio\u002Ffake-audio.ts",{"path":213,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":214,"sourceHtmlUrl":215},"templates\u002Fsrc\u002Fservices\u002Faudio\u002Fsynth\u002Frecipe-problems.test.ts",1883,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fsrc\u002Fservices\u002Faudio\u002Fsynth\u002Frecipe-problems.test.ts",{"path":217,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":218,"sourceHtmlUrl":219},"templates\u002Fsrc\u002Fservices\u002Faudio\u002Fsynth\u002Frecipe-problems.ts",4069,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fsrc\u002Fservices\u002Faudio\u002Fsynth\u002Frecipe-problems.ts",{"path":221,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":222,"sourceHtmlUrl":223},"templates\u002Fsrc\u002Fservices\u002Faudio\u002Fsynth\u002Fsynthesize-recipe.test.ts",1386,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fsrc\u002Fservices\u002Faudio\u002Fsynth\u002Fsynthesize-recipe.test.ts",{"path":225,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":226,"sourceHtmlUrl":227},"templates\u002Fsrc\u002Fservices\u002Faudio\u002Fsynth\u002Fsynthesize-recipe.ts",3310,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fsrc\u002Fservices\u002Faudio\u002Fsynth\u002Fsynthesize-recipe.ts",{"path":229,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":230,"sourceHtmlUrl":231},"templates\u002Fsrc\u002Fservices\u002Faudio\u002Fsynth\u002Fui-sounds.ts",1572,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fsrc\u002Fservices\u002Faudio\u002Fsynth\u002Fui-sounds.ts",{"path":233,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":234,"sourceHtmlUrl":235},"templates\u002Fsrc\u002Fservices\u002Faudio\u002Fuse-audio-lifecycle.test.ts",2448,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fsrc\u002Fservices\u002Faudio\u002Fuse-audio-lifecycle.test.ts",{"path":237,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":238,"sourceHtmlUrl":239},"templates\u002Fsrc\u002Fservices\u002Faudio\u002Fuse-audio-lifecycle.ts",1005,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fsrc\u002Fservices\u002Faudio\u002Fuse-audio-lifecycle.ts",{"path":241,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":242,"sourceHtmlUrl":243},"templates\u002Fsrc\u002Fservices\u002Ffeedback\u002Fplay-cue.test.ts",982,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fsrc\u002Fservices\u002Ffeedback\u002Fplay-cue.test.ts",{"path":245,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":246,"sourceHtmlUrl":247},"templates\u002Fsrc\u002Fservices\u002Ffeedback\u002Fplay-cue.ts",822,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fsrc\u002Fservices\u002Ffeedback\u002Fplay-cue.ts",{"path":249,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":250,"sourceHtmlUrl":251},"templates\u002Fsrc\u002Fservices\u002Ffeedback\u002Fui-feedback.test.ts",1297,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fsrc\u002Fservices\u002Ffeedback\u002Fui-feedback.test.ts",{"path":253,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":254,"sourceHtmlUrl":255},"templates\u002Fsrc\u002Fservices\u002Ffeedback\u002Fui-feedback.ts",1674,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fsrc\u002Fservices\u002Ffeedback\u002Fui-feedback.ts",{"path":257,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":258,"sourceHtmlUrl":259},"templates\u002Fsrc\u002Fservices\u002Fhaptics\u002Fexpo-haptics-adapter.android.test.ts",1419,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fsrc\u002Fservices\u002Fhaptics\u002Fexpo-haptics-adapter.android.test.ts",{"path":261,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":262,"sourceHtmlUrl":263},"templates\u002Fsrc\u002Fservices\u002Fhaptics\u002Fexpo-haptics-adapter.test.ts",4453,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fsrc\u002Fservices\u002Fhaptics\u002Fexpo-haptics-adapter.test.ts",{"path":265,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":266,"sourceHtmlUrl":267},"templates\u002Fsrc\u002Fservices\u002Fhaptics\u002Fexpo-haptics-adapter.ts",5272,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fsrc\u002Fservices\u002Fhaptics\u002Fexpo-haptics-adapter.ts",{"path":269,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":270,"sourceHtmlUrl":271},"templates\u002Fsrc\u002Fservices\u002Fhaptics\u002Ffake-haptics.test.ts",540,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fsrc\u002Fservices\u002Fhaptics\u002Ffake-haptics.test.ts",{"path":273,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":274,"sourceHtmlUrl":275},"templates\u002Fsrc\u002Fservices\u002Fhaptics\u002Ffake-haptics.ts",429,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fsrc\u002Fservices\u002Fhaptics\u002Ffake-haptics.ts",{"path":277,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":278,"sourceHtmlUrl":279},"templates\u002Fsrc\u002Fservices\u002Fhaptics\u002Fhaptics-port.ts",747,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fsrc\u002Fservices\u002Fhaptics\u002Fhaptics-port.ts",{"path":281,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":282,"sourceHtmlUrl":283},"templates\u002Fsrc\u002Fservices\u002Fhaptics\u002Fshould-pulse.test.ts",772,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fsrc\u002Fservices\u002Fhaptics\u002Fshould-pulse.test.ts",{"path":285,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":286,"sourceHtmlUrl":287},"templates\u002Fsrc\u002Fservices\u002Fhaptics\u002Fshould-pulse.ts",615,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fsrc\u002Fservices\u002Fhaptics\u002Fshould-pulse.ts",{"path":289,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":290,"sourceHtmlUrl":291},"templates\u002Fsrc\u002Fservices\u002Ftest-hooks\u002Frecording-feedback.test.ts",2357,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fsrc\u002Fservices\u002Ftest-hooks\u002Frecording-feedback.test.ts",{"path":293,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":294,"sourceHtmlUrl":295},"templates\u002Fsrc\u002Fservices\u002Ftest-hooks\u002Frecording-feedback.ts",2174,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fsrc\u002Fservices\u002Ftest-hooks\u002Frecording-feedback.ts",{"path":297,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":298,"sourceHtmlUrl":299},"templates\u002Fsrc\u002Fui\u002Fpress-feedback-context.test.tsx",2050,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fsrc\u002Fui\u002Fpress-feedback-context.test.tsx",{"path":301,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":302,"sourceHtmlUrl":303},"templates\u002Fsrc\u002Fui\u002Fpress-feedback-context.tsx",1921,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftemplates\u002Fsrc\u002Fui\u002Fpress-feedback-context.tsx",{"path":305,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":306,"sourceHtmlUrl":307},"tests\u002Fbases\u002Fapp\u002Fapp.config.ts",331,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftests\u002Fbases\u002Fapp\u002Fapp.config.ts",{"path":309,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":310,"sourceHtmlUrl":311},"tests\u002Fbases\u002Fapp\u002Fdot-gitignore",44,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftests\u002Fbases\u002Fapp\u002Fdot-gitignore",{"path":313,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":314,"sourceHtmlUrl":315},"tests\u002Fbases\u002Fapp\u002Fpackage.json",266,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftests\u002Fbases\u002Fapp\u002Fpackage.json",{"path":317,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":318,"sourceHtmlUrl":319},"tests\u002Fbases\u002Fapp\u002Fsrc\u002Fapp\u002F_layout.tsx",1253,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftests\u002Fbases\u002Fapp\u002Fsrc\u002Fapp\u002F_layout.tsx",{"path":321,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":322,"sourceHtmlUrl":323},"tests\u002Fbases\u002Fapp\u002Fsrc\u002Ffeatures\u002Fsettings\u002Frestart-for-language.ts",342,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftests\u002Fbases\u002Fapp\u002Fsrc\u002Ffeatures\u002Fsettings\u002Frestart-for-language.ts",{"path":325,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":326,"sourceHtmlUrl":327},"tests\u002Fbases\u002Fapp\u002Fsrc\u002Ffeatures\u002Fsettings\u002Fuse-settings-model.ts",332,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftests\u002Fbases\u002Fapp\u002Fsrc\u002Ffeatures\u002Fsettings\u002Fuse-settings-model.ts",{"path":329,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":330,"sourceHtmlUrl":331},"tests\u002Fbases\u002Fapp\u002Fsrc\u002Ffeatures\u002Ftasks\u002Fuse-tasks-model.ts",627,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftests\u002Fbases\u002Fapp\u002Fsrc\u002Ffeatures\u002Ftasks\u002Fuse-tasks-model.ts",{"path":333,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":334,"sourceHtmlUrl":335},"tests\u002Fbases\u002Fapp\u002Fsrc\u002Fgames\u002Farena-chase\u002Farena-events.ts",350,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftests\u002Fbases\u002Fapp\u002Fsrc\u002Fgames\u002Farena-chase\u002Farena-events.ts",{"path":337,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":338,"sourceHtmlUrl":339},"tests\u002Fbases\u002Fapp\u002Fsrc\u002Fgames\u002Farena-chase\u002Fsim\u002Farena-sim.ts",218,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftests\u002Fbases\u002Fapp\u002Fsrc\u002Fgames\u002Farena-chase\u002Fsim\u002Farena-sim.ts",{"path":341,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":342,"sourceHtmlUrl":343},"tests\u002Fbases\u002Fapp\u002Fsrc\u002Fgames\u002Farena-chase\u002Fsounds\u002Farena-chase-sounds.test.ts",361,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftests\u002Fbases\u002Fapp\u002Fsrc\u002Fgames\u002Farena-chase\u002Fsounds\u002Farena-chase-sounds.test.ts",{"path":345,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":346,"sourceHtmlUrl":347},"tests\u002Fbases\u002Fapp\u002Fsrc\u002Fgames\u002Farena-chase\u002Fsounds\u002Farena-chase-sounds.ts",438,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftests\u002Fbases\u002Fapp\u002Fsrc\u002Fgames\u002Farena-chase\u002Fsounds\u002Farena-chase-sounds.ts",{"path":349,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":350,"sourceHtmlUrl":351},"tests\u002Fbases\u002Fapp\u002Fsrc\u002Fui\u002Fswitch-row.tsx",248,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftests\u002Fbases\u002Fapp\u002Fsrc\u002Fui\u002Fswitch-row.tsx",{"path":353,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":354,"sourceHtmlUrl":355},"tests\u002Fbases\u002Fapp\u002Ftsconfig.json",143,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftests\u002Fbases\u002Fapp\u002Ftsconfig.json",{"path":357,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":358,"sourceHtmlUrl":359},"tests\u002Ffixtures\u002Fcheck-audio-haptics\u002FCASES.json",47188,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftests\u002Ffixtures\u002Fcheck-audio-haptics\u002FCASES.json",{"path":361,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":14,"sourceHtmlUrl":362},"tests\u002Ffixtures\u002Fcheck-audio-haptics\u002Fgood\u002FEXPECT.txt","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftests\u002Ffixtures\u002Fcheck-audio-haptics\u002Fgood\u002FEXPECT.txt",{"path":364,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":365,"sourceHtmlUrl":366},"tests\u002Ffixtures\u002Fcheck-audio-haptics\u002FSUITE.json",300,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftests\u002Ffixtures\u002Fcheck-audio-haptics\u002FSUITE.json",{"path":368,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":369,"sourceHtmlUrl":370},"tests\u002Ffixtures\u002Fcheck-sound-banks\u002FCASES.json",14009,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftests\u002Ffixtures\u002Fcheck-sound-banks\u002FCASES.json",{"path":372,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":14,"sourceHtmlUrl":373},"tests\u002Ffixtures\u002Fcheck-sound-banks\u002Fgood\u002FEXPECT.txt","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftests\u002Ffixtures\u002Fcheck-sound-banks\u002Fgood\u002FEXPECT.txt",{"path":375,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":365,"sourceHtmlUrl":376},"tests\u002Ffixtures\u002Fcheck-sound-banks\u002FSUITE.json","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Faudio-and-haptics-feedback\u002Ftests\u002Ffixtures\u002Fcheck-sound-banks\u002FSUITE.json",[378,385,391,398,405,412],{"skillNo":379,"name":380,"nameZh":6,"description":381,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":382,"categories":383,"keywords":384,"publishedAt":19},"01M7F2S4KZG97D21GEJ2GKKYK1","demo","Planted skill folder (never scanned).","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fweb-support\u002Ftests\u002Fbases\u002Fapp\u002Fskills\u002Fdemo\u002FSKILL.md",[],[],{"skillNo":386,"name":380,"nameZh":6,"description":387,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":388,"categories":389,"keywords":390,"publishedAt":19},"01M7F2S1F4ATZ49909EDKWA9E6","Planted installed skill (its files must never be scanned).","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fweb-support\u002Ftests\u002Fbases\u002Fapp\u002F.agents\u002Fskills\u002Fdemo\u002FSKILL.md",[],[],{"skillNo":392,"name":393,"nameZh":6,"description":394,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":395,"categories":396,"keywords":397,"publishedAt":19},"01M7F2RXGPZJ5Q1FV2HQ1PJ6AX","web-support","Ships the web build of an Expo app: platform files, APIs missing in react-native-web, expo-sqlite headers. Use when adding web, a .web.tsx file or expo export --platform web. Not for responsive layout (adaptive-layout).","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fweb-support\u002FSKILL.md",[],[],{"skillNo":399,"name":400,"nameZh":6,"description":401,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":402,"categories":403,"keywords":404,"publishedAt":19},"01M7F2RQ43JFA4QFWQEHBET08G","value-objects-money-and-units","Stores money as ISO 4217 minor units, quantities in canonical units, instants as epoch ms. Use when adding a price, currency, tax, split, unit or timestamp, or a total is a cent off. Not for calendar days (dates-streaks-and-statistics).","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fvalue-objects-money-and-units\u002FSKILL.md",[],[],{"skillNo":406,"name":407,"nameZh":6,"description":408,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":409,"categories":410,"keywords":411,"publishedAt":19},"01M7F2RHR7H8VVZDP16FJNJV11","unit-and-component-tests","Sets up Jest, checks unit, component and route tests (RNTL 14, renderWithProviders, SDK mocks, fakes, fast-check, Stryker). Use when writing a test or mock, or Jest fails or flakes. Not for goldens (golden-and-snapshot-tests).","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Funit-and-component-tests\u002FSKILL.md",[],[],{"skillNo":413,"name":414,"nameZh":6,"description":415,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":416,"categories":417,"keywords":418,"publishedAt":19},"01M7F2RAEDWQ6H4514HFRWJAE6","ui-states-and-feedback","Builds loading, empty, failed and offline states, delayed skeletons, toasts, banners, confirms, Undo. Use when a screen loads data, shows a spinner, toast, retry or delete prompt. Not for failure values (error-handling-typed-results).","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fui-states-and-feedback\u002FSKILL.md",[],[]]