godot-core
Skill54 starsChanged 14 days agoMITView on GitHub
Start here for any Godot 4.7 task (GDScript or C#/.NET). Exact API lookup from the installed engine, headless run/import/smoke tests, safe scene editing, project inspection, 4.5-4.7 changes and Godot 3 traps, and routing to the specialized godot-* skills. Use for any Godot, .gd, .cs, .tscn or project.godot request.
In this repository28 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- godot-2dSkill
- godot-3d-gameplaySkill
- godot-3d-renderingSkill
- godot-addonsSkill
- godot-animationSkill
- godot-architectureSkill
- godot-audioSkill
- godot-csharpSkill
- godot-editor-toolingSkill
- godot-export-ciSkill
- godot-game-feelSkill
- godot-gdscriptSkill
- godot-inputSkill
- godot-migrationSkill
- godot-mobile-webSkill
- godot-modding-dlcSkill
- godot-narrativeSkill
- godot-navigation-aiSkill
- godot-networkingSkill
- godot-performanceSkill
- godot-physicsSkill
- godot-proceduralSkill
- godot-shaders-vfxSkill
- godot-testing-debugSkill
- godot-uiSkill
- godot-xrSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
All scripts print one compact JSON object.
- Very specific: line 20
Don't hand-write
.tscn/.tresstructure: Use scripts/scene_edit.py, which builds scenes through Godot itself. - Very specific: line 21
Verify before you say it's done: run gd_check.py and/or cs_build.py, then run_godot.py smoke, then test_run.py (see the loop below).
- Distinctive: line 22
Read references/godot3-traps.md before writing code from memory.
- Very specific: line 80
Run project_inspect.py and respect what it finds:
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Godot Core (4.7)
Script paths below are relative to this skill's folder. Sibling skills sit next to it (../godot-csharp/...).
All scripts print one compact JSON object. Run them; you don't need to read them. Set GODOT_EXE if the engine isn't found.
Non-negotiables
- Never guess an API. Your training data mixes Godot 3, early 4.x and 4.7. Check names, signatures, defaults and the matching C# name before you use them:
python scripts/api_lookup.py Class.member, orClass/--search word/@export_range/ProjectSettings.physics/3d/physics_engine. It reads the engine you have installed, so the answer is always correct for that version. - Don't hand-write
.tscn/.tresstructure. Usescripts/scene_edit.py, which builds scenes through Godot itself. It never saves a half-applied edit. Changing a single property value in a text file is fine. - Verify before you say it's done: run
gd_check.pyand/orcs_build.py, thenrun_godot.py smoke, thentest_run.py(see the loop below). - Read references/godot3-traps.md before writing code from memory. Read references/whats-new.md whenever a feature might be new (4.5–4.7).
Route to the specialized skill
| Task | Skill |
| GDScript language, typing, signals, await, style | godot-gdscript |
| C#/.NET: csproj, partial classes, [Export]/[Signal], interop, marshaling | godot-csharp |
| Project structure, scenes vs scripts, autoloads, Resources, state machines, saves | godot-architecture |
| 2D: TileMapLayer, Parallax2D, Camera2D, 2D lights | godot-2d |
| 3D rendering: renderers, lights (AreaLight3D), GI, materials, HDR, import | godot-3d-rendering |
| Physics: Jolt, CharacterBody, raycasts, layers, ragdolls | godot-physics |
| UI: Controls, containers, themes, responsive layout, accessibility | godot-ui |
| Input: actions, rebinding, gamepads, gyro, touch, VirtualJoystick | godot-input |
| Animation: AnimationPlayer/Tree, Tween, IK, skeleton modifiers | godot-animation |
| Shaders, VFX, particles, compositor, stencil | godot-shaders-vfx |
| Audio: buses, interactive music, 3D audio | godot-audio |
| Multiplayer, RPC, replication, HTTP, sockets | godot-networking |
| Profiling, optimization, threading, servers | godot-performance |
| Export presets, templates, CLI/CI builds, platforms | godot-export-ci |
@tool, EditorPlugin, docks, import/export plugins, GDExtension | godot-editor-tooling |
| Unit tests (GdUnit4, gdUnit4Net), debugging, logging | godot-testing-debug |
| VR/AR, OpenXR | godot-xr |
| Pathfinding, navmesh, enemy AI, behavior trees | godot-navigation-ai |
| 3D controllers, third-person cameras, GridMap/CSG levels | godot-3d-gameplay |
| Procedural levels, noise, dungeons, runtime meshes | godot-procedural |
| Upgrading from Godot 3 / older 4.x, porting from Unity | godot-migration |
| Phones, tablets, browsers: safe area, lifecycle, Web hosting | godot-mobile-web |
| Dialogue, quests, story flags, cutscenes | godot-narrative |
| Mods, DLC, PCK packs, patches | godot-modding-dlc |
| Screen shake, hit-stop, juice, trailers | godot-game-feel |
| Third-party addons and plugins | godot-addons |
Tools
| Need | Command |
| Engine path, version, .NET or not | python scripts/run_godot.py version |
| Project summary: renderer, physics, autoloads, input map, C# setup | python scripts/project_inspect.py [DIR] |
Scene tree of a .tscn without opening Godot | python scripts/project_inspect.py --scene res://x.tscn [--props] |
| One project setting / list files | project_inspect.py --setting display/window/stretch/mode, --files --ext gd,cs |
Import assets, build the class_name cache | python scripts/run_godot.py import |
| Run the game headless for N frames and collect errors | python scripts/run_godot.py smoke [res://scene.tscn] --frames 120 |
Run an extends SceneTree / MainLoop script | python scripts/run_godot.py script tool.gd -- args |
| Create or edit scenes | python scripts/scene_edit.py spec.json (spec format: --help) |
Verification loop
- GDScript:
python ../godot-gdscript/scripts/gd_check.pyruns the real parser and analyzer on every.gdfile. - C#:
python ../godot-csharp/scripts/cs_build.pyreturnsdotnet builderrors asfile:line CSxxxx. Build before smoke tests, because the engine loads the compiled assembly. run_godot.py smokeruns the main scene headless. Anyerrorsentry means a runtime problem, such as a null node path or a bad cast.python ../godot-testing-debug/scripts/test_run.pyruns the unit tests when the project has any. For GPU-dependent visuals, ask the user to check the running game. Headless mode doesn't render.
Working with a user's open editor
- The editor reloads files changed on disk. It asks before reloading a scene with unsaved edits, so tell the user to save before you edit a scene that's open.
- The
.godot/folder is a cache. Never edit or commit it. Commit*.uidfiles (4.4+), because they keep references stable when files are renamed. - Refer to resources by
uid://orres://paths. Never use OS paths inside a project. - Is a Godot MCP server connected? Use it for live editor state such as the open scene, selection or a running-game screenshot. These scripts are for files, the CLI and verification.
Project facts to check first
Run project_inspect.py and respect what it finds:
- the renderer (
forward_plus,mobileorgl_compatibility), which decides what you may use (seegodot-3d-rendering) - the 3D physics engine (new 4.6+ projects use Jolt)
- the stretch mode (new 4.7 projects use
canvas_items+expand) - whether the project has C#, from
csharpin the output: mixed GDScript + C# projects are valid - existing autoloads, input actions and folder layout, which you reuse instead of duplicating
References
- references/godot3-traps.md: stale Godot 3 / early-4 APIs and their 4.7 replacements
- references/whats-new.md: 4.5, 4.6 and 4.7 features and breaking changes, from a diff of the real API
- references/cli.md: Godot command-line flags (from 4.7.2
--help)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

