godot-4-migration
Specialized guide for migrating Godot 3.x projects to Godot 4 (GDScript 2.0), covering syntax changes, Tweens, and exports.
npx skills add sickn33/agentic-awesome-skills --skill godot-4-migration --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Godot 4 Migration Guide ## Overview A critical guide for developers transitioning from Godot 3.x to Godot 4. This skill focuses on the major syntax changes in GDScript 2.0, the new `Tween` system, and `export` annotation updates. ## When to Use This Skill - Use when porting a Godot 3 project to Godot 4. - Use when encountering syntax errors after upgrading. - Use when replacing deprecated nodes (like `Tween` node vs `create_tween`). - Use when updating `export` variables to `@export` annotations. ## Key Changes ### 1. Annotations (`@`) Godot 4 uses `@` for keywords that modify behavior. - `export var x` -> `@export var x` - `onready var y` -> `@onready var y` - `tool` -> `@tool` (at top of file) ### 2. Setters and Getters Properties now define setters/getters inline. **Godot 3:** ```gdscript var health setget set_health, get_health func set_health(value): health = value ``` **Godot 4:** ```gdscript var health: int: set(value): health = value emit_signal("health_changed", health) get: return health ``` ### 3. Tween System The `Tween` node is deprecated. Use `create_tween()` in code. **Godot 3:** ```gdscript $Tween.interpolate_property(...) $Tween.start() ``` **Godot 4:** ```gdscri
- Overview
- When to Use This Skill
- Key Changes
- 1. Annotations (@)
- 2. Setters and Getters
- 3. Tween System
- 4. Signal Connections
- Examples
- Example 1: Typed Arrays
- Example 2: Awaiting Signals (Coroutines)
- Best Practices
- Troubleshooting
- Limitations
What does the godot-4-migration skill do?
Specialized guide for migrating Godot 3.x projects to Godot 4 (GDScript 2.0), covering syntax changes, Tweens, and exports.
How do I install it?
Run `npx skills add sickn33/agentic-awesome-skills --skill godot-4-migration --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From sickn33/agentic-awesome-skills, a repository with 44,414 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.