
Audio and haptics feedback
Adds sound effects, music and haptic pulses to an Expo app behind swappable ports
Audio and haptics feedback is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- JavaScript, TypeScript
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 16
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Audio and haptics feedback
This skill sets up a feedback layer for React Native apps built with Expo. Sounds are synthesised from literal recipes and played through a single ambient audio context, so they respect the iOS silent switch and mix with music the user already has playing. Haptic pulses come from a fixed cue table covering iOS feedback generators and Android haptic constants, gated by a user preference and throttled so bursts do not buzz.
The workflow has the agent build the audio and haptics ports and adapters, organise sounds into per-feature banks composed in the root layout, and write cue tables that tie events in the model to sounds and pulses. Two checker scripts then verify the rules: one renders every sound and reports clipping, click-prone edges and id mismatches, and the other inspects engine imports, dependency pins, the Expo config plugin, lifecycle wiring and call sites. Optional WAV previews can be rendered for a human to listen to.
It expects an Expo project with Jest for tests, npm or npx for installing expo-haptics and an exact-pinned react-native-audio-api, and a settings feature for the sound and haptics preferences. Recorded audio files are optional and must be listed with their licence in a contract file.
When your agent uses it
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).
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Runs JavaScript and TypeScript scripts(see the files on GitHub)
- No network calls found in its scripts(see the files on GitHub)
- License: MIT(see the files on GitHub)
From a static check of its 82 files (462 KB) on GitHub on 5 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the react-native plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add zakariaf/ReactNative-Skills
/plugin install react-native@react-native-skillsOr copy only this skill to ~/.claude/skills/audio-and-haptics-feedback:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/audio-and-haptics-feedback &&
cp -R "$tmp/skills/audio-and-haptics-feedback" ~/.claude/skills/audio-and-haptics-feedback &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/audio-and-haptics-feedback inside it instead.
Copy the skill folder to ~/.agents/skills/audio-and-haptics-feedback to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/audio-and-haptics-feedback &&
cp -R "$tmp/skills/audio-and-haptics-feedback" ~/.agents/skills/audio-and-haptics-feedback &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/audio-and-haptics-feedback inside it instead.
Copy the skill folder to ~/.cursor/skills/audio-and-haptics-feedback to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/audio-and-haptics-feedback &&
cp -R "$tmp/skills/audio-and-haptics-feedback" ~/.cursor/skills/audio-and-haptics-feedback &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/audio-and-haptics-feedback inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/zakariaf/ReactNative-Skills.git --path skills/audio-and-haptics-feedbackOr copy the folder to ~/.gemini/skills/audio-and-haptics-feedback yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/audio-and-haptics-feedback:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/audio-and-haptics-feedback &&
cp -R "$tmp/skills/audio-and-haptics-feedback" ~/.copilot/skills/audio-and-haptics-feedback &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/audio-and-haptics-feedback inside it instead.
Get the folder:
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.gitThen copy ReactNative-Skills/skills/audio-and-haptics-feedback into your agent's skills folder as audio-and-haptics-feedback. Agents that support SKILL.md read one folder per skill.
What it does
- Synthesised sound recipes
- Each sound is a literal recipe rendered to audio, checked for clicks, clipping and length before use.
- Audio and haptics ports
- Engine libraries sit behind ports with fakes for tests, so only one adapter file imports each engine.
- Voice and throttle policy
- Category gains, voice limits and repeat intervals keep loudness even and prevent sound pile-ups.
- Haptic cue tables
- Fixed haptic cues for iOS and Android, with a preference gate and a minimum spacing between pulses.
- Lifecycle and reload safety
- Audio runs only while the app is active and is disposed before a JavaScript reload.
- Static checkers
- Two scripts validate sound banks and feedback wiring and render WAV previews for review.
Good for
- Add a success chime and a light haptic when a form is saved
- Tune the sound effects for a game's coin pickup and level-up events
- Stop background music from being interrupted by app sounds on Android
- Set up haptic feedback for switches and pickers in an Expo app
- Check that every sound id in a feature bank is actually cued
Audio and haptics feedback FAQ
What does the skill need from the project?
It targets Expo apps and installs expo-haptics and react-native-audio-api, pinned to an exact version. It also expects a settings feature that provides the haptics preference and Jest for tests.
Does Audio and haptics feedback play music by default?
No. Music is off by default and its controls are hidden unless the app has a music bank.
When does the feedback trigger?
Sounds and pulses fire from events in the model layer, such as a cue table row or a UI moment, never from a view's own handler.
Can Audio and haptics feedback use downloaded sound files?
Sounds are normally synthesised. Recorded files are allowed only when listed with their licence and source in the contract file.
How do I install Audio and haptics feedback in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/audio-and-haptics-feedback to use it in all your projects, or to .claude/skills/audio-and-haptics-feedback in one project. Or install the react-native plugin, which includes it: /plugin marketplace add zakariaf/ReactNative-Skills, then /plugin install react-native@react-native-skills.
Does Audio and haptics feedback run scripts?
Yes. It runs JavaScript and TypeScript scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Audio and haptics feedback?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Audio and haptics feedback?
The closest alternatives to Audio and haptics feedback are Expo animation, Expo animation, Expo native UI, Expo native UI and Expo prebuild and config plugins.
Where this comes from
- Description: from the skill's own SKILL.md.
More from zakariaf/ReactNative-Skills

Turns canvas taps, swipes and drags into typed intents hit-tested on the drawn layout
- Open source
- 16 GitHub stars
- Developer tools

Adds a gated debug menu, debug deep link and simulated clock and offline mode to React
- Open source
- 16 GitHub stars
- Developer tools

Checks React Native code for accessibility labels, touch targets, text scaling
- Open source
- 16 GitHub stars
- Developer tools

Sells a one-time Premium unlock through the App Store and Google Play
- Open source
- 16 GitHub stars
- Finance and payments

Walks an Expo app through an SDK, Xcode or Android toolchain upgrade in one commit
- Open source
- 16 GitHub stars
- Developer tools

Builds React Native forms with one valibot schema, catalog-key errors and keyboard-aware
- Open source
- 16 GitHub stars
- Developer tools



