Skip to main content
GDT
SkillFreeBy GameSkill · tuned

GDScript for Godot 4

/godot-gdscript

Write idiomatic GDScript for Godot 4.7: static typing, the node lifecycle (_ready/_process/_physics_process), @export/@onready/@tool annotations, signals, and await for asynchronous flow.

License
Apache-2.0
By
By GameSkill
Download ZIP

Part of

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.

Tested by GameSkill

30/30 checks passed on Godot 4.7.2 (2026-10-30): trigger, a runnable example, a screenshot and self-check, one job per skill, and English + Chinese docs. Trigger checks match prompts against skill descriptions; they are not a live agent run.

Test report

What this skill does

When it triggers

7: static typing, the node lifecycle (_ready/_process/_physics_process), @export/@onready/@tool annotations, signals, and await for asynchronous flow.x (function signatures, yield to await, export to @export). …

GameSkill's tested copy

GameSkill's tuned build of this skill: the skill files from commit 19d93f97c9c1, plus our runnable example, test report, self-check list and Chinese guide, put through our skill process.

Download tested ZIP (31 KB)Roadmap: Engine basics

License: based on gamedev-skills/awesome-gamedev-agent-skills by gamedev-skills, under Apache-2.0. The ZIP keeps the license files (LICENSE, NOTICE) and lists everything GameSkill added in CHANGES.md.

GDScript for Godot 4

Self-check

  • 能写类型就写类型,用 := 推断 / Type everything you can; use := for inferred types
  • 移动和物理放 _physics_process,别放 _process / Put movement and physics in _physics_process
  • 节点引用用 @onready,别在 _init() 里取 / Get node refs with @onready, not in _init()
  • 整数除法会截断,5/2 得 2,要小数就写 5.0/2 / Integer division truncates; use 5.0 / 2
  • 4.x 用 x.emit() 和 x.connect(_on_x),yield 改成 await / In 4.x use x.emit() and x.connect(_on_x); yield is now await

Install

Tell your AI

Install the skill from https://gameskill.dev/skills/godot-gdscript/install.md

GameSkill's tested copy

Tested copy into .claude/skills/
mkdir -p .claude/skills
curl -fsSL https://gameskill.dev/dl/skills/godot-gdscript.zip -o /tmp/gameskill-godot-gdscript.zip
unzip -oq /tmp/gameskill-godot-gdscript.zip -d .claude/skills
rm /tmp/gameskill-godot-gdscript.zip

What you get

  • Worked steps: A typed script with lifecycle, @export, and @onready; Signals: declare, emit, connect; await — pause until a timer or signal fires; Lambdas, typed arrays, and safe access
  • A pitfalls section with the mistakes to avoid
  • Bundled 1 reference doc the agent reads when needed
  • Written for Godot 4.7

Good fit

  • Editing .gd scripts in a Godot project (project.godot), writing or debugging GDScript
  • Porting 3.x GDScript to 4.x (function signatures, yield to await, export to @export)

Try this prompt

Prompt
Port this Godot 3 script to Godot 4 GDScript with static typing and await.

About this skill

Write idiomatic GDScript for Godot 4.7: static typing, the node lifecycle (_ready/_process/_physics_process), @export/@onready/@tool annotations, signals, and await for asynchronous flow. Use when editing .gd scripts in a Godot project (project.godot), writing or debugging GDScript, or porting 3.x GDScript to 4.x (function signatures, yield to await, export to @export).

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

What's inside

  • A typed script with lifecycle, @export, and @onready
  • Signals: declare, emit, connect (4.x Callable syntax)
  • await — pause until a timer or signal fires (replaces 3.x yield)
  • Lambdas, typed arrays, and safe access

Requirements

  • Godot 4.7

FAQ

MATCHED PRO KIT$8.25/mo

Roguelike Deckbuilder Starter (Godot 4 + Web)

Stop staring at an empty project: a complete white-label playable Roguelike Deckbuilder template in Godot 4 & Web HTML5 — Opening 3-Slot Blessings, Non-Crossing DAG Map, Hand-Arc Combat, 50% Boss Phase Lock, Campfire/Shop Purge, atomic SaveStore, EN/ZH Localization, balanced JSON/CSV tables & 1,000-run HTML balance CLI.

  • Runnable Godot 4.3+ project (project.godot, Main.tscn, GameBus, atomic SaveStore & EN/ZH LocService)
  • Playable zero-build Web HTML5 starter with hand arc, 2f hit-flash, micro shake & checksummed save

Based on gamedev-skills/awesome-gamedev-agent-skills by gamedev-skills (Apache-2.0). The author's LICENSE and NOTICE files ship in the ZIP; ATTRIBUTION.md and CHANGES.md list the source commit and what GameSkill added.

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 44

Similar skills