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.

referencesdebugging-profiling-debug-workflows.md

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

Debug & Profiler Workflows (load on demand)

Official docs cover print/breakpoint basics. Load this when you need workflow depth beyond the symptom → script table in SKILL.md.

Print debugging contract

print("Player health:", health)  # labeled context
push_warning("Deprecated API path")
push_error("Recoverable fault")
assert(health > 0, "Health cannot be negative!")  # debug only

Wrap dev prints: if OS.is_debug_build():

Breakpoints

Editor gutter or breakpoint keyword in suspicious functions. Conditional: if player.health <= 0: breakpoint

Remote debug

Run game (F5) → Debug → Remote Debug → inspect live SceneTree.

Common patterns

Null-safe nodes

var node := get_node_or_null("MaybeExists")
if node:
	node.do_thing()

Track property changes

var _health: int = 100
var health: int:
	get: return _health
	set(value):
		print("Health changed: %d → %d" % [_health, value])
		print_stack()
		_health = value

Profiler usage

  • Time profiler: target < 16.67 ms/frame at 60 FPS
  • Monitor tab: FPS, memory, draw calls, OBJECT_ORPHAN_NODE_COUNT (debug only)
  • Profile release exports with V-Sync off

Expert workflows (scripts)

Workflow Script
Headless CI exit codes automated_qa_suite.gd
Microbenchmarks high_precision_benchmarker.gd
GPU draw-call overlay RenderingServer RENDERING_INFO_* — see baseline expert § Visual Profiler Extensions
Thread safety enforcement Thread.set_thread_safety_checks_enabled(true) + thread_safety_assert.gd
Orphan growth orphan_node_detector.gd
ObjectDB snapshots Godot ObjectDB profiler docs + memory_usage_threshold_alert.gd

File I/O error handling template

func load_save() -> Dictionary:
	if not FileAccess.file_exists(SAVE_PATH):
		push_warning("No save file found")
		return {}
	var file := FileAccess.open(SAVE_PATH, FileAccess.READ)
	if file == null:
		push_error("Failed to open save: %s" % FileAccess.get_open_error())
		return {}
	var json := JSON.new()
	if json.parse(file.get_as_text()) != OK:
		push_error("JSON parse error: %s" % json.get_error_message())
		return {}
	return json.data

Debug flags pattern

const DEBUG := true
func debug_log(message: String) -> void:
	if DEBUG:
		print("[DEBUG] ", message)

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