77 game-dev skills for AI coding agents — Godot, Unity, Unreal, Phaser, PixiJS, three.js, Bevy, pygame, LÖVE, Roblox. Portable SKILL.md Agent Skills (the format Anthropic launched as Claude Skills), with a router that loads the right skill for your engine and task. Runs in Claude Code, Cursor, Kiro, Codex, Copilot, Gemini CLI and more.
Python agent-skillsai-agentsantigravityawesome-listclaude-codeclinecodexcursorgame-devgame-developmentgamedevgemini-cligithub-copilotgodotkirooh-my-piskillsunityunrealwindsurf
fix(unreal): describe Live Coding reinstancing accurately, add GC options for non-UObject owners and headless test run
Kiro Crew284ee03d7c24
diff --git a/skills/unreal/unreal-cpp-gameplay/SKILL.md b/skills/unreal/unreal-cpp-gameplay/SKILL.mdindex f898a23..7518523 100644--- a/skills/unreal/unreal-cpp-gameplay/SKILL.md+++ b/skills/unreal/unreal-cpp-gameplay/SKILL.md@@ -40,8 +40,11 @@ the C++ class/reflection foundation those build on.`UActorComponent` is reusable behaviour.6. **Add module dependencies** to `*.Build.cs` (e.g. `EnhancedInput`) or unresolved-symbollink errors follow.-7. **Verify** by compiling (Live Coding `Ctrl+Alt+F11` for function bodies; full rebuild for- header/UPROPERTY changes) and checking the class/properties appear in the editor.+7. **Verify** by compiling (Live Coding `Ctrl+Alt+F11` from the editor, or a full build from+ the IDE with the editor closed) and checking the class/properties appear in the editor. For+ automation tests, run headless with+ `UnrealEditor-Cmd <Project>.uproject -ExecCmds="Automation RunTest MyGame;Quit"`+ (`RunTest` takes a test name, a dotted prefix, or `Group:<name>`).## Patterns@@ -121,8 +124,10 @@ PublicDependencyModuleNames.AddRange(new string[]thing inside the class body.- **Raw `UObject*` without `UPROPERTY`** — the garbage collector doesn't see it and may destroyit out from under you. Track every UObject pointer with `UPROPERTY` (use `TObjectPtr` in UE5).-- **Header/UPROPERTY edits with Live Coding** — Live Coding handles function bodies, but- changes to `UCLASS`/`UPROPERTY`/headers need a full editor restart + rebuild.+- **Header/UPROPERTY edits with Live Coding** — function-body edits are reliable. Structural+ changes (new functions, new `UPROPERTY`s) rely on Object Reinstancing, which is on by default+ but less stable; code that caches pointers to reinstanced objects must refresh them. If the+ editor or Blueprints misbehave after such a change, close the editor and build from the IDE.- **Wrong class prefix** — naming an Actor `UFoo` (or a component `AFoo`) breaks UHT; match theprefix to the base type.- **Unresolved external symbol at link** — the module providing the API isn't in `Build.cs`@@ -132,7 +137,8 @@ PublicDependencyModuleNames.AddRange(new string[]## References- For `UActorComponent` creation/attachment, the `UPROPERTY` garbage-collection ownership rules- (`TObjectPtr`, `TArray<TObjectPtr<>>`, `AddToRoot`), and a replication primer, read+ (`TObjectPtr`, `TArray<TObjectPtr<>>`, `TWeakObjectPtr`, holding UObjects from plain C+++ classes), and a replication primer, read`references/components-and-gc.md`.- Primary docs: "Unreal Engine CPP Quick Start" and "Gameplay Framework"(`https://dev.epicgames.com/documentation/en-us/unreal-engine/gameplay-framework-in-unreal-engine`).diff --git a/skills/unreal/unreal-cpp-gameplay/references/components-and-gc.md b/skills/unreal/unreal-cpp-gameplay/references/components-and-gc.mdindex 1bad1a9..f4e396a 100644--- a/skills/unreal/unreal-cpp-gameplay/references/components-and-gc.md+++ b/skills/unreal/unreal-cpp-gameplay/references/components-and-gc.md@@ -55,6 +55,11 @@ Rules:value.- For a UObject you create that has no UPROPERTY owner (rare), `AddToRoot()` pins it and`RemoveFromRoot()` releases it — but prefer proper ownership.+- A plain C++ class (not a UObject) can't use `UPROPERTY`. Hold UObjects there with+ `TStrongObjectPtr<T>`, or derive from `FGCObject` and report them in `AddReferencedObjects`+ (it also requires `GetReferencerName`).+- For references that must *not* keep the target alive (a cached target actor, a listener),+ use `TWeakObjectPtr<T>` and check `IsValid()`/`Get()` before each use.## USTRUCT and UENUM for reflected data