Cuelume in OpenPost
SkillDev toolsAdd or audit OpenPost interaction sounds with Cuelume. Use for UI sound wiring, duplicate or missing cues, sound preferences, and semantic success or error feedback.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the Cuelume in OpenPost skill
What this skill tells your AI
The instructions your AI receives, as published by getopenpost/openpost in .agents/skills/cuelume/SKILL.md and read by ahel’s review.
Use the pinned cuelume package for short browser interaction sounds. The official agent guide is cuelume-site.pages.dev/agents.md.
OpenPost rules
- Keep
soundPreferencesas the single owner ofbind(),setEnabled(), persistence, and imperative playback. - Put declarative cues in shared UI components. Route-specific markup should add a cue only when no shared control owns the interaction.
- Emit one gesture cue per completed action. Use
data-cuelume-toggle="release"for an ordinary button click so pointer, touch, and keyboard activation share one event. - Let the most specific control own a composed interaction. A dropdown, popover, tab, checkbox, radio, or select trigger uses
toggle; its child Button must not add another event type. - Use
tickfor light navigation and menu choices,togglefor state changes and tabs, andreleasefor ordinary actions. - Call
soundPreferences.play('success')orplay('error')only after a user-started operation reaches that outcome. Keep autosave, passive refresh, text entry, and background work quiet. - Keep the visible sound preference. Sound must never replace a label, state change, notice, or error message.
API
import { bind, play, setEnabled, setVolume, sounds, type SoundName } from 'cuelume';
bind(root?)installs delegated handlers and is idempotent per root.play(name, { volume }?)plays an imperative cue and fails silently when audio is unavailable.setEnabled(enabled)andsetVolume(volume)change future playback. OpenPost owns persistence.- Declarative attributes are
data-cuelume-hover,data-cuelume-press,data-cuelume-release, anddata-cuelume-toggle.
Verify
For every changed interaction:
- Add a browser component test that asserts the owning element has one declarative event attribute.
- Test pointer and keyboard activation, the muted preference, and rapid repeated use.
- Check composed triggers for stacked attributes from different event types.
- Exercise the real route in a browser and confirm one audible cue, the visible state change, and a clean console.
- Run the frontend type, lint, test, UI consistency, and build gates in proportion to the change.
Signals
- GitHub stars
- 138
- Forks
- 17
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
cuelume- Source
- github.com/getopenpost/openpost