Godot Brainstorming 标志

Godot Brainstorming

社区
jame581
godot-brainstorming

用于设计新的 Godot 功能或系统,包括场景树规划、节点类型选择和架构决策指南

Add to TypingMind

概览

发布者jame581
代码仓库GodotPrompter
技能名称godot-brainstorming
星标数
808
复刻数
47
附带文件
2
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 2 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 jame581 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Godot Brainstorming AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/jame581/GodotPrompter/tree/master/skills/godot-brainstorming
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jame581/GodotPrompter.git /tmp/GodotPrompter
mkdir -p .claude/skills
cp -r /tmp/GodotPrompter/skills/godot-brainstorming .claude/skills/godot-brainstorming
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Godot Brainstorming,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Godot Brainstorming。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Godot Brainstorming 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Godot Brainstorming

A structured design process for Godot 4.3+ features and systems — from blank slate to a clear scene tree, signal map, and data flow before you write a single line of implementation code.

Related skills: godot-grill for settling open design decisions first, scene-organization for scene tree composition patterns, component-system for component-based architecture, event-bus for signal-based communication design.


Process: How to Brainstorm

Do NOT jump straight to designing. Follow these steps:

Step 1: Settle the decisions

If the request has open design decisions (scope, dimension, authority, data home, …), invoke godot-prompter:godot-grill and let it run to its end. Skip it when a record in the project's decisions or ADR directory already covers this feature, or the user has stated the decisions. Either way, check what already exists (code, scenes, assets). Carry the record into Step 2 — approaches must respect its settled rows.

Step 2: Propose 2-3 approaches

With the decisions settled, propose architectural options with trade-offs. For example:

  • "Enum FSM vs Node FSM for your state machine — here's when each fits"
  • "EventBus vs direct signals for your systems — here's the trade-off" Lead with your recommendation and explain why.

Step 3: Design with approval

Present the design section by section (scene tree, signal map, data flow). Ask "does this look right?" after each section before continuing.

Step 4: Prepare for implementation

After the design is approved:

  1. Offer the agent instructions section — Ask whether to add the GodotPrompter integration section to the file this project already uses for agent instructions (see Agent Instructions Injection below). It is what tells subagents and future sessions to use GodotPrompter skills. Skip silently if a ## GodotPrompter section already exists in any of them, or if the user has declined before. Never add it without agreement.

  2. Create implementation plan — If a planning skill is available (e.g., superpowers:writing-plans), use it; if not, break the design into ordered tasks yourself. Either way the project decides where the plan is saved: the user's instructions or the project's agent instructions file; then the planning skill's convention; then an existing plans directory. If none applies, ask the user, suggesting docs/plans/, or use docs/plans/ when you cannot ask.

  3. Annotate each task with skills — Every task in the plan that involves a Godot system MUST list which godot-prompter:* skill(s) to invoke during implementation. Example:

    • Task 3: Player movement — Create CharacterBody3D with walk, sprint, jump. Skills: godot-prompter:player-controller, godot-prompter:input-handling

    This ensures that even when another plugin executes the plan, the implementing agent knows which GodotPrompter skills to load.


1. When to Use

Start here whenever you are:

  • Adding a new feature — a chest, a dialogue system, a crafting bench, a skill tree
  • Creating a new scene — you need to decide what nodes it contains and how they communicate
  • Choosing between approaches — inheritance vs. composition, Autoload vs. Resource, 2D vs. 3D
  • Feeling stuck on structure — the code works but the scene tree feels wrong
  • Onboarding someone — you need to explain the design of an existing system

If you already know exactly what nodes you need and how they connect, skip this skill and build. Use it when uncertainty is slowing you down.


2. Scene Tree Planning

Sketch the scene tree on paper (or in a comment block) before opening the Godot editor. The goal is to answer three questions for every node:

  1. What does this node own? (data, child nodes, visual representation)
  2. What does this node do? (its single responsibility)
  3. How does it talk to neighbors? (signals up, method calls down, EventBus sideways)

Planning Steps

  1. Name the root node and its type — this defines the scene's contract with the world.
  2. List immediate children by responsibility group, not by Godot node type.
  3. Assign a Godot node type to each entry.
  4. Identify every signal the scene emits and every signal it consumes.
  5. Mark which nodes should be separate .tscn files (reuse candidates).

Example: Planning a "Chest" Interactable

Step 1 — Name and root type

A Chest is a world object the player walks up to and opens. It is not a physics body; it does not move. Root: StaticBody2D or Node2D.

Step 2 — Responsibility groups

  • Visual representation (sprite, animation)
  • Collision / interaction trigger (detect player proximity)
  • Loot data (what items are inside)
  • UI feedback (prompt label, open animation trigger)
  • State (is it open or closed?)

Step 3 — Assign node types

Chest (StaticBody2D)
├── Sprite2D                  # closed/open frame, or swap texture on open
├── AnimationPlayer           # open animation
├── CollisionShape2D          # physical body shape (blocks player)
├── InteractionArea (Area2D)  # detect when player is close enough
│   └── CollisionShape2D      # slightly larger than body shape
├── PromptLabel (Label3D or Label) # "Press F to open"
└── LootTable (Node)          # holds @export var items: Array[ItemData]

Step 4 — Signal map

SignalEmitted byConnected toPurpose
body_entered(body)InteractionAreaChest._on_area_body_enteredShow prompt when player enters range
body_exited(body)InteractionAreaChest._on_area_body_exitedHide prompt when player leaves
opened(loot: Array[ItemData])ChestInventorySystem or EventBusDeliver loot to whoever owns the inventory
animation_finished(name)AnimationPlayerChest._on_animation_finishedLock chest after open animation completes

Step 5 — Reuse candidates

LootTable is likely reused by barrels, enemies, and shop crates — extract it as a separate .tscn component.

For the resulting GDScript and C# Chest sketches, plus the four-part design entry (Scene Tree, Node Responsibilities, Signal Map, Data Flow) used to document this design, see references/example-chest.md.


3. Picking Node Types and Dimension

Two lookups belong here but are pure recall — load them only when the answer is not already obvious:

  • Which node for which need? CharacterBody vs RigidBody vs StaticBody vs Area, UI vs world-space labels, particles, cameras, spawn markers.
  • 2D, 3D, or 2.5D? Selection criteria for each, hybrid techniques (billboarded sprites, orthographic 3D, SubViewport UI), and the performance consequences.

Two Godot 4.3+ specifics are easy to get wrong and worth stating up front: tile-based levels use TileMapLayer (one layer per node — TileMap is deprecated), and blend-tree locomotion needs an AnimationTree paired with an AnimationPlayer, not an AnimationPlayer alone.

Full need-to-node table, the 2D/3D decision criteria, and 2.5D hybrid techniques: references/node-selection.md


4. Questions to Ask Before Building

Work through this checklist before creating your first node.

  • What data does this system need? — List every piece of state: position, health, item count, flags
  • Who owns each piece of data? — Assign one authoritative owner per value; avoid duplicating state
  • How does it communicate? — Signals up the tree, method calls down, EventBus for cross-system events
  • Can it be reused? — If yes, it should be a separate .tscn scene with a clean @export interface
  • Does it need persistence? — If the data must survive scene changes or game restarts, plan a save system early
  • What is the scene tree? — Sketch at least two levels deep before touching the editor
  • What signals does it emit? — List every signal name, its arguments, and who connects to it
  • What are the failure modes? — What happens if a required node is missing? If a signal fires twice?
  • What is the minimum viable version? — Build that first; add complexity only when it is needed

5. Common Architecture Decisions

If you need...Consider...Why
Global state accessible anywhereAutoload (singleton)Registered in Project Settings; available as a named global
Data shared between multiple scenesResource (.tres / .res)Saved as an asset; @export-able; survives scene reloads
Reusable behavior across entity typesComponent sceneInstantiate as a child; each entity opts in by including the scene
Complex entity behavior with many statesState machineExplicit enter/exit per state; prevents if-chain sprawl
Events between systems that don't share a parentEventBus AutoloadDecouples sender and receiver; any node can connect
Data that must persist across sessionsSave system with JSON or binarySerialize Resource or Dictionary; load on _ready
Configurable game data (stats, items, levels)Resource with @export fieldsEdit values in the Inspector; no code change required
Spawning scenes at runtimePackedScene + instantiate()Store @export var scene: PackedScene; call scene.instantiate()
Running code on a delay or intervalTimer nodeCleaner than _process frame counters; supports one-shot and loop
Gradual transitions (fade, lerp, tween)Tweencreate_tween() is built-in; no extra node required in Godot 4

6. Design Output Format

Capture your design in a comment block at the top of the root script, or in a DESIGN.md file next to the scene. A complete design entry has four parts: a scene tree ASCII diagram, a node responsibilities table, a signal map (signal → source → consumer → payload), and a data flow trace showing how a triggering event propagates through the tree.

See references/example-chest.md for a fully worked four-part entry built around the Chest interactable.


Design Checklist

  • Scene tree sketched at least two levels deep before opening the editor
  • Every node has a single named responsibility
  • All signals listed with name, source, consumer, and payload type
  • Data ownership assigned — no value stored in two places
  • Reuse candidates extracted to separate .tscn files
  • Communication pattern chosen: signals up, calls down, EventBus sideways
  • Persistence requirements identified before building data structures
  • Architecture decision table consulted for global state, shared data, and events

Agent Instructions Injection

When preparing for implementation (Step 4), add the following section to the file this project uses for agent instructions. Check for an existing ## GodotPrompter heading in all of CLAUDE.md, CLAUDE.local.md, .claude/CLAUDE.md, AGENTS.md, GEMINI.md, .github/copilot-instructions.md, and the .claude/rules/ and .cursor/rules/ directories — if it is present anywhere, skip.

A previous refusal counts as an answer. The SessionStart hook records one as "section_offer": "declined" in this project's ~/.godot-prompter/state/<hash>.json (godot-prompter:godot-mentor documents the file and how the hash is computed) — if that key is set, do not ask again. Record a refusal there yourself, merged into any existing keys, when the user declines here.

Write it to the file the project already maintains, not to a second one:

  • CLAUDE.md exists → add it there.
  • Only AGENTS.md or GEMINI.md exists → add it there, so the repo stays agent-agnostic. Claude Code reads CLAUDE.md only, so if the user wants it loaded there too, a one-line CLAUDE.md containing @AGENTS.md does that — offer it, do not assume it.
  • Nothing exists → create CLAUDE.md with a project overview header and this section.

GodotPrompter

This is a Godot project with GodotPrompter skills available. Before implementing any game system, you MUST check for a matching godot-prompter:* skill and invoke it. This applies to all agents, subagents, and sessions working in this repository.

Key skills: player-controller, state-machine, event-bus, scene-organization, component-system, resource-pattern, godot-ui, hud-system, ai-navigation, camera-system, audio-system, save-load, inventory-system, godot-testing.

For the full skill list, invoke godot-prompter:using-godot-prompter.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Godot Brainstorming AI 技能有什么作用?

用于设计新的 Godot 功能或系统,包括场景树规划、节点类型选择和架构决策指南

为什么在 TypingMind 中使用 Godot Brainstorming?

因为您只需安装一次,就能搭配任何模型使用。Godot Brainstorming 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Godot Brainstorming?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/jame581/GodotPrompter/tree/master/skills/godot-brainstorming。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Godot Brainstorming?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Godot Brainstorming 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Godot Brainstorming 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Godot Brainstorming AI 技能免费吗?

是的。jame581 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇