一键导入
games-audio
Audio game — Web Audio API pool, spatial 3D, dynamic compression, format fallback. Không memory leak, tự động GC.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Audio game — Web Audio API pool, spatial 3D, dynamic compression, format fallback. Không memory leak, tự động GC.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | games-audio |
| description | Audio game — Web Audio API pool, spatial 3D, dynamic compression, format fallback. Không memory leak, tự động GC. |
Pool tái sử dụng AudioBufferSourceNode, tự động release sau khi phát, auto-safe nếu onended không fire.
Xem: templates/audio-pool.ts
PannerNode với HRTF, inverse distance model, cập nhật listener và source position real-time.
Xem: templates/spatial-audio.ts
DynamicsCompressorNode, threshold -24, ratio 12, attack 3ms, release 250ms.
Xem: templates/audio-compressor.ts
Tự động detect format browser hỗ trợ (mp3/ogg/wav/aac), fallback về mp3.
Xem: templates/format-fallback.ts
| Excuse | Reality |
|---|---|
| "Audio pool không cần, tạo mới mỗi lần" | GC không kịp thu hồi → memory leak |
| "Spatial audio cho web game là overkill" | 3D game không spatial = âm thanh phẳng |
| "Compression không cần, file nhỏ" | Nhiều âm thanh cùng lúc → distortion |
Expert in building 3D experiences for the web - Three.js, React Three Fiber, Spline, WebGL, and interactive 3D scenes. Covers product configurators, 3D portfolios, immersive websites, and bringing depth to web experiences. Use when: 3D website, three.js, WebGL, react three fiber, 3D experience.
Game art principles — art style, color theory, animation principles, asset pipeline
Game design principles — core loop, GDD, player psychology, difficulty balancing, progression
Orchestrator game — route to implementation skill (pxhopencode) + principle-based sub-skill (agent-skills-hub)
Mobile game principles — touch input, battery, thermal, app stores, monetization
Multiplayer game principles — networking architecture, synchronization, security, matchmaking