[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71673336E9XQJD3VS3M5RFC":3,"skill-same:01M71673336E9XQJD3VS3M5RFC":59},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":33,"linkOnly":34,"markdownContent":35,"markdownBody":36,"frontMatter":37,"refName":39,"commitSha":40,"skillDirectory":41,"forksCount":14,"repositoryHtmlUrl":42,"repositoryHomepageUrl":6,"ownerHtmlUrl":43,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":44,"install":45,"resources":58},"01M71673336E9XQJD3VS3M5RFC","godot-4-migration",null,"Specialized guide for migrating Godot 3.x projects to Godot 4 (GDScript 2.0), covering syntax changes, Tweens, and exports.","sapsapshen\u002Fai-memory-router","sapsapshen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F20347959?v=4","01M6XDQEF1DP50DKF37H81J3J5","shenmian","01M6XDQEJPE41Y3DT2763X8ZJN",0,"MIT","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fgodot-4-migration\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32],"migration","godot 4 migration","godot","godot 4","safe","projects","syntax","specialized","guide","community","for","changes","gdscript","2026","2026-11-10 10:12:30",false,"---\nname: godot-4-migration\ndescription: \"Specialized guide for migrating Godot 3.x projects to Godot 4 (GDScript 2.0), covering syntax changes, Tweens, and exports.\"\nrisk: safe\nsource: community\ndate_added: \"2026-02-27\"\n---\n\n# Godot 4 Migration Guide\n\n## Overview\n\nA 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.\n\n## When to Use This Skill\n\n- Use when porting a Godot 3 project to Godot 4.\n- Use when encountering syntax errors after upgrading.\n- Use when replacing deprecated nodes (like `Tween` node vs `create_tween`).\n- Use when updating `export` variables to `@export` annotations.\n\n## Key Changes\n\n### 1. Annotations (`@`)\n\nGodot 4 uses `@` for keywords that modify behavior.\n- `export var x` -> `@export var x`\n- `onready var y` -> `@onready var y`\n- `tool` -> `@tool` (at top of file)\n\n### 2. Setters and Getters\n\nProperties now define setters\u002Fgetters inline.\n\n**Godot 3:**\n```gdscript\nvar health setget set_health, get_health\n\nfunc set_health(value):\n    health = value\n```\n\n**Godot 4:**\n```gdscript\nvar health: int:\n    set(value):\n        health = value\n        emit_signal(\"health_changed\", health)\n    get:\n        return health\n```\n\n### 3. Tween System\n\nThe `Tween` node is deprecated. Use `create_tween()` in code.\n\n**Godot 3:**\n```gdscript\n$Tween.interpolate_property(...)\n$Tween.start()\n```\n\n**Godot 4:**\n```gdscript\nvar tween = create_tween()\ntween.tween_property($Sprite, \"position\", Vector2(100, 100), 1.0)\ntween.parallel().tween_property($Sprite, \"modulate:a\", 0.0, 1.0)\n```\n\n### 4. Signal Connections\n\nString-based connections are discouraged. Use callables.\n\n**Godot 3:**\n```gdscript\nconnect(\"pressed\", self, \"_on_pressed\")\n```\n\n**Godot 4:**\n```gdscript\npressed.connect(_on_pressed)\n```\n\n## Examples\n\n### Example 1: Typed Arrays\n\nGDScript 2.0 supports typed arrays for better performance and type safety.\n\n```gdscript\n# Godot 3\nvar enemies = []\n\n# Godot 4\nvar enemies: Array[Node] = []\n\nfunc _ready():\n    for child in get_children():\n        if child is Enemy:\n            enemies.append(child)\n```\n\n### Example 2: Awaiting Signals (Coroutines)\n\n`yield` is replaced by `await`.\n\n**Godot 3:**\n```gdscript\nyield(get_tree().create_timer(1.0), \"timeout\")\n```\n\n**Godot 4:**\n```gdscript\nawait get_tree().create_timer(1.0).timeout\n```\n\n## Best Practices\n\n- ✅ **Do:** Use `@export_range`, `@export_file`, etc., for better inspector UI.\n- ✅ **Do:** Type all variables (`var x: int`) for performance gains in GDScript 2.0.\n- ✅ **Do:** Use `super()` to call parent methods instead of `.function_name()`.\n- ❌ **Don't:** Use string names for signals (`emit_signal(\"name\")`) if you can use the signal object (`name.emit()`).\n\n## Troubleshooting\n\n**Problem:** \"Identifier 'Tween' is not a valid type.\"\n**Solution:** `Tween` is now `SceneTreeTween` or just an object returned by `create_tween()`. You rarely type it explicitly, just use `var tween = create_tween()`.\n","# Godot 4 Migration Guide\n\n## Overview\n\nA 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.\n\n## When to Use This Skill\n\n- Use when porting a Godot 3 project to Godot 4.\n- Use when encountering syntax errors after upgrading.\n- Use when replacing deprecated nodes (like `Tween` node vs `create_tween`).\n- Use when updating `export` variables to `@export` annotations.\n\n## Key Changes\n\n### 1. Annotations (`@`)\n\nGodot 4 uses `@` for keywords that modify behavior.\n- `export var x` -> `@export var x`\n- `onready var y` -> `@onready var y`\n- `tool` -> `@tool` (at top of file)\n\n### 2. Setters and Getters\n\nProperties now define setters\u002Fgetters inline.\n\n**Godot 3:**\n```gdscript\nvar health setget set_health, get_health\n\nfunc set_health(value):\n    health = value\n```\n\n**Godot 4:**\n```gdscript\nvar health: int:\n    set(value):\n        health = value\n        emit_signal(\"health_changed\", health)\n    get:\n        return health\n```\n\n### 3. Tween System\n\nThe `Tween` node is deprecated. Use `create_tween()` in code.\n\n**Godot 3:**\n```gdscript\n$Tween.interpolate_property(...)\n$Tween.start()\n```\n\n**Godot 4:**\n```gdscript\nvar tween = create_tween()\ntween.tween_property($Sprite, \"position\", Vector2(100, 100), 1.0)\ntween.parallel().tween_property($Sprite, \"modulate:a\", 0.0, 1.0)\n```\n\n### 4. Signal Connections\n\nString-based connections are discouraged. Use callables.\n\n**Godot 3:**\n```gdscript\nconnect(\"pressed\", self, \"_on_pressed\")\n```\n\n**Godot 4:**\n```gdscript\npressed.connect(_on_pressed)\n```\n\n## Examples\n\n### Example 1: Typed Arrays\n\nGDScript 2.0 supports typed arrays for better performance and type safety.\n\n```gdscript\n# Godot 3\nvar enemies = []\n\n# Godot 4\nvar enemies: Array[Node] = []\n\nfunc _ready():\n    for child in get_children():\n        if child is Enemy:\n            enemies.append(child)\n```\n\n### Example 2: Awaiting Signals (Coroutines)\n\n`yield` is replaced by `await`.\n\n**Godot 3:**\n```gdscript\nyield(get_tree().create_timer(1.0), \"timeout\")\n```\n\n**Godot 4:**\n```gdscript\nawait get_tree().create_timer(1.0).timeout\n```\n\n## Best Practices\n\n- ✅ **Do:** Use `@export_range`, `@export_file`, etc., for better inspector UI.\n- ✅ **Do:** Type all variables (`var x: int`) for performance gains in GDScript 2.0.\n- ✅ **Do:** Use `super()` to call parent methods instead of `.function_name()`.\n- ❌ **Don't:** Use string names for signals (`emit_signal(\"name\")`) if you can use the signal object (`name.emit()`).\n\n## Troubleshooting\n\n**Problem:** \"Identifier 'Tween' is not a valid type.\"\n**Solution:** `Tween` is now `SceneTreeTween` or just an object returned by `create_tween()`. You rarely type it explicitly, just use `var tween = create_tween()`.\n",{"name":5,"risk":23,"source":28,"date_added":38,"description":7},"2026-02-27","main","7a38d8e7073e61c16eda85681cb32fb68a8657a5","skills-store\u002Fcursor\u002Fgodot-4-migration","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router","https:\u002F\u002Fgithub.com\u002Fsapsapshen","2026-04-14 21:12:12",{"source":8,"skillName":5,"commands":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add sapsapshen\u002Fai-memory-router --skill godot-4-migration",{"tool":51,"command":52},"bunx","bunx skills add sapsapshen\u002Fai-memory-router --skill godot-4-migration",{"tool":54,"command":55},"pnpm","pnpm dlx skills add sapsapshen\u002Fai-memory-router --skill godot-4-migration","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fgodot-4-migration\u002FSKILL.md",true,[],[60,70,77,85,91,99],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":64,"licenseFileUrl":65,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":69},"01M72R8PZX1ABFHJGTYPA4CAF1","webapp-testing","To test local web applications, write native Python Playwright scripts.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fwebapp-testing\u002FSKILL.md",[],[],"2026-11-10 22:39:42",{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":69},"01M72QG37MMZNDY7X7GXPAK5W6","python-packaging","Comprehensive guide to creating, structuring, and distributing Python packages using modern packaging tools, pyproject.toml, and publishing to PyPI.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fpython-packaging\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":64,"licenseFileUrl":81,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":69},"01M72NXR0QMP9G46TW6A2DH59C","canvas-design","These are instructions for creating design philosophies - aesthetic movements that are then EXPRESSED VISUALLY. Output only .md files, .pdf files, and .png files.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fcanvas-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fcanvas-design\u002FSKILL.md",[],[],{"skillNo":86,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":64,"licenseFileUrl":87,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":69},"01M72N55TK3EEQ4QK4AWDC2KZS","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":64,"licenseFileUrl":95,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":69},"01M72MTWC150CFAP4Y5GSNKF80","slack-gif-creator","A toolkit providing utilities and knowledge for creating animated GIFs optimized for Slack.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fslack-gif-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fslack-gif-creator\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":64,"licenseFileUrl":103,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":69},"01M72KPT3VVNSP88MNAY466TZT","frontend-design","You are a frontend designer-engineer, not a layout generator.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Ffrontend-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Ffrontend-design\u002FSKILL.md",[],[]]