Godot C# Scripting
Writes C# game code for Godot 4 that builds and runs, including signals, exports and calling GDScript.
Claude's review
8/10 Accurate Godot C# rules on partial classes, signals, cross-language calls and export limits with build checks.
We asked Claude the question you would ask: would I be glad I installed this? Two separate reviews, the second blind to the first, must both rate a skill 7 or higher before we sell it.
In detail
C# and .NET in Godot 4.7: partial node classes, the PascalCase lifecycle, [Export] and [Signal], signals as C# events, the .csproj and calling GDScript. Use for .cs scripts in Godot, porting GDScript to C#, a failed build, or a failed web or Android export. Not for GDScript (`godot-gdscript`), Unity C# (`unity-csharp-scripting`) or export presets (`godot-export`).
How you use it
- Add it to your pack, then download your pack (1 credit).
- In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
- Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide
Safety check
Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: godot-csharp
description: >
C# and .NET in Godot 4.7: partial node classes, the PascalCase lifecycle, [Export] and [Signal],
signals as C# events, the .csproj and calling GDScript. Use for .cs scripts in Godot, porting
GDScript to C#, a failed build, or a failed web or Android export. Not for GDScript
(`godot-gdscript`), Unity C# (`unity-csharp-scripting`) or export presets (`godot-export`).
---
# Godot C# / .NET (4.x)
Write Godot game code in C# that the source generators accept, build it from the command
line, and check it runs. Targets **Godot 4.7 .NET**, which needs a **.NET 8 or later** SDK
(9 or later for Android). .NET 8 and 9 are out of support since 2026-11-10, so install the
**.NET 10 (LTS)** SDK. Read the `.csproj` first: its `Sdk="Godot.NET.Sdk/x.y.z"` is the
engine version.
## Workflow
1. **Confirm the toolchain.** The project needs the Godot **.NET** editor build (the
standard build cannot load C#) and a .NET SDK: `dotnet --list-sdks` should show 8.0 or
later, and 9.0 or later if the project exports to Android. If you install one, use a
supported SDK (10.0 LTS), not 8.0 or 9.0.
2. **Every script is a `public partial class`** whose name matches its `.cs` file name and
that extends a Godot type. The generators that wire `[Export]`, `[Signal]` and method
bindings only work on `partial` classes.
3. **Override lifecycle methods in PascalCase** with `double` delta: `_Ready()`,
`_Process(double delta)`, `_PhysicsProcess(double delta)`.
4. **Signals:** a `[Signal]` delegate named `XxxEventHandler` becomes the `Xxx` signal, an
`Xxx` C# event and `SignalName.Xxx`. Emit with `EmitSignal(SignalName.Xxx, ...)`.
5. **Verify before you finish:**
- Build: `dotnet build <project>.csproj` from the project folder must exit 0 with no
errors. Godot's runtime does not compile C#, so a headless run uses whatever was built
last. (`godot --headless --build-solutions --quit` also builds, through the editor.)
- Smoke run with the .NET editor binary: `godot --headless --path <project> --quit-after 300 > run.log 2>&1`,
then `grep -nE "SCRIPT ERROR|^ERROR:" run.log`. An unhandled exception in a callback is
logged as an `ERROR:` with its stack trace and the game keeps running, so the exit code
stays 0.
- If `godot-nodes-scenes` is installed, `python3 ../godot-nodes-scenes/scripts/check_godot_project.py <project>`
catches broken script and scene paths in `.tscn` files.
...From gamedev-skills's repository, Apache-2.0 licence.
Related skills
-
Checked
Game Audio Mixing
Sets up game audio buses, volume sliders, music ducking and adaptive music for Godot, Unity or FMOD.
8/101 credit -
Checked
Game camera tuning
Builds and tunes follow, orbit and first person game cameras in Godot or Cinemachine so they stop jittering.
8/101 credit -
Checked
Game Enemy AI
Designs enemy AI with perception, pathfinding and steering so enemies chase fairly and never get stuck.
8/101 credit -
Checked
Game Loop and Timing
Makes movement, timers and physics behave the same at any frame rate in Unity, Godot, Bevy and web games.
7/101 credit -
Checked
Godot Game Testing
Writes and runs Godot tests with gdUnit4 or GUT, including scene tests and headless runs that report real results.
7/101 credit -
Checked
Game Security Review
Reviews Unity, Godot and Unreal code for cheats that hurt other players, purchase exploits and unsafe save files.
7/101 credit