This repository was archived by the owner on Nov 30, 2026. It is now read-only.
Repository navigation
Conversation
…#184) Godot native first; a .tscn is the layout with sample content; data-driven means data the editor writes. The ActionBar example is now an authored scene. The godot-devkit skill shows how to change a scene headless with Godot itself. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
No game calls either verb. Godot writes its own files: the editor, or a headless GDScript that saves with ResourceSaver. A removed verb exits 2 and names its replacement. The engine method and signal names in the classdb snapshot only served the rename and go with it (416 KB to 129 KB). The godot-devkit skill, README and CLAUDE.md now describe a read-side library with no scene-text write verbs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner
Author
|
Lead check of the headless scene-edit pattern in the godot-devkit skill (Godot 4.7.2, a throwaway project): it works.
|
Owner
Author
|
Two corrections from Trail's diet (cdowin/trail#816), which put the skill's pattern behind a
|
#185) Godot writes its own files. The devkit keeps one narrow writer, scene set and scene add, for inherited scenes a headless save damages (shader parameters, tile overrides). Removed: scene rename|rm|reparent|connect| disconnect|new, scene canonicalize and its editor-form modules, tiles paint|erase, refs --retarget, and check canonical|defaults|tres|test-shape| ui-layout|rng|warnings. A removed verb or rostered gate exits 2 and names its replacement. Dead document helpers go with them. The godot-devkit skill now uses _initialize(), says edit scripts must be idempotent and fail on SCRIPT ERROR, notes the first-save unique_id diff, and says when to use scene set/add. A fourth principle, run the scene not the game, joins godot-ui, godot-101 and the context block. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
cdowin
marked this pull request as ready for review
November 13, 2026 19:17
cdowin
enabled auto-merge
November 13, 2026 19:17
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #185
Closes #184
The devkit becomes a library of base primitives any Godot project wants, plus a few agent skills. Godot writes its own scene files: the editor, or a headless GDScript that loads a scene, edits it and saves it with
ResourceSaver. One narrow writer stays,scene setandscene add, because a headless save of an inherited scene loses shader parameters and tile overrides; each changes only its own lines. The studio games have dropped every removed command.Done here
godot-ui,godot-101/reference/ui.md(plus a "Data-driven UI" row in godot-101's pattern table and the fourth intesting-and-debugging.md) and theinstall-runnerscontext block: Godot native first; a.tscnis the layout with authored sample content, code only binds live data; "data-driven" means data the editor writes, never UI trees built in code; run the scene, not the game. The ActionBar example is now an authored scene.godot-devkitskill shows the headless GDScript pattern (_initialize(), so autoloads exist), says edit scripts must be idempotent and the wrapper must fail onSCRIPT ERROR(Godot exits 0 on a compile error), warns that the first save normalizesunique_idon a hand-written scene, and says when to usescene set/addinstead.[roster] checks, exits 2 and names its replacement.Keep or cut
The test: would any Godot project want this primitive, and does the editor or the model not already do it? Lines are Python source on
main.core/format/tscn.py,format/tscn_document.pyscene set/addandcheck uid --fixedit throughformat/classdb.pycheck propsformat/tilemap.pytilesreadformat/gdscript_syntax.py,index/gd_constants.py,index/gd_translations.py,write/pot.pypot: the editor's POT generator has no headless pathindex/gdscript.pycheck propsindex/uid_codec.py,index/uid_index.pyread/(scene, scene-diff, refs, orphans, autoloads, stats, tiles, fit plans)write/scene_edit.pysetandadd(now 385)checks/uid,props,tres_comment,unit_disk,patterns,addon,rosterinstall.py,skill_install.py,cli.pyMakefile.gates/tiers, sandbox hook, the four skillswrite/refs_rename.py,write/autoloads_edit.pyrefs <symbol>proves no caller is leftscene rename|rm|reparent|connect|disconnect|new(inscene_edit)write/scene_canonicalize.py,write/editor_layout.py,format/value_spelling.py,format/value_order.py,index/resource_canonical.py,resource_defaults.py,engine_defaults.py,gd_declarations.py,shader_uniforms.pywrite/refs_retarget.pywrite/tiles_paint.py,format/atlas_map.pyTileMapLayer.set_cell,set_cells_terrain_connectchecks/canonical,defaults,treschecks/test_shape,ui_layout,rng,warningsLines
mainclassdb.jsondrops the engine method and signal names only the rename read: 416 KB to 129 KB.Release notes
godot-devkit 5.0.0 retires scene text surgery and the style checks: Godot writes its own files, and the devkit keeps the read side,
scene set/addfor inherited scenes, outcome checks, runners and skills. major.Upgrade: drop each removed command and each removed gate from
[roster] checks, then bump the pin.scene rename|rm|reparent|connect|disconnect|newload→ edit with the node API (owner = rooton new nodes,CONNECT_PERSISTon signals) →PackedScene.pack→ResourceSaver.savescene canonicalizetiles paint|eraseTileMapLayer.set_cell,erase_cell,set_cells_terrain_connectin a headless GDScriptrefs --retargetrefs --renamerefs <symbol>autoloads add|rmProjectSettings.set_setting/clear+save()in a headless scriptcheck canonical|defaults|tres[roster] checks; the engine writes the formcheck test-shape|ui-layout|rng|warnings[roster] checks; keep a game scan if the rule matters to that gameStock
check allis nowprops tres-comment unit-disk; opt-inuid patterns addon.Wiki rows (draft, for a local session)
scene setandscene addwith the "inherited scenes" reason; add a "Changing scenes" section pointing at the skill's headless GDScript pattern.Gates
make check: shell PASS (16 scripts), godot-check PASS (3 checks).make test: 228 passed, 1 failed:test_fit_sweep::test_the_runner_fails_an_empty_scope…stops at "drawing needs a display" with noDISPLAYon a Mac; it fails the same way onmain.🤖 Generated with Claude Code