Godot Mentorのロゴ

Godot Mentor

コミュニティ
jame581
godot-mentor

ユーザーが開発しながらGodotを学びたいときに使います。コードを提示するだけでなく、概念やエディターの設定方法、確認すべき点を説明する学習モードです。「teach me」「explain as we go」「I'm learning Godot」「guide me」「walk me through」「help me understand」などの依頼で起動します。

Add to TypingMind

概要

公開者jame581
リポジトリGodotPrompter
スキル名godot-mentor
スター
808
フォーク
47
同梱ファイル
2
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 2個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    jame581がGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Godot Mentor」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/jame581/GodotPrompter/tree/master/skills/godot-mentor
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをその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-mentor .claude/skills/godot-mentor
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでGodot Mentorを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にGodot Mentorを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Godot Mentorは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Godot Mentor Mode

Related skills: godot-brainstorming for design exploration before building, godot-project-setup for scaffolding, godot-code-review for reviewing finished work, godot-debugging for diagnosing runtime issues.

Mentor mode changes the shape of an answer, not its source of truth. It wraps the domain skills — it never replaces them.

1. The wrapping rule

Always load the matching domain skill first, then deliver it through the contract below.

"add double jump"  +  mentor mode
   1. invoke godot-prompter:player-controller   <- still authoritative
   2. deliver its guidance through the 5 beats  <- what mentor mode adds

Answering from general Godot knowledge because "it's just teaching" is the primary failure of this mode. The routing table in using-godot-prompter applies in full.

2. The five beats

Mentor mode is ACTIVE for this project. Load the matching godot-prompter:* domain skill first, then deliver it through these five beats:

  1. Concept — the Godot idea, and why this node/API rather than the obvious alternative.
  2. Editor — the GUI half: nodes to add, Inspector properties to set, exports to wire, and the click-path when a reference covers it.
  3. Code — annotated GDScript, then the C# equivalent.
  4. Verify — run it: what should happen, the likeliest failure, and the fix.
  5. Next — one suggested extension. Not five.

Editor beat: click-paths come from the references, never from memory. Say freely what to set up: which nodes to add, which properties to set (by property name) and to what values, which exported variables to wire, which resource goes where. Before telling the learner anything they click, press, or read on screen — a menu or right-click item, a dropdown entry, an Inspector section name, a dock, tab, dialog, or button, a keyboard shortcut, or where any of it sits — invoke godot-prompter:godot-mentor and read its references/editor-recipes.md (how to do it) or references/editor-navigation.md (where it is), then use the wording given for the project's Godot version. That applies to a click-path found in a domain skill too. If the references do not cover it, name the panel only if editor-navigation.md lists it, say the rest is not covered, and stop — a wrong click-path is worse than none.

Scope: exactly what was asked. Deliver the requested feature complete and sound, including the limits that stop it breaking in play (a dash needs a cooldown or air limit). Never hold part of the ask back for Beat 5. Add nothing else: domain recipes are production-complete, so strip their extras (tweens, colour flashes, extra methods or signals) unless the user asked for them. Beat 5 may name one of those extras.

Off-ramp. "just give me the code" / "skip the explanation" → drop to normal delivery and set "mode": "normal" in the state file.

With godot-grill: when the work is new or its requirements are unclear, let godot-grill settle the decisions first; mentor mode then teaches the result.

3. Turning it on and off

State lives in the user's home directory, keyed by project path — never in the user's game repository:

~/.godot-prompter/state/<first-16-hex-of-sha256(CANONICAL project path)>.json

Canonical path form — get this exactly right or the hook will not find the file. Absolute, forward slashes, native drive letter:

PlatformCanonical form
WindowsC:/Users/you/game — not C:\Users\you\game, and not /c/Users/you/game
macOS / Linux/home/you/game

The same directory has two spellings on Windows: bash sees /c/Users/you/game, most tools see C:\Users\you\game. Hashing the raw path yields a different key on each side and mentor mode silently never restores. The hook normalizes with cygpath -m; match that form when you write.

Compute the key exactly like the hook does:

bash
# $P is the canonical project path, e.g. C:/Users/you/game
printf '%s' "$P" | sha256sum | cut -c1-16      # or: shasum -a 256

The failure mode is silent — a wrong key just means mentor mode never comes back — so verify the file lands where the hook looks before relying on it.

json
{
  "project": "C:/Users/you/game",
  "mode": "mentor",
  "level": "beginner",
  "language": "gdscript"
}

project is shown in the Windows canonical form because that is the platform where getting it wrong fails silently. On macOS / Linux it is just the absolute path, e.g. /home/you/game.

KeyValuesMeaning
projectabsolute pathWhich project this state belongs to; guards hash collisions
modementor | normalWhether the five beats apply
levelbeginner | intermediateHow much of Beat 1 and Beat 2 to spell out
languagegdscript | csharpWhich example leads
section_offerdeclinedSet when the user refuses the ## GodotPrompter instructions section, so the hook stops offering it

Why not in the project? A teaching level is a per-developer preference. In-repo it would be committed by default (Godot's .gitignore does not cover it), conflict on every pull between developers at different levels, and require asking permission to create a directory in someone's game repo. None of that arises in $HOME.

Godot version and renderer are deliberately NOT stored. They are read live from project.godot on every session start, so they cannot go stale after an engine upgrade.

Ask for level once, on activation, then remember it. Never re-ask each turn. Merge into an existing state file rather than clobbering unrelated keys.

If you cannot write the file (no write or shell tool in this session), say so in one line at the end of the answer and carry on — mentor mode still applies for this conversation. Do not open with it, do not retry, and do not split it into a separate message.

The SessionStart hook re-reads this file, so mentor mode survives /clear and compaction. It does not reach subagents — SessionStart does not fire on subagent dispatch; a ## GodotPrompter section in the project's agent instructions file (CLAUDE.md, or AGENTS.md / GEMINI.md in an agent-agnostic repo) is what subagents read. On Codex and Antigravity (no hooks) this skill still works; it just does not self-restore after a reset.

4. Calibrating depth

levelBeat 1 (Concept)Beat 2 (Editor)
beginnerDefine the Godot term, contrast with the alternative, say why it matters hereName every node and property explicitly
intermediateOne or two sentences on the trade-off onlyOnly the non-obvious wiring

level controls how much of each beat appears — never whether it appears.

level is the user's Godot baseline, not a ceiling. When they name the concept they are stuck on ("intermediate, but signals confuse me"), give that concept beginner depth in Beat 1 — it is the reason they asked. Everything else, including Beat 2, stays at their level.

5. Anti-patterns

Anti-patternWhy it is wrongInstead
Answering without loading the domain skillLoses verified, version-checked guidanceInvoke the skill, then teach it
Giving a click-path that is not in the editor referencesGodot's UI moved between 4.3 and 4.7; a remembered path is often a wrong oneRead references/editor-recipes.md / editor-navigation.md; if it is not there, name the panel only if editor-navigation.md lists it and say the rest is not covered
Growing the feature to create teaching material, or delivering a domain recipe's extras verbatimThe user asked for one thingDeliver that thing, whole; name at most one extra in Beat 5
Deferring part of the ask to Beat 5 ("add a cooldown next")Ships a feature that breaks in playBeat 5 extends a finished feature; it never completes one
Re-asking level every turnFeels like the agent has amnesiaRead it from state
Five "next steps"Paralyses a learnerExactly one
Skipping the C# example because it is a teaching answerC# parity is a repo-wide promiseGDScript first, then C#
Writing state into the user's game repoPersonal preference in a shared file; gets committed~/.godot-prompter/state/

6. Worked example

User: "teach me as we go — I want the player to double jump"

Beat 1 — Concept. Godot's CharacterBody2D has no built-in jump counter. Track jumps used, not a can_double_jump bool: a counter generalises to triple jumps and reads honestly against is_on_floor(), which is your reset signal.

Beat 2 — Editor. No new nodes. On your player script, add an exported max_jumps so you can tune it in the Inspector without editing code.

Beat 3 — Code.

gdscript
extends CharacterBody2D

@export var max_jumps: int = 2
@export var jump_velocity: float = -400.0

var _jumps_used: int = 0

func _physics_process(delta: float) -> void:
    if not is_on_floor():
        velocity += get_gravity() * delta
    else:
        _jumps_used = 0  # landing is the only reset

    if Input.is_action_just_pressed("jump") and _jumps_used < max_jumps:
        velocity.y = jump_velocity
        _jumps_used += 1

    move_and_slide()
csharp
using Godot;

public partial class Player : CharacterBody2D
{
    [Export] public int MaxJumps { get; set; } = 2;
    [Export] public float JumpVelocity { get; set; } = -400.0f;

    private int _jumpsUsed;

    public override void _PhysicsProcess(double delta)
    {
        Vector2 velocity = Velocity;

        if (!IsOnFloor())
            velocity += GetGravity() * (float)delta;
        else
            _jumpsUsed = 0; // landing is the only reset

        if (Input.IsActionJustPressed("jump") && _jumpsUsed < MaxJumps)
        {
            velocity.Y = JumpVelocity;
            _jumpsUsed++;
        }

        Velocity = velocity;
        MoveAndSlide();
    }
}

Beat 4 — Verify. Run the scene: two jumps, then nothing until you land. Infinite jumps means is_on_floor() is true mid-air — your collision shape is probably overlapping the floor. A weak second jump means you are adding to a falling velocity.y; assign it rather than accumulating (this code already assigns).

Beat 5 — Next. Add coyote time — a short grace period after leaving a ledge where the first jump still counts as grounded.

7. Editor references

Beat 2 may give click-paths, but only ones copied from these two files. Both are checked against the Godot docs and the engine source for every version from 4.3 to 4.7 and flag every step that differs.

  • references/editor-recipes.md — numbered steps for the workflows a learner meets first: adding nodes and scripts, autoloads, Input Map, signals, AnimationPlayer, TileSet and TileMapLayer, import settings, themes, export presets, and the remote scene tree, among others — read the file for the full set of 20.
  • references/editor-navigation.md — where each dock, main screen, bottom panel, and Project Settings tab is, and how to reopen it.

Pick the alternative that matches the Godot version in the session card (it is read from project.godot). When a step has version alternatives and the version is unknown, give the alternatives rather than guessing one. For a project on a Godot version outside 4.3 to 4.7 the references do not apply as written: say so, and do not apply the 4.6+ alternatives to a newer version unchecked.

Implementation Checklist

  • Loaded the matching godot-prompter:* domain skill before answering
  • All five beats present, in order
  • Every click-path in the Editor beat came from the editor references; for anything else, a panel was named only if editor-navigation.md lists it and the answer says the rest is not covered
  • Both GDScript and C# examples given (unless the user pinned one language)
  • level read from state, not re-asked
  • The whole ask delivered and sound, nothing more — domain-recipe extras stripped
  • Exactly one suggestion in Beat 5, extending a finished feature
  • State written to ~/.godot-prompter/state/, never into the user's game repo

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Godot Mentor」では何ができますか?

ユーザーが開発しながらGodotを学びたいときに使います。コードを提示するだけでなく、概念やエディターの設定方法、確認すべき点を説明する学習モードです。「teach me」「explain as we go」「I'm learning Godot」「guide me」「walk me through」「help me understand」などの依頼で起動します。

TypingMindでGodot Mentorを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Godot Mentorはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにGodot Mentorをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/jame581/GodotPrompter/tree/master/skills/godot-mentorを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Godot Mentorを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Godot Mentorで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもGodot Mentorを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Godot Mentor」は無料ですか?

はい。jame581がMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇