godot-api

Look up Godot engine class APIs, methods, signals, and C# syntax references.

Updated Aug 11, 2026
One-click install
npx skills add https://github.com/zerox-core/AI_Game --skill godot-api-zerox-core
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: godot-api
Source: https://github.com/zerox-core/AI_Game/tree/main/.claude/skills/godot-api
Command: npx skills add https://github.com/zerox-core/AI_Game --skill godot-api-zerox-core

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? When writing Godot game code, developers often need exact class method signatures, property names, signal definitions, or correct C# Godot syntax, and guessing leads to compile errors or wasted debugging time. This Skill provides targeted lookup of Godot engine API documentation and language syntax references without flooding the context with hundreds of irrelevant doc files. ## Core Features & Use Cases - Targeted Class API Lookup: Retrieves methods, properties, signals, and enums for specific Godot classes from per-class markdown docs, navigating through _common.md and _other.md indexes instead of listing hundreds of files. - C# and GDScript Syntax References: Provides dedicated syntax guides covering signals, exports, node references, tweens, input handling, state machines, navigation, and physics patterns for both languages. - Offline Doc Bootstrap: Includes a converter pipeline that clones the official Godot repository's doc/classes XML via sparse checkout and generates compact per-class markdown API references. - Use Case: While building a CharacterBody2D controller, ask how to detect slide collisions or which signal a Timer emits, and receive only the relevant methods and patterns for that class. ## Quick Start Ask a specific Godot API question such as what methods and signals CharacterBody2D provides for collision detection.

Frequently Asked Questions about godot-api

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

FAQPage Schema
How do I look up a Godot class API like CharacterBody2D?

Search the _common.md or _other.md index files for the class name, then read only that class's markdown file in doc_api. The file contains methods, properties, signals, and enums in a compact format.

Does this Godot reference support C# syntax?

Yes, a dedicated csharp.md reference covers C# Godot syntax including signals, exports, node references, tweens, and input handling. The generated class docs can also be produced in C# form with PascalCase names and mapped C# types.

What do I do if the doc_api directory is empty?

Run the bootstrap script tools/ensure_doc_api.sh with bash. It sparse-clones the Godot repository's doc/classes XML and runs the converter to generate per-class markdown files plus the index files.

Why should I avoid listing the doc_api directory contents?

The doc_api and doc_source directories contain nearly a thousand files, and listing them wastes context window space. Navigate through the _common.md and _other.md indexes to find the specific class file you need.

Can I get GDScript syntax help as well as class APIs?

Yes, gdscript.md provides a full GDScript syntax reference covering types, control flow, signals, annotations, memory management, and common gameplay patterns like state machines and navigation.