godot-migration

Installation
SKILL.md

Migration and Porting (to 4.7)

Run it first: python scripts/migrate_scan.py [DIR] reports the project's Godot version (config_version=4 means Godot 3, 5 means Godot 4; config/features gives the 4.x minor) and every stale API with file, line and fix. --rule NAME filters by rule, --limit N caps the output. It's static and fast; it never edits files.

Always

  1. Commit or copy the project first. The converter and the editor rewrite files with no backup.
  2. Upgrade one step at a time where it's cheap: the latest 3.x (3.6) before 4.x; for 4.x projects, open them directly in 4.7.
  3. Let the editor import once (run_godot.py import), then loop: migrate_scan.py → fix → gd_check.py/cs_build.py → run_godot.py smoke until all are clean (godot-core verification loop).
  4. Re-save resources so the diffs stop: Project → Tools → Upgrade Project Files (rewrites .tscn/.tres in the 4.7 format; 4.6+ scenes carry unique_id=). Commit the *.uid files.
  5. Delete .godot/ if the editor shows ghost errors after the upgrade (it's a cache, and it rebuilds).
Installs
10
GitHub Stars
54
First Seen
8 days ago