Skip to content
Back to skills

Phaserjs Build Audio

ASecurity

Integrate Phaser SoundManager playback with browser activation, bounded voices, scene ownership and explicit backend limitations.

  • 4 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 7, 2026
businessgobackend

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 7, 2026

npx -y skills add TimothyMeadows/Hephaera --skill phaserjs-build-audio --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Phaserjs Build Audio?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Phaserjs Build Audio
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/timothymeadows-phaserjs-build-audio/badge)](https://www.skillsdirectory.com/skills/timothymeadows-phaserjs-build-audio)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: phaserjs-build-audio
description: Integrate Phaser SoundManager playback with browser activation, bounded voices, scene ownership and explicit backend limitations.
engines: [PHASERJS]
---

# Build Phaser Audio

## When to use

Add Phaser runtime music, effects, positional sounds or scene audio transitions.

## Engine and dependencies

Before edits or tool launches, run `resolve-engine.sh` and `resolve-skill.sh phaserjs-build-audio`; require compatibility and honor task override scope. Inspect the locked Phaser revision, selected audio configuration, browser codec support and event/bus budgets. Use rights-cleared local audio; generation is a separate workflow governed by `MEDIA.md` when selected. Do not install audio middleware or adopt remote assets implicitly.

## Workflow

1. Queue audio through the Scene loader with declared keys and supported formats; distinguish loading, decoding, activation and playback failure. Respect the selected Web Audio, HTML5 audio or disabled configuration and its capability differences.
2. The SoundManager belongs to the game. Define scene-owned effects versus persistent music explicitly; scene shutdown does not by itself guarantee a looping sound stops. Cache/texture-style global lifetime assumptions must not leak into sound ownership.
3. Create reusable sound instances through `this.sound.add` or bounded one-shot calls. Declare concurrency, priority/stealing, volume/mute settings and channel categories. Drop expired feedback while locked rather than replaying stale bursts after activation.
4. Handle `locked`/unlock behavior from valid browser interaction. Pause/resume and visibility policies must preserve user settings and distinguish gameplay clocks from audio scheduling. Unsupported spatial or mixing features require an explicit limitation report, not a silent claim of parity.
5. For supported positional audio, define listener/camera and emitter updates in consistent units; detach or stop emitters at actor despawn. Cancelling an event cancels owned fades, delayed plays and loops.
6. Remove listeners and stop/destroy scene-owned sounds at shutdown. Preserve persistent music only under a surviving service owner; destroy the service when the game ends. Audio errors never determine gameplay outcomes.

## Output and verification

Deliver voice/channel ownership, activation/error paths and runtime evidence. Check locked startup, codec failure, overlap limits, repeated scene restarts, mute persistence, visibility changes and stopped loops. Audibility/spatial quality requires playback on target hardware; mocked calls establish routing only. Consult the [Phaser audio guide](https://docs.phaser.io/phaser/concepts/audio) for backend and lifecycle behavior.

Files in this skill

  • SKILL.md2.7 KB
  • agents/openai.yaml264 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in business →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.