Godot Export
/godot-export
Export Godot 4.7 games for desktop, web and mobile: export presets, headless CLI builds for CI, web COOP/COEP and server builds.
- 许可证
- Apache-2.0
- 出品
- GameSkill 出品
所属合集
Awesome Gamedev Agent Skills
77 portable SKILL.md skills across 12 engines (Godot, Unity, Unreal, Phaser, PixiJS, three.js, Bevy, pygame, LÖVE, Roblox, Defold, Ebitengine), with a router.
我们测过
在 Godot 4.7.2 上通过 30/30 项检查(2026-10-28):能触发、有可运行示例、有截图和自检清单、单一职责、中英文文档齐全。触发检查是把提示词和 skill 描述做匹配,不是真实 agent 运行。
测试报告这个 skill 做什么
什么时候触发
Export and build a Godot 4.7 project for distribution: install export templates, define export presets (Windows/macOS/Linux/Web/Android), run headless command-line exports for CI …
GameSkill 测过的版本
GameSkill 调优版:skill 文件取自提交 184b72be0288,按我们的 skill 流程加上可运行示例、测试报告、自检清单和中文指南。
协议:基于 gamedev-skills/awesome-gamedev-agent-skills(作者 gamedev-skills),协议 Apache-2.0。ZIP 保留协议文件(LICENSE, NOTICE),CHANGES.md 列出了 GameSkill 加的所有文件。

自检清单
- 导出模板版本和编辑器完全一致 / Export templates match the editor version exactly
- 命令行里的预设名和 Project > Export 里一字不差(区分大小写) / The CLI preset name matches Project > Export exactly, case included
- 存档写到 user://,不写 res:// / Saves go to user://, never res://
- .txt 等非资源文件加进了预设的导出过滤 / Non-resource files such as .txt are added to the preset's export filter
- Web 导出没开线程,或者服务器发了 COOP/COEP 头 / The Web export has threads off, or the server sends COOP/COEP headers
中文指南
这个 skill 做什么
把 Godot 4 项目导出成可发布的版本:安装导出模板、配置预设、命令行无头导出(适合 CI)、只导出数据包或补丁、Web/安卓/苹果平台的要求、运行时判断构建类型,以及导出后哪些路径可写。
什么时候用
- 第一次导出 Windows、Linux、Web 版本
- 在 CI 里自动导出
- 导出后黑屏、找不到模板、存档写不进去
怎么装
下载本页的 ZIP,把 godot-export/ 整个文件夹放进 .claude/skills/(Claude Code)或 .agents/skills/(Codex、Cursor),重启 agent。
最小示例
gameskill/examples/ 是一个 Godot 4.7 工程,export_presets.cfg 里有 Linux、Linux Demo(自定义特性 demo)和 Web(不开线程)三个预设;main.gd 打印构建信息并测试 user:// 和 res:// 能不能写。
我们怎么测的
用官方 4.7.2 导出模板真实导出并运行,共 18 项检查:命令行导出 Linux、Web、debug、数据包和补丁都成功;预设名大小写不对会失败;Web 不开线程时用的就是无线程引擎,不需要 COOP/COEP 头;发布版有 template 特性、没有 editor;demo 特性只在 demo 预设里;.txt 只有加了导出过滤才会打进去。实测发现两点和 skill 写法不同:一是 Godot 4 会把 .json 当资源导入,不加过滤也会导出;二是官方模板不支持 --main-pack,单独导出的 .pck 要和可执行文件同名才会加载。另外 res:// 在安装目录只读时写不进去,但 .pck 和可执行文件分开时,写入会落到可执行文件旁边,所以存档一定要用 user://。结果在 gameskill/test-report.json。
搭配
performance-optimization:导出前做性能检查ccgs-launch-checklist:上线前的整体检查表godot-gdscript-headless-testing:在 CI 里跑无头测试
安装
告诉你的 AI
Install the skill from https://gameskill.dev/skills/godot-export/install.md
GameSkill 测过的版本
mkdir -p .claude/skills
curl -fsSL https://gameskill.dev/dl/skills/godot-export.zip -o /tmp/gameskill-godot-export.zip
unzip -oq /tmp/gameskill-godot-export.zip -d .claude/skills
rm /tmp/gameskill-godot-export.zip包含内容
- Worked steps: Headless CLI export; Run a project headless; Detect the build context at runtime; Choose write paths that survive export
- A pitfalls section with the mistakes to avoid
- Bundled 1 reference doc the agent reads when needed
- Written for Godot 4.7
适合
- Exporting a Godot game, configuring export_presets.cfg, building for web/desktop/mobile
- Automating builds from the command line
试试这条提示词
Export my game for Windows, macOS and Web from the command line in CI.关于这个 Skill
Export and build a Godot 4.7 project for distribution: install export templates, define export presets (Windows/macOS/Linux/Web/Android), run headless command-line exports for CI, and handle web (HTML5) COOP/COEP and dedicated-server/headless builds. Use when exporting a Godot game, configuring export_presets.cfg, building for web/desktop/mobile, or automating builds from the command line.
From the godot-export SKILL.md in gamedev-skills/awesome-gamedev-agent-skills.
What's inside
- Headless CLI export (CI-friendly)
- Run a project headless (dedicated server / tests)
- Detect the build context at runtime
- Choose write paths that survive export
环境要求
- Godot 4.7
常见问题
肉鸽构筑白标起步工程(Godot 4 + Web + 平衡表)
告别空工程从零搭架子!开箱即玩的白标肉鸽构筑商业起步模板(Godot 4 完整工程 + Web 可玩版):含开局三槽赐福、无交叉 DAG 地图、扇形出牌、Boss 半血锁血、篝火/商店删牌、32 位校验防坏档 SaveStore、中英切换、30 牌/18 遗物/15 怪平衡表与 1,000 局 HTML 压测工具。
- 完整 Godot 4.3+ 工程(打开即 F5 运行,内置防坏档原子 SaveStore + 中英实时切换 LocService)
- 零构建 Web HTML5 可玩起步版(扇形手牌、2 帧受击闪白、震屏与 Boss 半血锁血全跑通)
基于 gamedev-skills/awesome-gamedev-agent-skills (作者 gamedev-skills,协议 Apache-2.0)。ZIP 里保留原作者的 LICENSE 和 NOTICE,ATTRIBUTION.md 和 CHANGES.md 写明来源提交和 GameSkill 加的内容。
搭配使用
作者标注的相关 Skills,或更适合相邻任务的 Skills。
Awesome Gamedev Agent Skills 中的更多 Skills
查看全部 47 个2D Platformer
Build a 2D platformer: run/jump control with coyote time, jump buffering, and variable jump height, plus tiled levels and hazards.
Behavior Trees & Utility AI
Build a behavior-tree runtime and a Utility AI system with response curves, plus hybrid agents where the behavior tree drives utility scoring.
Bevy ECS
Structure a Bevy app around ECS: plugins, components and resources, systems with Query and Commands, system ordering and Time.
Card Game
Build a card game: card data, deck/hand/discard zones, draw/shuffle/reshuffle, a turn structure, costs, and effect resolution.
相似 skills
Claude Code Game Studios
Turns Claude Code into a full game studio: 49 agents and 72 workflow skills arranged like a real studio hierarchy.
Balance Check (Claude Code Game Studios)
Find balance outliers, broken progressions, degenerate strategies, economy imbalances in formulas and data.
Launch Checklist (Claude Code Game Studios)
Launch readiness across every department: code, content, store, marketing, community, infrastructure, legal, go/no-go sign-offs.
Godot AI
Production-grade MCP server and editor plugin for Godot 4.7+: 46 tools and 120+ operations for scenes, nodes, scripts, UI and more.