godot-gdscript

GDScript programming skill for Godot Engine, including signals, coroutines, and performance optimization.

509 stars

Best use case

godot-gdscript is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

GDScript programming skill for Godot Engine, including signals, coroutines, and performance optimization.

Teams using godot-gdscript should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/godot-gdscript/SKILL.md --create-dirs "https://raw.githubusercontent.com/a5c-ai/babysitter/main/library/specializations/game-development/skills/godot-gdscript/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/godot-gdscript/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How godot-gdscript Compares

Feature / Agentgodot-gdscriptStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

GDScript programming skill for Godot Engine, including signals, coroutines, and performance optimization.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Godot GDScript Skill

GDScript programming for Godot Engine development.

## Overview

This skill provides capabilities for implementing game logic using GDScript, Godot's Python-like scripting language.

## Capabilities

### Language Features
- Classes and inheritance
- Signals and connections
- Coroutines with await
- Static typing

### Node Interaction
- Scene tree navigation
- Node references
- Group management
- Signal connections

### Performance
- Object pooling patterns
- Cache node references
- Optimize loops
- Use typed arrays

### Best Patterns
- State machines
- Singletons (autoload)
- Resource management
- Export variables

## Prerequisites

- Godot 4.0+
- GDScript knowledge

## Usage Patterns

### Signal Pattern

```gdscript
class_name Player extends CharacterBody2D

signal health_changed(new_health: int)
signal died

@export var max_health: int = 100
var health: int = max_health

func take_damage(amount: int) -> void:
    health = max(0, health - amount)
    health_changed.emit(health)
    if health <= 0:
        died.emit()
```

### Coroutine Pattern

```gdscript
func spawn_enemies() -> void:
    for i in range(10):
        spawn_enemy()
        await get_tree().create_timer(1.0).timeout
```

## Best Practices

1. Use static typing
2. Cache node references in _ready
3. Use signals for decoupling
4. Prefer composition over inheritance
5. Profile with built-in profiler

## References

- [GDScript Documentation](https://docs.godotengine.org/en/stable/tutorials/scripting/gdscript/)

Related Skills

godot-shaders

509
from a5c-ai/babysitter

Godot shading language skill for visual shaders, custom rendering, and material effects.

godot-physics

509
from a5c-ai/babysitter

Godot physics skill for rigid bodies, areas, collision layers, and raycasting.

godot-networking

509
from a5c-ai/babysitter

Godot multiplayer skill for high-level networking API, RPCs, and peer-to-peer networking.

godot-development

509
from a5c-ai/babysitter

Godot Engine integration skill for GDScript/C# development, scene composition, node management, and editor automation. Enables LLMs to interact with Godot Editor through MCP servers for asset manipulation, script generation, and automated workflows.

godot-csharp

509
from a5c-ai/babysitter

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

godot-3d

509
from a5c-ai/babysitter

Godot 3D rendering skill for PBR materials, environment settings, and 3D scene composition.

godot-2d

509
from a5c-ai/babysitter

Godot 2D game development skill for tilemaps, pixel-perfect rendering, and 2D physics.

process-builder

509
from a5c-ai/babysitter

Scaffold new babysitter process definitions following SDK patterns, proper structure, and best practices. Guides the 3-phase workflow from research to implementation.

Workflow & Productivity

babysitter

509
from a5c-ai/babysitter

Orchestrate via @babysitter. Use this skill when asked to babysit a run, orchestrate a process or whenever it is called explicitly. (babysit, babysitter, orchestrate, orchestrate a run, workflow, etc.)

yolo

509
from a5c-ai/babysitter

Run Babysitter autonomously with minimal manual interruption.

user-install

509
from a5c-ai/babysitter

Install the user-level Babysitter Codex setup.

team-install

509
from a5c-ai/babysitter

Install the team-pinned Babysitter Codex workspace setup.