Skip to content
Back to skills

Godot Csharp

ASecurity

Godot C# programming skill for .NET integration, scripting patterns, and performance optimization.

  • 1,760 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 2, 2026
ai-agentsgoc#bashnodeperformancedocumentation

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 2, 2026

npx -y skills add a5c-ai/babysitter --skill godot-csharp --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Godot Csharp?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Godot Csharp
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/a5c-ai-godot-csharp-babysitter/badge)](https://www.skillsdirectory.com/skills/a5c-ai-godot-csharp-babysitter)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: godot-csharp
description: Godot C# programming skill for .NET integration, scripting patterns, and performance optimization.
allowed-tools: Read, Grep, Write, Bash, Edit, Glob, WebFetch
graph:
  domains: [domain:gaming]
  specializations: [specialization:game-development]
  skillAreas: [skill-area:game-engines, skill-area:gameplay-programming]
  roles: [role:game-developer]
---

# Godot C# Skill

C# programming for Godot Engine development.

## Overview

This skill provides capabilities for implementing game logic using C# in Godot, leveraging .NET integration.

## Capabilities

### C# Integration
- Node class inheritance
- Attribute-based exports
- Signal definitions
- Callable system

### .NET Features
- NuGet packages
- Async/await patterns
- LINQ queries
- .NET libraries

### Interoperability
- Call GDScript from C#
- Expose to GDScript
- Handle Variant types
- Manage signals

### Performance
- Struct usage
- Memory management
- Object pooling
- Span usage

## Prerequisites

- Godot 4.0+ with .NET support
- .NET SDK installed
- C# IDE (VS Code, Rider)

## Usage Patterns

### Node Script

```csharp
using Godot;

public partial class Player : CharacterBody2D
{
    [Export]
    public float Speed { get; set; } = 200f;

    [Signal]
    public delegate void HealthChangedEventHandler(int newHealth);

    private int _health = 100;

    public override void _Ready()
    {
        // Initialize
    }

    public override void _PhysicsProcess(double delta)
    {
        var velocity = Vector2.Zero;
        velocity.X = Input.GetAxis("move_left", "move_right");
        velocity.Y = Input.GetAxis("move_up", "move_down");
        Velocity = velocity.Normalized() * Speed;
        MoveAndSlide();
    }
}
```

### Signal Connection

```csharp
button.Pressed += OnButtonPressed;
// or
button.Connect("pressed", Callable.From(OnButtonPressed));
```

## Best Practices

1. Use partial classes
2. Leverage NuGet packages
3. Handle node lifecycle
4. Profile memory usage
5. Use source generators

## References

- [Godot C# Documentation](https://docs.godotengine.org/en/stable/tutorials/scripting/c_sharp/)

Files in this skill

  • README.md796 B
  • SKILL.md2.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…