Skills for Real Engineers. Straight from my .agents directory.
godot-gdscript-headless-testing
Agent skill fromgamedev-skills/awesome-gamedev-agent-skills
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.
How to install godot-gdscript-headless-testing
npx skills add gamedev-skills/awesome-gamedev-agent-skills# or add only this skill to Claude Code: copy the folder
skills/godot/godot-gdscript-headless-testing/
# into
~/.claude/skills/godot-gdscript-headless-testing/ (all projects)
.claude/skills/godot-gdscript-headless-testing/ (one project)
1# Godot GDScript headless testing (4.x)23Run GDScript tests from the command line, without the editor GUI, and get a real4process exit code CI can act on. Targets **Godot 4.7** headless CLI.56## When to use78- Use when a Godot project has no testing addon installed and needs a fast way to9 verify GDScript logic (pure functions, resource loading, autoload state) from a10 terminal or CI pipeline.11- Use when wiring a CI job that must fail the build when a `.gd` test fails.12- Use when debugging why a `godot --headless` invocation hangs, opens a window, or13 exits 0 despite failing assertions.1415**When *not* to use:** GDScript syntax or language features themselves →16`godot-gdscript`; export/build pipeline and platform templates → `godot-export`17(its own `--headless` use case, producing a binary, not running tests).1819## Workflow20211. **Confirm the binary resolves headless.** Godot 4.x ships `--headless` built in22 (no export template needed); run `godot --headless --version` and confirm it23 prints a version string, not a GUI window.242. **On a fresh checkout, import before running tests.** `.godot/` is normally not25 committed, so a clean checkout has no import cache: `class_name` types fail to26 resolve (`Identifier "X" not declared in the current scope`) and imported27 assets fail to load (`No loader found for resource: res://...`). Run28 `godot --headless --path <project_dir> --import` once first, in CI and locally.29…
Excerpt shown under the repository's Apache-2.0 license.
More skills in awesome-gamedev-agent-skills
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
