Compétences godot-4-migration
🎮

godot-4-migration

Sûr

Migrate Godot 3 to Godot 4

Game developers upgrading Godot projects face syntax errors and deprecated features. This skill provides a comprehensive guide for migrating GDScript 2.0 code with concrete examples.

Prend en charge: Claude Codex Code(CC)
📊 71 Adéquat
1

Télécharger le ZIP du skill

2

Importer dans Claude

Allez dans Paramètres → Capacités → Skills → Importer un skill

3

Activez et commencez Ă  utiliser

Tester

Utilisation de "godot-4-migration". Convert this Godot 3 code to Godot 4: export var speed = 10

Résultat attendu:

In Godot 4, use the @export annotation:

```gdscript
@export var speed: int = 10
```

You can also add type hints and inspector hints:
```gdscript
@export_range(1, 100) var speed: int = 10
```

Utilisation de "godot-4-migration". How do I use Tweens in Godot 4?

Résultat attendu:

The Tween node is deprecated. Use create_tween() method:

```gdscript
var tween = create_tween()
tween.tween_property($Sprite, 'position', Vector2(100, 100), 1.0)
tween.parallel().tween_property($Sprite, 'modulate:a', 0.0, 1.0)
```

Audit de sécurité

Sûr
v1 • 2/25/2026

All static findings are false positives. The skill contains only documentation for Godot 4 migration with GDScript code examples. No shell commands, cryptographic code, or system reconnaissance present.

1
Fichiers analysés
127
Lignes analysées
3
résultats
1
Total des audits
Problèmes à risque moyen (3)
False Positive: Shell Command Detection
Scanner flagged GDScript method calls like create_tween() and $Tween as shell commands. These are Godot game engine API calls, not system commands.
False Positive: Weak Cryptographic Algorithm
Scanner triggered on word 'deprecated' which contains character patterns matching crypto detection. No cryptographic code exists in this skill.
False Positive: System Reconnaissance
Scanner triggered on the word 'Problem:' in troubleshooting section. This is a documentation heading, not reconnaissance.
Audité par: claude

Score de qualité

38
Architecture
100
Maintenabilité
87
Contenu
50
Communauté
90
Sécurité
83
Conformité aux spécifications

Ce que vous pouvez construire

Port Game Projects

Systematically upgrade entire game projects from Godot 3.x to Godot 4 with step-by-step syntax guidance.

Fix Syntax Errors

Quickly resolve compilation errors when opening Godot 3 projects in Godot 4.

Learn GDScript 2.0

Understand the new features and patterns in GDScript 2.0 for new Godot 4 development.

Essayez ces prompts

Basic Migration Help
How do I convert an @export var in Godot 4? Show me the old and new syntax.
Tween System Migration
Convert this Godot 3 Tween code to Godot 4: $Tween.interpolate_property($Sprite, 'position', Vector2(0,0), Vector2(100,100), 1.0, 0, 0)
Signal Connection Update
How do I connect signals using callables in Godot 4 instead of connect('signal_name', self, '_handler')?
Full Project Assessment
List all the major syntax changes needed to migrate a Godot 3 project to Godot 4, with examples for each category.

Bonnes pratiques

  • Use @export_range, @export_file, and other @export annotations for better editor integration
  • Type all variables with explicit type hints for performance gains in GDScript 2.0
  • Use super() to call parent methods instead of the old .method_name() syntax

Éviter

  • Do not use emit_signal('name') when you can use name.emit() with the signal object
  • Do not use string-based signal connections like connect('pressed', self, '_handler')
  • Do not use yield() for coroutines - use await instead in Godot 4

Foire aux questions

Does this skill automatically convert my project files?
No, this skill provides guidance and examples. The actual conversion must be done manually or using Godot's built-in migration tools.
Can I migrate C# code with this skill?
No, this skill covers GDScript syntax only. C# migration requires separate considerations.
What is the main difference between GDScript 1.0 and 2.0?
GDScript 2.0 adds type hints, new annotation system (@export, @onready), inline setters/getters, and replaces yield with await.
How do I handle onready variables in Godot 4?
Use @onready annotation: @onready var sprite = $Sprite instead of onready var sprite = $Sprite
Is Tween node still available in Godot 4?
The Tween node is deprecated. Use create_tween() method in your script to create Tweens programmatically.
Can I use Godot 3 assets in Godot 4?
Most assets work, but some may need updating. Textures and meshes generally work, but scripts must be migrated to GDScript 2.0.

Détails du développeur

Structure de fichiers

đź“„ SKILL.md