Godot Editor Toolingのロゴ

Godot Editor Tooling

コミュニティ
EL4CTEO
godot-editor-tooling

Extend the Godot 4.7 editor - safe @tool/[Tool] scripts, configuration warnings, dynamic inspector properties, EditorScript, EditorPlugin with EditorDock (add_control_to_dock is deprecated), inspector plugins, gizmos, import/post-import/export plugins, undo/redo, addons, GDExtension. Use for editor plugins, custom docks, importers or level tools.

概要

公開者EL4CTEO
リポジトリgodot-skills
スキル名godot-editor-tooling
スター
60
フォーク
6
同梱ファイル
1
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 1個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/EL4CTEO/godot-skills.git /tmp/godot-skills
mkdir -p .claude/skills
cp -r /tmp/godot-skills/skills/godot-editor-tooling .claude/skills/godot-editor-tooling
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Editor tooling (4.7)

Check editor APIs with ../godot-core/scripts/api_lookup.py. It flags deprecations, for example EditorPlugin.add_control_to_dock says "Use add_dock instead".

@tool scripts (code that runs inside the editor)

  • @tool (GDScript) / [Tool] (C#) at the top. The script runs in the editor and in the game. Guard game logic with if Engine.is_editor_hint(): return, and guard editor-only code with the opposite check.
  • Every class the tool script calls on must also be @tool, or it runs as a placeholder. Errors in tool scripts can crash the editor, so keep them small and defensive.
  • Nodes created by a tool must get node.owner = get_tree().edited_scene_root to be saved with the scene.
  • Configuration warnings: override _get_configuration_warnings() -> PackedStringArray and call update_configuration_warnings() when inputs change. They show as a ⚠ icon in the Scene dock.
  • Inspector buttons: @export_tool_button("Bake", "Bake") var bake := _bake (C#: [ExportToolButton]).
  • Dynamic properties: _get_property_list(), _get(name), _set(name, v), _validate_property(prop) (hide or readonly per state), then notify_property_list_changed().
  • Changes made by tools should be undoable: EditorInterface.get_editor_undo_redo() → create_action, add_do_property/add_undo_property, commit_action.

EditorScript (one-off automation)

@tool extends EditorScript with func _run():. Run it from the Script editor (File → Run, Ctrl+Shift+X) or from the command palette (4.5+). It's good for batch-renaming nodes, fixing resources and generating scenes. For headless automation outside the editor, use ../godot-core/scripts/run_godot.py script or scene_edit.py.

EditorPlugin (addons//)

  • plugin.cfg (name, description, author, version, script) plus a @tool extends EditorPlugin script. Enable it in Project Settings → Plugins. Enabled plugins are listed in project.godot [editor_plugins].
  • Pair every _enter_tree add with an _exit_tree remove. Plugins get disabled and re-enabled during development.
  • Docks (4.6+): create an EditorDock (experimental), set title, default_slot (DOCK_SLOT_LEFT_UL … DOCK_SLOT_BOTTOM for bottom panels) and available_layouts, add your UI as a child, then add_dock(dock) / remove_dock(dock). add_control_to_dock and add_control_to_bottom_panel are deprecated.
  • Other hooks: add_tool_menu_item, add_inspector_plugin(EditorInspectorPlugin), add_node_3d_gizmo_plugin, add_import_plugin, add_scene_post_import_plugin, add_export_plugin, add_autoload_singleton (for addon runtime singletons), main screens (_has_main_screen, _make_visible), and viewport input (_handles + _forward_3d_gui_input/_forward_canvas_gui_input).
  • Custom node types: prefer class_name + @icon("res://addons/x/icon.svg") over add_custom_type.
  • EditorInterface (a singleton) gives you get_edited_scene_root(), get_selection(), get_resource_filesystem().scan(), edit_node(), open_scene_from_path(), get_editor_settings() and get_base_control() for theme colors.

Import pipeline

  • Per-asset scene tweaks: an EditorScenePostImport script (_post_import(scene)) set in the import dock's "Import Script". Use it to add collisions, set materials or rename nodes on every reimport.
  • Project-wide scene tweaks: EditorScenePostImportPlugin (via add_scene_post_import_plugin).
  • New file formats: EditorImportPlugin (_get_recognized_extensions, _get_save_extension, _get_resource_type, _get_import_options, _import → ResourceSaver.save to save_path + "." + ext).
  • Export-time changes: EditorExportPlugin (_export_begin, _export_file → skip()/add_file(), _get_export_features).

GDExtension (native code)

  • Use it when you need C++ (or Rust/Swift bindings) speed, or native SDKs (Steam, platform services). Otherwise GDScript or C# is simpler.
  • A .gdextension file defines the entry symbol, compatibility_minimum = "4.7" and per-platform libraries. Build against godot-cpp matching the engine (--dump-extension-api generates the API JSON).
  • Loaded extensions are listed in a 4.7 Project Settings section. GDExtensionManager.load_extension() loads them at runtime. GDExtension classes behave like built-ins (inspector, class_name, docs through --gdextension-docs).

Distribution

Put everything under addons/<name>/ (LICENSE, README, plugin.cfg, icons) and avoid absolute paths outside it. Publish on the Godot Asset Store (4.7) or as a git submodule. Version it with semver in plugin.cfg.

Tool node with warnings and dynamic props, EditorScript batch fix, plugin with EditorDock, inspector plugin, post-import script, export plugin (compiled by the tests): references/patterns.md

同梱ファイル

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

よくある質問

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

Extend the Godot 4.7 editor - safe @tool/[Tool] scripts, configuration warnings, dynamic inspector properties, EditorScript, EditorPlugin with EditorDock (add_control_to_dock is deprecated), inspector plugins, gizmos, import/post-import/export plugins, undo/redo, addons, GDExtension. Use for editor plugins, custom docks, importers or level tools.

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

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

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

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

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

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

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

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

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

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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