Godotのロゴ

Godot

コミュニティ
fetasty
godot

Godot Engine 4 specialist: architecture patterns, scene/node design, signals, resources, autoloads, project settings, export presets, and engine-level decisions. Use when working on Godot 4 game projects for: (1) Designing scene/node architecture, (2) Deciding between GDScript vs C# vs GDExtension, (3) Setting up autoloads or singletons, (4) Configuring project settings or export presets, (5) Reviewing Godot code for engine best practices, (6) Any general Godot 4 question. Includes bundled engine reference docs for version 4.6 with breaking changes, deprecated APIs, current best practices, and module references.

概要

公開者fetasty
リポジトリgodot-skills
スキル名godot
スター
35
フォーク
0
同梱ファイル
12
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 12個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Godot Engine Specialist

This skill provides Godot 4.6 engine expertise: architecture, scene/node patterns, signals, resources, autoloads, project configuration, and engine best practices. Bundled reference docs cover breaking changes, deprecated APIs, and post-cutoff features the model may not know.

Version Awareness

CRITICAL: Training data has a May 2025 cutoff. The bundled references cover Godot 4.4 through 4.6. Before suggesting any Godot API, read these files:

  1. references/VERSION.md — current engine version
  2. references/deprecated-apis.md — avoid deprecated APIs
  3. references/breaking-changes.md — version-specific changes
  4. references/current-best-practices.md — new/updated patterns
  5. references/modules/<subsystem>.md — subsystem-specific reference

Key post-cutoff changes: Jolt Physics default (4.6), D3D12 default on Windows (4.6), glow before tonemapping (4.6), variadic arguments and @abstract in GDScript (4.5), stencil buffer and SMAA (4.5), Accessibility via AccessKit (4.5).

When in doubt, prefer APIs documented in the reference files over training data.

Language Decision Guide

LanguageBest ForAvoid For
GDScriptGame logic, rapid iteration, scenes, UI, prototyping, 2DHeavy computation, data processing >1000/frame
C#Complex systems, AI, data processing, unit-tested codeSimple behaviors, scenes needing fast iteration
GDExtensionHot paths >1000/frame, native libs, SIMD, multithreadingGame logic, prototypes, simple behaviors

Prefer signals over direct cross-language method calls at language boundaries.

Scene and Node Architecture

  • Prefer composition over inheritance — attach behavior via child nodes
  • Each scene should be self-contained and reusable
  • Use @onready for node references, never hardcoded distant paths
  • Scenes should have a single root node with a clear responsibility
  • Use PackedScene for instantiation
  • Keep the scene tree shallow — deep nesting causes performance and readability issues
  • Maximum inheritance depth: 3 levels after Node base class

Naming Conventions

GDScript:

  • Files: snake_case.gd matching class_name
  • Classes: PascalCase (class_name PlayerCharacter)
  • Functions/variables: snake_case (func calculate_damage(), var current_health: float)
  • Constants: SCREAMING_SNAKE_CASE (const MAX_SPEED: float = 500.0)
  • Signals: snake_case, past tense (signal health_changed, signal died)
  • Private members: prefix with _ (var _internal_state: int)
  • Scenes: snake_case.tscn matching root class

C#:

  • Files: PascalCase.cs matching class name
  • Classes: PascalCase
  • Public members: PascalCase
  • Private fields: _camelCase
  • Methods: PascalCase
  • Constants: PascalCase
  • Signal delegates: PascalCase + EventHandler
  • Scenes: PascalCase.tscn

Resource Management

  • Use Resource subclasses for data-driven content (items, abilities, stats)
  • Save shared data as .tres files, not hardcoded in scripts
  • Use load() for small resources, ResourceLoader.load_threaded_request() for large assets
  • Custom resources must implement _init() with default values
  • Use resource.duplicate() for per-instance data; use duplicate_deep() for nested trees (4.5+)

Signals

  • Use signals for decoupled communication
  • signal.emit(args) not emit_signal("name", args)
  • Connect via signal.connect(callable), never string-based connect()
  • Check is_connected() before connecting or use CONNECT_ONE_SHOT
  • Always include types in signal declarations
  • Prefer EventBus (autoload) for global events, direct signals for parent-child

Autoloads

  • Use sparingly — only for truly global systems:
    • EventBus — global signal hub
    • GameManager — game state (pause, scene transitions)
    • SaveManager — save/load system
    • AudioManager — music and SFX management
  • Autoloads must NOT hold references to scene-specific nodes
  • Never use autoloads as a dumping ground for utility functions

Performance

  • Minimize _process() and _physics_process() — disable with set_process(false) when idle
  • Use Tween for animations instead of manual interpolation in _process()
  • Object pooling for frequently instantiated scenes (projectiles, particles, enemies)
  • Use VisibleOnScreenNotifier2D/3D to disable off-screen processing
  • Use MultiMeshInstance for large numbers of identical meshes
  • Profile with Godot's built-in profiler and Performance singleton

Common Pitfalls

  • Using get_node() with long relative paths instead of signals or groups
  • Processing every frame when event-driven would suffice
  • Not freeing nodes (queue_free()) — memory leaks with orphan nodes
  • Connecting signals in _process() (connects every frame, massive leak)
  • Using @tool scripts without proper editor safety checks
  • Ignoring tree_exited signal for cleanup
  • Not using typed arrays: var enemies: Array[Enemy] = []

Tooling

ripgrep for GDScript: There is no gdscript type in ripgrep. *.gd files are registered under the gap type. Always use --glob "*.gd" or glob: "*.gd" in the Grep tool — --type gdscript produces a hard error.

同梱ファイル

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

よくある質問

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

Godot Engine 4 specialist: architecture patterns, scene/node design, signals, resources, autoloads, project settings, export presets, and engine-level decisions. Use when working on Godot 4 game projects for: (1) Designing scene/node architecture, (2) Deciding between GDScript vs C# vs GDExtension, (3) Setting up autoloads or singletons, (4) Configuring project settings or export presets, (5) Reviewing Godot code for engine best practices, (6) Any general Godot 4 question. Includes bundled engine reference docs for version 4.6 with breaking changes, deprecated APIs, current best practices,...

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

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

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

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

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

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

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

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

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

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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