Logo Godot Brainstorming

Godot Brainstorming

Cộng đồng
jame581
godot-brainstorming

Dùng khi thiết kế tính năng hoặc hệ thống Godot mới — hướng dẫn lập kế hoạch cây scene, chọn loại node và đưa ra quyết định về kiến trúc

Add to TypingMind

Tổng quan

Nhà phát hànhjame581
Kho mãGodotPrompter
Tên kỹ nănggodot-brainstorming
Sao
808
Bản fork
47
Tệp đi kèm
2
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 2 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được jame581 công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Godot Brainstorming trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/jame581/GodotPrompter/tree/master/skills/godot-brainstorming
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Godot Brainstorming trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Godot Brainstorming ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Godot Brainstorming với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Godot Brainstorming làm được gì?

Dùng khi thiết kế tính năng hoặc hệ thống Godot mới — hướng dẫn lập kế hoạch cây scene, chọn loại node và đưa ra quyết định về kiến trúc

Vì sao nên dùng Godot Brainstorming trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Godot Brainstorming là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Godot Brainstorming trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/jame581/GodotPrompter/tree/master/skills/godot-brainstorming. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Godot Brainstorming?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Godot Brainstorming với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Godot Brainstorming với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Godot Brainstorming có miễn phí không?

Có. Kỹ năng này được jame581 phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇