All skills
thedivergentai avatar

/godot-master

@4c4d0ff

Consolidated expert library for professional Godot 4.7+ game and application development. Orchestrates 92 Domain Skills through architectural workflows, anti-pattern catalogs, performance budgets, and Server API patterns. Use when: (1) starting a new Godot project, (2) designing game or app architecture, (3) building entity/component systems, (4) debugging performance or physics issues, (5) choosing between 2D/3D approaches, (6) implementing multiplayer, (7) optimizing draw calls or script time, (8) porting between platforms, (9) migrating from 4.6 to 4.7. Primary entry point for ALL Godot development tasks. Keywords: Godot 4.7, AreaLight3D, HDR, Asset Store, godot-master.

Use this Skill: https://skilld.dev/gh/thedivergentai/gd-agentic-skills/godot-master

This session only. Nothing lands on disk.

referencesaudio-systems-audio-pooling-and-buses.md

≈449 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Audio pooling and bus architecture

Pooling anti-pattern (WHY)

# BAD: 60 new nodes/sec at 60 FPS → ~3600 allocations/minute + frame spikes
func play_footstep() -> void:
    var player := AudioStreamPlayer.new()
    add_child(player)
    player.stream = load("res://audio/footstep.ogg")
    player.finished.connect(player.queue_free)
    player.play()

Fix: Pre-allocate a round-robin pool — audio_voice_pool_manager.gd. Cap identical SFX with audio_voice_limiter_manager.gd to avoid constructive clipping when 50 explosions stack.

Bus layout

Master (limiter only)
├── Music
├── SFX
├── UI
└── Voice
  • Never route gameplay to Master — mute/duck categories independently.
  • set_bus_volume_db() is logarithmic; UI sliders need linear_to_db() — audio_linear_volume_interpolator.gd.
# BAD
AudioServer.set_bus_volume_db(music_idx, 0.5)

# GOOD
AudioServer.set_bus_volume_db(music_idx, linear_to_db(0.5))

3D spatial gotchas

Issue Fix
Whisper heard globally Set attenuation_model = ATTENUATION_INVERSE_DISTANCE
Panning jitter on listener Offset source by ~0.1 units from camera
Flat fly-by doppler_tracking = DOPPLER_TRACKING_PHYSICS_STEP

Godot 4.7

AudioStreamPlayer.area_mask defaults to 0 — set layer 1 (or your bus layer) when using Area audio overrides.

Far-audio cull

Stop AudioStreamPlayer3D when listener distance > max_distance * 1.5 to skip inaudible mix work.

Edge cases

  1. Stream assigned?
  2. Bus muted?
  3. volume_db < -60 effectively silent

Source: SKILL.md on GitHub

1 alert16d4 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    The godot-master skill is a comprehensive expert library for Godot 4.7+ development. it provides architectural frameworks, anti-pattern catalogs, and automation scripts for build orchestration, project auditing, and visual QA. The skill demonstrates high security awareness by instructing agents on the safe use of risky engine APIs and recommending the use of boundary markers when processing untrusted scene data. No malicious patterns or unauthorized exfiltration vectors were detected.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: MEDIUM · 1 issue

  • Runlayer6mo

    35/277 files flagged

Signed by skilld at 4c4d0ff. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 weeks ago.

Activeupdated 3 weeks ago

README badge

README badge for thedivergentai/gd-agentic-skills/godot-master