godot-scene-management
БесплатноЗапускает вложенные скриптыНе проверенExpert blueprint for scene loading, transitions, async (background) loading, instance management, and caching. Covers fade transitions, loading screens…
от thedivergentai★ 1 019 звёзд на GitHubОб этом скилле
Available Scripts
MANDATORY triggers below — read the matching script; do not paste incomplete Autoload loaders.
- async_scene_manager.gd — MANDATORY before loading screens / threaded level swaps (
THREAD_LOAD_FAILEDincluded). - background_resource_loader.gd — MANDATORY when preloading the next level during gameplay (hitch avoidance).
- scene_transition_manager.gd — Fade/wipe Tweens wrapping a safe change.
- scene_pool.gd — MANDATORY before frequent spawn/despawn (bullets, enemies, VFX).
- scene_instancing_pooling.gd — Pool fill / reclaim patterns.
- additive_ui_layering.gd — Menus/overlays without destroying the world scene.
- subviewport_scene_layering.gd — Parallel worlds / minimaps (
SubViewportinput plan required). - persistent_data_preservation.gd — Autoload / root holders across swaps.
- scene_state_manager.gd — Persist-group save/restore across transitions.
- node_unparent_reparent.gd — Transform-preserving reparent (never mid-physics blindly).
- node_path_safe_retrieval.gd —
%UniqueName/ guarded@onready. - dynamic_script_attachment.gd — Runtime script attach for mods/dynamic entities.
NEVER Do in Scene Management
- NEVER load large scenes synchronously —
load("res://large_scene.tscn")on the Main Thread causes "hiccups" or full freezes during level transitions. UseResourceLoader.load_threaded_request()for async loading with a progress bar. - NEVER use
get_tree().change_scene_to_file()for transient state — This method purges the current scene and all its local variables. Use an Autoload (Singleton) or a persistent 'Game' node to store state across levels. - NEVER instance 100+ identical nodes per frame — Use Object Pooling to reuse bullets, debris, or enemies. Constant
instantiate()andqueue_free()calls spike CPU and trigger the Garbage Collector too often. - NEVER hardcode
get_node("../../Path/To/Node")— These paths break as soon as you move a node in the editor. Use Scene Unique Names (%NodeName) or@export var target_node: Nodefor robust references. - NEVER reparent nodes mid-physics-step without care — Reparenting can cause one-frame transform "teleports". Always store the
global_transformand re-apply it after theadd_child()call. - NEVER rely on the SceneTree for 10,000+ objects — If you don't need SceneTree features (signals, per-node scripts), use
PhysicsServerandRenderingServerdirectly for raw performance. - NEVER forget to handle
NOTIFICATION_WM_CLOSE_REQUEST— On desktop, if you don't handle the close request in a persistent node, the game may close during a critical save operation. - NEVER use deep recursion for node cleanup —
queue_free()is natively recursive in Godot 4. Freeing the root node automatically cleans up all children. Manual loops are redundant and inefficient. - NEVER mix
SubViewportand main world inputs without a plan — By default, input events bubble up. Useset_input_as_handled()to prevent UI clicks in a subviewport from triggering gameplay in the main world. - NEVER use
change_sceneto "Reset" a level — It reloads everything from disk. For a quick respawn, just reset the variables and move the player to the start position.
Decision Tree: How to Change Content
| Goal | Prefer | MANDATORY script |
|---|---|---|
| Full level swap with progress UI | Threaded load → swap when THREAD_LOAD_LOADED |
async_scene_manager.gd |
| Hide hitch before a door/trigger | Start threaded request early during play | background_resource_loader.gd |
| Fade / wipe around a swap | Transition Autoload wraps the manager | scene_transition_manager.gd |
| Keep world; show pause/map/inventory | Additive UI layer (do not change_scene) |
additive_ui_layering.gd |
| Manual root swap / deferred free | Own current_scene lifecycle | Peer docs + safe patterns in godot-autoload-architecture |
| Spawn many identical actors | Pool, never raw instantiate/free storms | scene_pool.gd / scene_instancing_pooling.gd |
| Minimap / split render | SubViewport + update mode + input isolation |
subviewport_scene_layering.gd |
| Survive scene purge | Autoload / persist group — not locals | [persistent_data_preservation.gd](scripts/persistent_data_preserva |
Установить godot-scene-management в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл godot-scene-management?
Expert blueprint for scene loading, transitions, async (background) loading, instance management, and caching. Covers fade transitions, loading screens, dynamic spawning, and scene persistence. Use when implementing level changes OR dynamic content loading. Keywords scene, loading, transition, async, ResourceLoader, change_scene, preload, PackedScene, fade.
Как установить скилл godot-scene-management?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл godot-scene-management запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic