agentleFS
gosomeagosomea/dsh-godot-ai/skills/godot-csharp/SKILL.md

godot-csharp

Skill9 starsChanged 3 months agoMITView on GitHub

编写 Godot 4.7 .NET/C#:节点生命周期、导出属性、signals/events、资源释放、GDScript 互操作和构建诊断。

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

Godot C# / .NET

  • 仅在 .NET 版 Godot 和现有 C# 项目中使用;先检查 .csproj、目标框架与 Godot 版本。
  • 生命周期函数使用 _Ready、_Process、_PhysicsProcess;导出属性用 [Export],节点路径和资源类型保持强类型。
  • Godot signals 可作为 C# events 使用;连接的 delegate 需要稳定引用,释放时避免悬空订阅。
  • GodotObject 生命周期不等同纯 CLR 对象;尊重 QueueFree、IsInstanceValid、Variant 可支持类型和线程限制。
  • GDScript/C# 互操作边界使用稳定的 Godot 类型、signal 和方法名,避免把复杂 CLR 泛型暴露给 GDScript。

godot-ai 的 script_create/script_patch 面向 GDScript;C# 文件优先使用工作区文件工具,并运行项目已有的 dotnet build。仍可通过 godot-ai 绑定节点属性、信号、场景并运行游戏;同时检查构建输出和 editor logs。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.