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.
- 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
npx skills add gamedev-skills/awesome-gamedev-agent-skills --skill godot-gdscriptInstalls 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 | -a | Folder |
|---|---|---|
| Claude Code | claude-code | .claude/skills/ |
| Codex | codex | .agents/skills/ |
| Cursor | cursor | .agents/skills/ |
| Gemini CLI | gemini-cli | .agents/skills/ |
| GitHub Copilot | github-copilot | .agents/skills/ |
| OpenCode | opencode | .agents/skills/ |
| Windsurf | windsurf | .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: 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
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
Works well with
Skills the author points to as related or as the better fit for neighbouring tasks.
Godot Nodes & Scenes
Structure Godot 4.7 projects: reusable scenes, runtime instancing, safe node access and autoload singletons.
Godot Signals & Groups
Decoupled Godot 4.7 gameplay with signals and groups: custom signals, Callable connections and broadcasts with call_group.
Godot Resources
Data-driven Godot 4.7 games with custom Resource classes: typed data, .tres files, duplication and threaded loading.
Godot C#
Write Godot 4.7 games in C#: node classes and lifecycle, [Export] fields, signals as C# events and calls between C# and GDScript.
More from Awesome Gamedev Agent Skills
See all 412D Platformer
Build a 2D platformer: run/jump control with coyote time, jump buffering, and variable jump height, plus tiled levels and hazards.
Behavior Trees & Utility AI
Build a behavior-tree runtime and a Utility AI system with response curves, plus hybrid agents where the behavior tree drives utility scoring.
Bevy ECS
Structure a Bevy app around ECS: plugins, components and resources, systems with Query and Commands, system ordering and Time.
Card Game
Build a card game: card data, deck/hand/discard zones, draw/shuffle/reshuffle, a turn structure, costs, and effect resolution.
Similar skills
Claude Code Game Studios
Turns Claude Code into a full game studio: 49 agents and 72 workflow skills arranged like a real studio hierarchy.
Godogen
Autonomous game development with Claude Code and Codex. Publishes a ready game repo for Godot, Bevy, Babylon.js or three.js.
Godot MCP (Coding-Solo)
MCP server for Godot: launch the editor, run projects, capture debug output and edit scenes.
Godot AI
Production-grade MCP server and editor plugin for Godot 4.7+: 46 tools and 120+ operations for scenes, nodes, scripts, UI and more.