sound
Installation
SKILL.md
sound
Copy assets/ui-sounds.js into the target app and connect its existing presets to meaningful user interactions. Preserve the module unchanged: it intentionally has no sound files, dependencies, preload, configuration, mute control, or persistent state beyond its lazy AudioContext.
Workflow
- Inspect the frontend structure and its existing interaction handlers.
- Copy
assets/ui-sounds.jsto the app's conventional shared browser utility location. Do not rewrite, translate, wrap, or refactor it. - Import
playUISoundinto components or modules that already own the relevant user interaction. - Add one sound call to each meaningful interaction. Keep the original handler and its ordering intact except for the inserted call.
- Run the app's relevant typecheck, test, and build commands.
Presets
Use only these existing names: