New advertisers: 50% off your first month with code FIRSTMONTHSee slots
jwynia avatar

Godot Best Practices

Godot 4.x GDScript standards covering scene organization, signals, resources, state machines, and performance patterns.

skills.sh installs
2.1K
GitHub stars
191
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers naming conventions, static type hints, node reference patterns, and signal-driven architecture for Godot 4.x projects
  • Includes resource loading guidance (preload() versus load(), threaded loading), a quick-reference table of preferred and avoided patterns, and script section ordering
  • Enforces typed signals, explicit type hints, and await over deprecated yield, while steering against get_node() in _ready()
  • Designed for GDScript-only Godot 4.x projects, not C#, Godot 3.x, GDExtension, or visual scripting

Install

$ npx -y skills add jwynia/agent-skills --skill godot-best-practices -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Godot 4.x GDScript Best Practices

Guide AI agents in writing high-quality GDScript code for Godot 4.x. This skill provides coding standards, architecture patterns, and templates for game development.

When to Use This Skill

Use this skill when:

  • Generating new GDScript code
  • Creating or organizing Godot scenes
  • Designing game architecture and node hierarchies
  • Implementing state machines, object pools, or save systems
  • Answering questions about GDScript patterns or Godot conventions
  • Reviewing GDScript code for quality issues

Do NOT use this skill when:

  • Working with C# in Godot (use C# patterns)
  • Working with Godot 3.x (syntax differs significantly)
  • Using GDExtension/C++ (different paradigm)
  • Working with Godot's visual scripting

Core Principles

1. Naming Conventions

Follow GDScript naming standards consistently:

# Classes: PascalCase
class_name PlayerController
extends CharacterBody2D

# Signals: past_tense_snake_case (describe what happened)
signal health_changed(new_health: int)
signal player_died
signal item_collected(item: Item)

# Constants: SCREAMING_SNAKE_CASE
const MAX_SPEED: float = 200.0
const JUMP_FORCE: int = -400

Details

Repository
github.com/jwynia/agent-skills
Category
Game Development

More from jwynia/agent-skills

All 118

Similar to Godot Best Practices

More Game Development