Guide AI agents through Godot 4.x GDScript coding best practices including scene organization, signals, resources, state machines, and performance optimization. This skill should be used when generating GDScript code, creating Godot scenes, designing game architecture, implementing state machines, object pooling, save/load systems, or when the user asks about Godot patterns, node structure, or GDScript standards. Keywords: godot, gdscript, game development, signals, resources, scenes, nodes, sta
The Godot Best Practices skill guides AI agents through professional GDScript development standards for Godot 4.x game projects. It addresses the common challenge of maintaining clean, scalable, and performant game code by providing comprehensive coding conventions, architectural patterns, and battle-tested templates. The skill ensures consistency across game projects and helps developers avoid common pitfalls in game architecture.
This skill covers essential areas including naming conventions with proper snake_case and PascalCase usage, static typing with explicit type hints for better autocomplete and error detection, modern node reference patterns using @onready and unique names, and signal-driven architecture for decoupled communication. It provides guidance on scene organization, state machine implementation, resource management, object pooling, and save/load system design. The skill emphasizes Godot 4.x-specific features and best practices that leverage the engine's capabilities effectively.
Target users include game developers working with Godot 4.x and GDScript, AI coding assistants generating game code, teams establishing coding standards for collaborative game projects, and developers transitioning from Godot 3.x to 4.x. The skill is particularly valuable when implementing complex game systems like state machines, designing node hierarchies, optimizing performance-critical game loops, or reviewing code for maintainability and best practices compliance.
This skill is specifically designed for Godot 4.x only. It uses Godot 4.x-specific syntax and features that differ significantly from Godot 3.x. Do not use this skill for Godot 3.x projects.
No, this skill is exclusively for GDScript development. If you're using C# in Godot, you should follow C# naming conventions and patterns instead. This skill does not cover GDExtension or visual scripting either.
Use this skill when generating new GDScript code, creating or organizing scenes, designing game architecture and node hierarchies, implementing state machines or object pools, building save/load systems, or reviewing existing GDScript code for quality and best practices compliance.
The skill covers naming conventions, static typing with type hints, node reference patterns using @onready, signal-driven architecture, scene organization, state machine implementation, resource management, object pooling, performance optimization, and save/load system design.
Yes, the skill includes best practices for performance optimization including object pooling patterns, efficient node references, and guidance on designing performant game architecture suitable for real-time game development.
Quick Setup:
.claude/skills/Repository
jwynia/agent-skills