godot-dev-guide
Godot 4.x 完整開發指南。涵蓋 GDScript 模式、文件格式(.gd/.tscn/.tres)、場景架構、物理/UI/音效、性能優化、多平台導出、測試。自動觸發於 Godot 相關開發。
Why use this skill?
Master Godot 4.x with this essential guide. Learn proper GDScript patterns, scene organization, and file formatting to speed up your game development workflow.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/isonaei/godot-dev-guideWhat This Skill Does
The godot-dev-guide skill provides an expert-level reference and contextual assistant for Godot 4.x game engine development. It acts as a specialized knowledge base for AI agents to navigate the nuances of the Godot project structure, script syntax, and serialized file formats. By utilizing this skill, an AI agent can distinguish between GDScript logic and Godot's serialized formats like .tscn (scenes) and .tres (resources), preventing common syntax errors that lead to engine crashes or resource corruption.
Installation
To integrate this guide into your development environment, run the following command in your terminal: clawhub install openclaw/skills/skills/isonaei/godot-dev-guide Once installed, the OpenClaw AI agent will automatically recognize Godot-related project structures and trigger the guide when you request code generation or debugging help.
Use Cases
- Refactoring Codebases: The skill helps transition legacy Godot 3.x code to 4.x standards, focusing on updated node types (e.g., CharacterBody2D/3D) and static typing requirements.
- Resource Management: It prevents the common pitfall of mixing GDScript patterns into .tres files by enforcing the correct usage of
ext_resourceand typed arrays. - Node Architecting: Assists in planning complex scenes using signals for decoupling and properly implementing @onready variables to avoid initialization errors.
- Optimization: Provides actionable advice on performance, such as when to use pooling or efficient input handling techniques like
_gui_inputversus_input.
Example Prompts
- "I am building a player controller in Godot 4.3. Can you draft a script using CharacterBody2D that includes typed health variables and a signal for taking damage?"
- "I am getting a parse error in my .tscn file. Can you check if I'm incorrectly trying to use a variable declaration where a serialized node property should be?"
- "What is the best way to handle global game state in Godot 4, and how do I set up an Autoload to manage high scores?"
Tips & Limitations
- Tip: Always define types for your variables and function signatures to ensure the AI provides valid, clean code that utilizes Godot's static analysis features.
- Tip: Use the provided CLI reference when you need to automate your build pipeline or run headless tests for your CI/CD workflow.
- Limitation: This skill focuses on logic and syntax within Godot 4.x; it does not perform external visual asset manipulation or proprietary 3D model generation. It relies on the user to provide the correct project context for the most accurate results.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-isonaei-godot-dev-guide": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read
Related Skills
code-qc
Run a structured quality control audit on any codebase. Use when asked to QC, audit, review, or check code quality for a project. Supports Python, TypeScript, GDScript, and general projects. Produces a standardized report with PASS/WARN/FAIL verdict, covering tests, imports, type checking, static analysis, smoke tests, and documentation. Also use when asked to compare QC results over time.
literature-manager
Search, download, convert, organize, and audit academic literature collections. Use when asked to find papers, build a literature library, add papers to references, download PDFs, convert papers to markdown, organize references by category, audit a reference collection, or collect code/dataset links for tools mentioned in papers.
virtual-reading-group
Orchestrate a multi-agent virtual academic reading group. Use when reading multiple papers, generating expert discussion notes, cross-examining positions across papers, and synthesizing integrated summaries with full citations. Triggers on requests to analyze academic literature, run paper discussions, create reading group sessions, or synthesize research across multiple sources. Supports 1-50 papers with configurable expert personas (1-4 papers work but produce simpler single-expert output).