This skill turns a Godot 4.7 project into builds from export presets on the command line and then proves the build runs. It starts from export_presets.cfg and the installed template version, since templates must match the editor version exactly, and gives the export commands for release, debug, pack and patch files.
It covers per-platform needs for Web, Android and macOS, runtime feature tags, and write paths that survive export. A smoke test packs the project and runs it from the pack headless, which catches files that the preset filters left out. The gotchas explain COOP and COEP headers, missing non-resource files and secrets in version control.
What You Get
- A workflow from reading presets and installing templates to exporting and smoke-running the build
- Command-line patterns for release, debug, pack and patch exports across platforms
- A runtime feature-tag pattern and a user:// save path pattern that survive export
- A gotcha list for missing templates, invalid preset names, unwritable folders, missing files and web header errors
Common Use Cases
- Automating Windows, Linux and Web builds in a CI job
- Fixing the No export template found error
- Debugging a web build that is blank or reports a SharedArrayBuffer error
- Finding why a JSON or text file exists in the editor but not in the build
What Makes It Unique
The skill includes a template-free smoke test: export a pack, then run the pack headless and scan the log. That test loads only packed files, so it catches filter mistakes and res:// writes without needing export templates. It also places secrets correctly, in the export credentials file that stays out of version control.
Under The Hood
The agent loads the SKILL.md and, when needed, a reference on the preset file layout, command-line flags, feature tags and per-platform setup. It then runs commands in your project: it creates build folders, runs the Godot binary headless to export releases, debug builds, packs and patches, and runs the packed game or a Linux build with the log redirected to a file and searched with grep. It reads project files and writes build output. Installing export templates means unpacking an archive into Godot’s data folder. The skill itself makes no network calls, and it warns that keystore passwords belong outside version control.