Skip to main content
ClaudeWave
Skill3.4k estrellas del repoactualizado 7d ago

godot-api

The godot-api skill provides targeted lookups of Godot engine API documentation and C# syntax patterns. Use it when developers need specific information about Godot classes, methods, signals, or collision detection patterns, rather than browsing full API indices. It efficiently navigates pre-built documentation files organized by class name and includes C# syntax references for common patterns like input handling and tweens.

Instalar en Claude Code
Copiar
git clone --depth 1 https://github.com/htdt/godogen /tmp/godot-api && cp -r /tmp/godot-api/godot/skills/godot-api ~/.claude/skills/godot-api
Después abre una sesión nueva de Claude Code; el skill carga automáticamente.

SKILL.md

# Godot API Lookup

This skill is a narrow reference tool. Keep answers targeted to the caller's question.

Do not list or enumerate `${GODOT_API_SKILL_DIR}/doc_api/` or `${GODOT_API_SKILL_DIR}/doc_source/`. Those directories contain nearly a thousand files and listing them wastes context. Navigate through `_common.md`, `_other.md`, and the specific class file you actually need.

## How to answer

1. If you already know the class or likely class, search `${GODOT_API_SKILL_DIR}/doc_api/_common.md` and `_other.md` for the class name instead of reading the whole index files.
2. If the caller does not name a class, use `${GODOT_API_SKILL_DIR}/doc_api/_common.md` and `_other.md` to identify likely candidates, then read only the relevant docs.
3. Read only the relevant `${GODOT_API_SKILL_DIR}/doc_api/{ClassName}.md` file or files.
4. Return only what the caller needs:
   - **Specific question** (for example, "how to detect collisions") -> return the relevant methods, signals, or patterns with short descriptions
   - **Full API request** (for example, "full API for CharacterBody3D") -> return the whole class doc summary

**C# syntax reference:** `${GODOT_API_SKILL_DIR}/csharp.md` — C# Godot syntax, patterns, and recipes. Read it when the caller asks about C# Godot syntax, idioms, or common patterns such as input handling, tweens, state machines, or signals.

Bootstrap if `doc_api` is empty:

```bash
bash ${GODOT_API_SKILL_DIR}/tools/ensure_doc_api.sh
```