All skills
thedivergentai avatar

/godot-export-builds

@9d6e91e

Expert patterns for multi-platform exports including export templates (Windows/Linux/macOS/Android/iOS/Web), command-line exports (headless mode), platform-specific settings (codesign, notarization, Android SDK), feature flags (OS.has_feature), CI/CD pipelines (GitHub Actions), and build optimization (size reduction, debug stripping). Use for release preparation or automated deployment. Trigger keywords: export_preset, export_template, headless_export, platform_specific, feature_flag, CI_CD, build_optimization, codesign, Android_SDK.

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

This session only. Nothing lands on disk.

referencesexport-setup-guide.md

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

Export Setup Guide (load on demand)

Editor Export UI walkthrough lives in Official Documentation. Load this for preset INI examples, CLI flags, and platform checklists — automation scripts are in scripts/.

Install templates

Editor → Manage Export Templates → Download (match project Godot version, e.g. 4.7).

export_presets.cfg sketch

[preset.0]
name="Windows Desktop"
platform="Windows Desktop"
runnable=true
export_path="builds/windows/game.exe"

[preset.0.options]
binary_format/64_bits=true
application/icon="res://icon.ico"

Command-line export

godot --headless --export-release "Windows Desktop" builds/game.exe
godot --headless --export-debug "Windows Desktop" builds/game_debug.exe
godot --headless --export-pack "Windows Desktop" builds/game.pck

CI: export_ci_github_actions.yml — pin 4.7, not legacy 4.2 images.

Platform checklists

Android

iOS / macOS

Web

  • Thread support / SharedArrayBuffer requirements
  • VRAM compression (ETC2/ASTC)

Feature flags at runtime

if OS.has_feature("web"):
	pass
if OS.has_feature("mobile"):
	pass
if OS.has_feature("release"):
	# strip debug consoles
	pass

Manager: export_feature_flag_manager.gd

Build size optimization

Version string sync

export_version_sync.gd, version_manager.gd — sync git tag → application/config/version.

PCK patching

func _load_patch(patch_path: String) -> bool:
	if FileAccess.file_exists(patch_path):
		return ProjectSettings.load_resource_pack(patch_path, true)
	return false

Full loader: export_pck_patch_loader.gd

VRAM compression audit

Platform Format
Desktop Forward+ S3TC / BPTC
Mobile ETC2 / ASTC
Pixel art compression off

SteamPipe

export_steam_upload.ps1 + app_build.vdf — credentials via env vars only.

Universal export loop

export_universal_manager.gd — iterate export_presets.cfg presets headlessly.

Source: SKILL.md on GitHub

1 alert16d4 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    The skill provides standard boilerplate scripts, templates, and configurations for automating Godot Engine multi-platform build exports and deployment pipelines. No security risks or malicious behaviors were detected.

  • Socket16d

    1 alert: gptAnomaly

  • Snyk16d

    Risk: MEDIUM · 1 issue

  • Runlayer7mo

    3/3 files flagged

Signed by skilld at 9d6e91e. 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 2 months ago

README badge

README badge for thedivergentai/gd-agentic-skills/godot-export-builds