godot4-api-guard

Installation
SKILL.md

Godot 4 API Guard

Godot 4 renamed or removed a large share of the Godot 3 API. Most GDScript in the world — tutorials, forum answers, training data — is Godot 3. When generating code from memory, the old names come out fluently and confidently, and the failure looks like a typo rather than a version mismatch.

Treat every one of the following as a red flag requiring a check, not a guess.

Instant tells that code is Godot 3

If you see any of these, the snippet is Godot 3 and needs translating before use:

  • yield( anywhere
  • export var or onready var without a leading @
  • .instance() on a PackedScene
  • connect("name", self, "_method") — the three-argument string form
  • Pool*Array types
  • KinematicBody2D, Spatial, Sprite (unsuffixed), Reference
  • File.new() or Directory.new()

Core translations

Installs
39
First Seen
Aug 30, 2026