godot-builder
БесплатноЗапускает вложенные скриптыНе проверенExpert-level toolkit for modular Godot 4.7+ CLI automation and headless build orchestration. Use when you need to: (1) Build complex scene trees or UI layouts…
от thedivergentai★ 1 019 звёзд на GitHubОб этом скилле
Godot Builder Skill
The godot-builder skill provides an expert-grade foundation for programmatic game development and headless automation using the Godot 4.7-stable CLI. Override paths via GODOT_PATH and GODOT_CONSOLE_PATH environment variables.
Expert Automation Mindset
- Headless Isolation via XDG: When running multiple concurrent Godot instances, always override
XDG_DATA_HOMEandXDG_CONFIG_HOMEto prevent cache corruption between instances. - Cache Invalidation (Force Import): Programmatically delete the
.godot/imported/directory to force the engine to re-evaluate modified global import settings. - Explicit Ownership: Scene nodes MUST have their
ownerproperty set to the scene root, or they will be discarded during serialization. - Latency-Sensitive Multi-threading: GPU interactions (textures, image data) must stay on the main thread to avoid pipeline stalls and deadlocks.
Hardened Anti-Patterns (NEVER List)
- NEVER save runtime-generated UIDs headlessly;
ResourceSaver.save()does NOT serialize UIDs in headless mode. Invokegodot -e --headless --importas a post-process. - NEVER use
Resource.duplicate(true)in Godot 4.4+; useduplicate_deep(Resource.DEEP_DUPLICATE_ALL)to prevent procedural state-bleed. - NEVER hardcode
.tscnor.tresextensions; always load viauid://or without extensions to avoid failures in exported binary builds. - NEVER execute GPU-bound calls on secondary threads. Use
RenderingServer.call_on_render_thread(). - NEVER enable the Shader Baker for Dedicated Server builds; the headless backend ignores it.
- NEVER call
ResourceUID.set_id()without callinghas_id()first; it causes a fatal CLI crash. - NEVER skip
RenderingServer.canvas_item_reset_physics_interpolation()when programmatically moving low-level CanvasItems on their first frame; failure causes visual desync between rendering and physics systems.
Expert Automation Workflows
Do NOT Load the full script catalog for a single task. Load only the MANDATORY scripts named in the active workflow. Thin process wrappers (
launch_editor.py,run_project.py,stop_project.py,get_*,list_projects.py) live in the appendix — do not preload them unless that exact CLI action is required.
Workflow #1: The Hardened 3D Asset Pipeline
Purpose: Automates the ingestion of raw 3D assets into production-ready scenes with accurate physics collisions.
- MANDATORY — read before improvising CLI flags: gltf_processor.py → collision_generator.py → save_scene.py. Then run
godot -e --headless --import(or import_automator.py) — do not invent alternate flag orders. - Sequence:
gltf_processor.py->collision_generator.py->save_scene.py-> headless--import. - Expert Defense: Sets explicit
ownerfor every node. Forces a final headless import to fix the missing UID serialization. - Failure modes / fallbacks:
- UID missing after headless save: Expected —
ResourceSaverdoes not serialize UIDs headless. Fallback: re-run--import; if UIDs still missing, run update_project_uids.py after import completes. - Import hangs / never exits: Script omitted
quit()or editor import is waiting on GPU. Fallback: ensure the post-process script callsget_tree().quit(); kill the PID via stop_project.py and retry withXDG_*isolation. - Collision mesh empty / wrong: Source glTF had no mesh arrays or wrong node paths. Fallback: inspect gltf_processor.py output scene before regenerating collisions.
- UID missing after headless save: Expected —
Workflow #2: Procedural Level Optimization & 4.4+ Scaling
Purpose: Generates optimized procedural level chunks without shared resource state corruption between instances.
- MANDATORY — read before improvising: csg_optimizer.py → navmesh_baker.py. Apply
duplicate_deep(Resource.DEEP_DUPLICATE_ALL)between bake steps — do not useduplicate(true). - Sequence:
csg_optimizer.py->duplicate_deep(ALL)->navmesh_baker.py. - Expert Defense: Uses
duplicate_deepto isolate materials/resources. Bakes CSG to static geometry before triggering NavMesh pathfinding. - Failure modes / fallbacks:
- NavMesh bake on live CSG: Pathfinding holes / empty regions. Fallback: confirm CSG→static mesh bake finished before navmesh_baker.py.
- Material/state bleed across chunks: Used shallow duplicate. Fallback: re-bake with
DEEP_DUPLICATE_ALLper instance. - Headless bake hang: Missing
quit()after bake. Fallback: add explicit quit; isolate viaXDG_DATA_HOME/XDG_CONFIG_HOME.
Workflow #3: Production CI/CD & Force-Import Validation
Purpose: Validates cross-platform builds and ensures
Установить godot-builder в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл godot-builder?
Expert-level toolkit for modular Godot 4.7+ CLI automation and headless build orchestration. Use when you need to: (1) Build complex scene trees or UI layouts programmatically, (2) Automate expert 3D asset pipelines (glTF -> Collision), (3) Optimize procedural geometry headlessly (CSG -> Static Mesh), or (4) Engineer production-grade CI/CD pipelines. Set GODOT_PATH env var for custom engine location. Keywords: Godot CLI, headless, CI, export, builder, 4.7.
Как установить скилл godot-builder?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл godot-builder запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic