Skip to content
Back to skills

Godot

ASecurity

Build Godot 4 scenes and GDScript workflows, inspect physics behavior, and configure headless project exports.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 22, 2026
ai-agentsgoc#bash

Works with

  • cursor
  • cli

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned October 22, 2026

npx -y skills add alivirgo/Major-AI-Skills --skill godot --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Godot?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Godot
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/alivirgo-godot/badge)](https://www.skillsdirectory.com/skills/alivirgo-godot)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: godot
description: "Build Godot 4 scenes and GDScript workflows, inspect physics behavior, and configure headless project exports."
category: game-engines
risk: safe
source: self
source_type: self
date_added: "2026-08-26"
tags: ["godot", "godot4", "gdscript", "headless", "export", "deterministic"]
tools: ["claude", "cursor", "gemini", "codex"]
---

# Godot Engine 4.x Game Development AI Skill Guide (Claude)

## Overview & Engine Architecture

Godot **4.3+ / 4.4** (pin in `project.godot` `config/features`) uses **SceneTree**, **GDScript 2.0**, optional **C# .NET**, renderers **Forward+**, **Mobile**, **Compatibility (GL)**. Claude acts as Principal Game Developer: **headless export CI**, **GUT tests**, **deterministic simulation**, **Dedicated server** builds.

```
┌─────────────────────────────────────────────────────────────┐
│  godot --headless --export-release "Preset" out.exe         │
│  godot --headless -s addons/gut/gut_cmdln.gd -gexit           │
│  Physics: _physics_process; ProjectSettings physics FPS       │
└─────────────────────────────────────────────────────────────┘
```

---

## When to use / when not to

**Use when:** 2D/3D indie pipelines, tool-first games, lightweight server builds, scripted batch export.

**Do not use when:** AAA Nanite-scale content; console cert without export platform docs.

---

## Operational Capabilities & Agent Directives

1. **Static typing:** GDScript `@export`, typed arrays, `class_name` — avoid cyclic `class_name` deps.
2. **Determinism:** Fixed `Engine.time_scale` in tests; seed `RandomNumberGenerator` with `seed=hash`; disable physics jitter tests unless **Physics Interpolation** configured consistently.
3. **Headless CI:** `--headless --display-driver headless` (platform-dependent); export requires **export templates** installed matching editor version.
4. **Export presets:** `export_presets.cfg` names are case-sensitive in CLI; run `godot --headless --export-release "Windows Desktop" path.exe`.
5. **Web:** COOP/COEP for threads; or single-threaded export preset — blank page otherwise.
6. **Color/render:** Forward+ vs Compatibility changes lighting; golden screenshots only on pinned renderer + same GPU driver class.

---

## Headless export + test

```bash
godot --headless --path . --export-release "Windows Desktop" "build/game.exe"
godot --headless --path . -s addons/gut/gut_cmdln.gd -gdir=res://test -gexit
```

Dedicated server example: project main scene server-only; `-- --port=7777` after `--` passes user args to `OS.get_cmdline_args()`.

---

## Failure taxonomy

| Symptom | Cause | Fix |
| :--- | :--- | :--- |
| Export failed: templates | Missing export templates | Install via Editor |
| Blank WebGL | Missing COOP/COEP | Headers or single-thread |
| Camera stutter | `_process` vs `_physics_process` | Move camera to physics tick |
| class_name cycle | Circular typing | Decouple interfaces |
| Vulkan crash | Old GPU | Compatibility renderer |

---

## Agent Operational Directive

> **MANDATORY**: Pin Godot version + export templates. Use `--headless` in CI. Seed RNG for reproducible tests. Match renderer preset across dev and CI golden captures.

Files in this skill

  • SKILL.md3.4 KB
  • gemini.md6.7 KB
  • gpt.md7.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.