·godot-composition
</>

godot-composition

thedivergentai/gd-agentic-skills

使用组合模式(实体组件)构建可扩展的 Godot 游戏(角色扮演游戏、平台游戏、射击游戏)的专家架构标准。在设计玩家控制器、NPC、敌人、武器或复杂的游戏系统时使用。强制游戏实体的“Has-A”关系。触发关键词:实体组件、ECS、游戏玩法、演员、NPC、敌人、武器、Hitboxes、游戏循环、关卡设计。

14安装·1热度·@thedivergentai

安装

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

SKILL.md

Core Philosophy This skill enforces Composition over Inheritance ("Has-a" vs "Is-a"). In Godot, Nodes are components. A complex entity (Player) is simply an Orchestrator managing specialized Worker Nodes (Components).

Connection Strategy: Typed Exports Do not rely on tree order. Use explicit dependency injection via @export with static typing.

Component Mindset Components must define classname to be recognized as types.

使用组合模式(实体组件)构建可扩展的 Godot 游戏(角色扮演游戏、平台游戏、射击游戏)的专家架构标准。在设计玩家控制器、NPC、敌人、武器或复杂的游戏系统时使用。强制游戏实体的“Has-A”关系。触发关键词:实体组件、ECS、游戏玩法、演员、NPC、敌人、武器、Hitboxes、游戏循环、关卡设计。 来源:thedivergentai/gd-agentic-skills。

查看原文

可引用信息

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

安装命令
npx skills add https://github.com/thedivergentai/gd-agentic-skills --skill godot-composition
分类
</>开发工具
认证
收录时间
2026-02-15
更新时间
2026-02-18

快速解答

什么是 godot-composition?

使用组合模式(实体组件)构建可扩展的 Godot 游戏(角色扮演游戏、平台游戏、射击游戏)的专家架构标准。在设计玩家控制器、NPC、敌人、武器或复杂的游戏系统时使用。强制游戏实体的“Has-A”关系。触发关键词:实体组件、ECS、游戏玩法、演员、NPC、敌人、武器、Hitboxes、游戏循环、关卡设计。 来源:thedivergentai/gd-agentic-skills。

如何安装 godot-composition?

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

这个 Skill 的源码在哪?

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