·godot-autoload-architecture
*

godot-autoload-architecture

thedivergentai/gd-agentic-skills

Godot AutoLoad(单例)架构的专家模式,包括全局状态管理、场景转换、基于信号的通信、依赖项注入、自动加载初始化顺序和要避免的反模式。用于游戏管理器、保存系统、音频控制器或跨场景资源。触发关键字:AutoLoad、singleton、GameManager、SceneTransitioner、SaveManager、global_state、autoload_order、signal_bus、dependency_injection。

13安装·1热度·@thedivergentai

安装

$npx skills add https://github.com/thedivergentai/gd-agentic-skills --skill godot-autoload-architecture

SKILL.md

AutoLoads are Godot's singleton pattern, allowing scripts to be globally accessible throughout the project lifecycle. This skill guides implementing robust, maintainable singleton architectures.

MANDATORY: Read the appropriate script before implementing the corresponding pattern.

servicelocator.gd Service locator pattern for decoupled system access. Allows swapping implementations (e.g., MockAudioManager) without changing game code.

Godot AutoLoad(单例)架构的专家模式,包括全局状态管理、场景转换、基于信号的通信、依赖项注入、自动加载初始化顺序和要避免的反模式。用于游戏管理器、保存系统、音频控制器或跨场景资源。触发关键字:AutoLoad、singleton、GameManager、SceneTransitioner、SaveManager、global_state、autoload_order、signal_bus、dependency_injection。 来源:thedivergentai/gd-agentic-skills。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/thedivergentai/gd-agentic-skills --skill godot-autoload-architecture
分类
*创意媒体
认证
收录时间
2026-02-15
更新时间
2026-02-18

快速解答

什么是 godot-autoload-architecture?

Godot AutoLoad(单例)架构的专家模式,包括全局状态管理、场景转换、基于信号的通信、依赖项注入、自动加载初始化顺序和要避免的反模式。用于游戏管理器、保存系统、音频控制器或跨场景资源。触发关键字:AutoLoad、singleton、GameManager、SceneTransitioner、SaveManager、global_state、autoload_order、signal_bus、dependency_injection。 来源:thedivergentai/gd-agentic-skills。

如何安装 godot-autoload-architecture?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/thedivergentai/gd-agentic-skills --skill godot-autoload-architecture 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/thedivergentai/gd-agentic-skills