Skip to main content
GDT
SkillFree

Godot Headless Testing

/godot-gdscript-headless-testing

Run GDScript test suites from the command line with `godot --headless`, using a SceneTree/MainLoop runner script that exits non-zero on failure so CI can gate merges.

GitHub stars
2,085
(repository stars as of 2026-10-21)
License
Apache-2.0
Last commit
2026/10/09
By
gamedev-skills

Part of

Awesome Gamedev Agent Skills

74 portable SKILL.md skills for Godot, Unity, Unreal, Phaser, PixiJS, three.js, Bevy, pygame, LÖVE and Roblox, with a router.

Listed from the author's README. GameSkill has not run this end to end yet. Agent support and install steps are as documented by the author.

Install

Any agent (skills CLI)
npx skills add gamedev-skills/awesome-gamedev-agent-skills --skill godot-gdscript-headless-testing

Installs only this skill. Add -a claude-code (puts it in .claude/skills/), -a codex or -a cursor (.agents/skills/) to choose the agent, and -g to install it for your user instead of the project.

Commands are copied from the project's README. Check the repository before running anything on your machine.

Install for a specific agent
Agents-aFolder
Claude Codeclaude-code.claude/skills/
Codexcodex.agents/skills/
Cursorcursor.agents/skills/
Gemini CLIgemini-cli.agents/skills/
GitHub Copilotgithub-copilot.agents/skills/
OpenCodeopencode.agents/skills/
Windsurfwindsurf.windsurf/skills/

Add -a <flag> to the command. These are project folders; add -g to install for your user account instead.

What you get

  • Worked steps: Minimal SceneTree test runner with a real exit code; Testing something that needs a frame, a timer, or a signal; CI step (GitHub Actions) that gates on the exit code
  • A pitfalls section with the mistakes to avoid

Good fit

  • When a Godot project needs unit tests without opening the editor, when wiring a CI job (GitHub Actions or similar) that must fail the build on a failing `.gd` test
  • When a `godot --headless` invocation hangs, opens a window, or exits 0 despite failed assertions

Try this prompt

Prompt
Run my GDScript tests headless in GitHub Actions and fail the build when one fails.

About this skill

Run GDScript test suites from the command line with godot --headless, using a SceneTree/MainLoop runner script that exits non-zero on failure so CI can gate merges. Use when a Godot project needs unit tests without opening the editor, when wiring a CI job (GitHub Actions or similar) that must fail the build on a failing .gd test, or when a godot --headless invocation hangs, opens a window, or exits 0 despite failed assertions.

From the godot-gdscript-headless-testing SKILL.md in gamedev-skills/awesome-gamedev-agent-skills.

What's inside

  • Minimal SceneTree test runner with a real exit code
  • Testing something that needs a frame, a timer, or a signal
  • CI step (GitHub Actions) that gates on the exit code

FAQ

Works well with

Skills the author points to as related or as the better fit for neighbouring tasks.

More from Awesome Gamedev Agent Skills

See all 43

Similar skills