godot-core

Guides GDScript coding, scene creation, and node management for Godot 4.x projects.

Updated May 22, 2026
One-click install
npx skills add https://github.com/viniciuscs84/sdd-toolkit --skill godot-core-viniciuscs84
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: godot-core
Source: https://github.com/viniciuscs84/sdd-toolkit/tree/main/skills/godot-core
Command: npx skills add https://github.com/viniciuscs84/sdd-toolkit --skill godot-core-viniciuscs84

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Writing Godot 4 code without established conventions leads to slow untyped GDScript, shared-Resource bugs, broken signal connections, and scenes that are hard to maintain. This Skill provides a consistent set of patterns, pitfalls, and MCP tool workflows for day-to-day Godot development. ## Core Features & Use Cases - Standardized Script Structure: Enforces a fixed layout for GDScript files covering class_name, signals, exports, @onready caching, and static typing for compiler optimization. - Godot MCP Tool Integration: Lists concrete MCP tools for launching the editor, running projects, creating scenes, adding nodes, and reading debug output so the AI acts directly instead of explaining steps. - Pitfall Prevention: Documents the top Godot 4 mistakes, including shared Resource instances without duplicate(), Godot 3 signal syntax that silently fails, and node lookups inside _process. - Use Case: Ask the AI to create a 2D player character; it creates a CharacterBody2D scene via MCP tools, adds Sprite2D and CollisionShape2D nodes, and attaches a fully typed movement script following the standard layout. ## Quick Start Use the godot-core skill to create a 2D player character scene with a typed movement script in my Godot project.

Frequently Asked Questions about godot-core

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a 2D character in Godot 4 with GDScript?

Create a scene with a CharacterBody2D root, add Sprite2D and CollisionShape2D child nodes, then attach a typed script implementing movement in _physics_process. Set the velocity property before calling move_and_slide(), which takes no arguments in Godot 4.

How do I connect signals in Godot 4 GDScript?

Use the callable syntax signal_name.connect(method_reference), for example health_changed.connect(_on_health_changed). The Godot 3 style connect("name", target, "method") compiles silently in Godot 4 but does nothing at runtime.

Why do my Godot Resource changes affect all scene instances?

Multiple scene instances share the same Resource object by default. Call duplicate() on the exported Resource in _ready(), or enable Local to Scene in the Inspector, to give each instance its own copy.

Does static typing matter for GDScript performance?

Yes, the GDScript compiler only optimizes typed code paths, so untyped variables run significantly slower. Declare types explicitly like var speed: float = 300.0 or use := for inferred typing.

Why should I avoid get_node calls inside _process in Godot?

Node lookups with $ or get_node() traverse the scene tree every frame, wasting CPU in hot paths. Cache all node references once in @onready variables and reuse them in _process or _physics_process.