godot-editor-tooling
Skill54 starsChanged 13 days agoMITView on GitHub
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.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- MindsMaster/godot-claude-code-skillstheir own version, first seen Oct 25, 2026
- MRCalderon3D/everything-game-dev-codetheir own version, first seen Oct 13, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- MRCalderon3D/everything-game-dev-code★ 105same name
- MindsMaster/godot-claude-code-skills★ 3same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository28 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- godot-2dSkill
- godot-3d-gameplaySkill
- godot-3d-renderingSkill
- godot-addonsSkill
- godot-animationSkill
- godot-architectureSkill
- godot-audioSkill
- godot-coreSkill
- godot-csharpSkill
- godot-export-ciSkill
- godot-game-feelSkill
- godot-gdscriptSkill
- godot-inputSkill
- godot-migrationSkill
- godot-mobile-webSkill
- godot-modding-dlcSkill
- godot-narrativeSkill
- godot-navigation-aiSkill
- godot-networkingSkill
- godot-performanceSkill
- godot-physicsSkill
- godot-proceduralSkill
- godot-shaders-vfxSkill
- godot-testing-debugSkill
- godot-uiSkill
- godot-xrSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Check editor APIs with ../godot-core/scripts/api_lookup.py.
- Very specific: line 17
Every class the tool script calls on must also be @tool, or it runs as a placeholder.
- Very specific: line 30
Docks (4.6+): create an EditorDock (experimental), set title, default_slot (DOCK_SLOT_LEFT_UL … DOCK_SLOT_BOTTOM for bottom panels) and …
- Distinctive: line 42
Use it when you need C++ (or Rust/Swift bindings) speed, or native SDKs (Steam, platform services).
- Very specific: line 47
Put everything under addons/<name>/ (LICENSE, README, plugin.cfg, icons) and avoid absolute paths outside it.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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 withif 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_rootto be saved with the scene. - Configuration warnings: override
_get_configuration_warnings() -> PackedStringArrayand callupdate_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), thennotify_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/<name>/)
plugin.cfg(name,description,author,version,script) plus a@tool extends EditorPluginscript. Enable it in Project Settings → Plugins. Enabled plugins are listed inproject.godot [editor_plugins].- Pair every
_enter_treeadd with an_exit_treeremove. Plugins get disabled and re-enabled during development. - Docks (4.6+): create an
EditorDock(experimental), settitle,default_slot(DOCK_SLOT_LEFT_UL…DOCK_SLOT_BOTTOMfor bottom panels) andavailable_layouts, add your UI as a child, thenadd_dock(dock)/remove_dock(dock).add_control_to_dockandadd_control_to_bottom_panelare 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")overadd_custom_type. EditorInterface(a singleton) gives youget_edited_scene_root(),get_selection(),get_resource_filesystem().scan(),edit_node(),open_scene_from_path(),get_editor_settings()andget_base_control()for theme colors.
Import pipeline
- Per-asset scene tweaks: an
EditorScenePostImportscript (_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(viaadd_scene_post_import_plugin). - New file formats:
EditorImportPlugin(_get_recognized_extensions,_get_save_extension,_get_resource_type,_get_import_options,_import→ResourceSaver.savetosave_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
.gdextensionfile defines the entry symbol,compatibility_minimum = "4.7"and per-platform libraries. Build againstgodot-cppmatching the engine (--dump-extension-apigenerates 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
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

