Skip to content

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.

docs(skills): Jolt physics, StateTree, Steam wait, Yarn Spinner 3

Kiro Crewe4e956918cfb
diff --git a/skills/disciplines/dialogue-systems/SKILL.md b/skills/disciplines/dialogue-systems/SKILL.md
index 1abfd12..04066b2 100644
--- a/skills/disciplines/dialogue-systems/SKILL.md
+++ b/skills/disciplines/dialogue-systems/SKILL.md
@@ -121,12 +121,13 @@ The guard blocks the gate.
Ink tracks how often each knot was seen, so `{visited_knot}` is a built-in
condition. Variables are global (`VAR`) or temporary (`~ temp`).
-### 4. Yarn Spinner — nodes, options, and commands (Yarn 2.x)
+### 4. Yarn Spinner — nodes, options, and commands (Yarn Spinner 3.x)
```yarn
title: GuardIntro
---
<<declare $gold = 60>>
+<<declare $gate_open = false>>
Guard: You can't pass.
-> Offer 50 gold <<if $gold >= 50>>
<<set $gold = $gold - 50>>
@@ -139,7 +140,9 @@ Guard: You can't pass.
Yarn lines may start with `Speaker:`; options use `->`; `<<set>>`/`<<declare>>`
manage `$variables`; `<<if>>` gates an option; `<<jump NodeName>>` moves between
-nodes. Interpolate values in text with `{$gold}`.
+nodes. Interpolate values in text with `{$gold}`. Declare every variable before first
+use: an undeclared one still compiles (Yarn infers its type and a zero/false/empty
+start value), but that hides typos. These constructs are unchanged from Yarn Spinner 2.x.
## Pitfalls
diff --git a/skills/disciplines/dialogue-systems/references/ink-and-yarn.md b/skills/disciplines/dialogue-systems/references/ink-and-yarn.md
index 75a12a2..140777d 100644
--- a/skills/disciplines/dialogue-systems/references/ink-and-yarn.md
+++ b/skills/disciplines/dialogue-systems/references/ink-and-yarn.md
@@ -7,7 +7,7 @@ consult the official docs for the full language.
## Side-by-side
-| Concept | Ink (inkle) | Yarn Spinner 2.x |
+| Concept | Ink (inkle) | Yarn Spinner 3.x |
|---|---|---|
| Unit of content | **knot** `=== name ===` (sub-units = stitches `= name`) | **node** with `title:` header, body between `---` and `===` |
| Plain line | bare text | bare text, optional `Speaker:` prefix |
diff --git a/skills/godot/godot-physics/SKILL.md b/skills/godot/godot-physics/SKILL.md
index 5783ba4..b693401 100644
--- a/skills/godot/godot-physics/SKILL.md
+++ b/skills/godot/godot-physics/SKILL.md
@@ -5,14 +5,17 @@ description: >
Area, and CharacterBody; collision layers vs masks; contact/overlap signals; and
raycasts (RayCast nodes and direct space-state queries). Use when configuring
collision layers/masks, detecting overlaps with Area2D/Area3D, applying forces to a
- RigidBody, or casting rays in a Godot project (.tscn with physics bodies).
+ RigidBody, or casting rays in a Godot project (.tscn with physics bodies), including
+ 3D projects running Jolt Physics, the default 3D engine for projects created in 4.6+.
---
# Godot Physics (4.x, 2D + 3D)
Pick the right physics body, wire up collision layers/masks, detect overlaps, and cast
rays. Concepts apply to both 2D and 3D (swap the `2D`/`3D` suffix). Targets
-**Godot 4.7**.
+**Godot 4.7**. In 3D, projects created with Godot 4.6 or later run **Jolt Physics** by
+default; older projects keep **GodotPhysics3D** unless someone switched them. 2D always
+uses Godot's own 2D engine.
## When to use
@@ -26,20 +29,24 @@ rays. Concepts apply to both 2D and 3D (swap the `2D`/`3D` suffix). Targets
## Core workflow
-1. **Choose the body type:**
+1. **For 3D, check which engine runs** before debugging behavior: Project Settings >
+ Physics > 3D > Physics Engine (`[physics]` `3d/physics_engine="Jolt Physics"` in
+ `project.godot`). The API is the same, but joints, ray-cast face indices, kinematic
+ contacts, and collision margins behave differently (see Pitfalls).
+2. **Choose the body type:**
- `StaticBody` — never moves (floors, walls). Collides, no simulation.
- `RigidBody` — fully simulated (gravity, forces, bouncing). Don't set its
`position` directly; apply forces/impulses or set `linear_velocity`.
- `CharacterBody` — script-driven kinematic (see `godot-2d-movement`).
- `Area` — detects overlaps and can apply gravity/damping; no solid collision.
Every body needs a `CollisionShape` (or `CollisionPolygon`) child.
-2. **Configure layers and masks.** A body is *on* its **layers** and *scans for* its
+3. **Configure layers and masks.** A body is *on* its **layers** and *scans for* its
**masks**. Two bodies interact only if one's layer is in the other's mask. Name layers
in Project Settings > Layer Names for clarity.
-3. **Detect overlaps** with `Area` signals (`body_entered`, `area_entered`).
-4. **Drive RigidBodies with forces/impulses**, or override `_integrate_forces` for full
+4. **Detect overlaps** with `Area` signals (`body_entered`, `area_entered`).
+5. **Drive RigidBodies with forces/impulses**, or override `_integrate_forces` for full
control.
-5. **Cast rays** with a `RayCast2D/3D` node (polled each frame) or a one-shot space-state
+6. **Cast rays** with a `RayCast2D/3D` node (polled each frame) or a one-shot space-state
query from code.
## Patterns
@@ -124,11 +131,34 @@ func ground_under(global_from: Vector2) -> Dictionary:
- **`intersect_ray` excludes its own body?** Pass `query.exclude = [self.get_rid()]` (an
`Array[RID]`, not an array of nodes) to skip self-hits.
+### Jolt Physics (3D) differences
+
+- **`face_index` is always `-1`** in `intersect_ray()` / `RayCast3D` results under Jolt.
+ Turn on Project Settings > Physics > Jolt Physics 3D > Queries > Enable Ray Cast Face
+ Index if you need it (it costs roughly 25% more memory for `ConcavePolygonShape3D`).
+- **A joint with only one body gets inverted limits after switching engines.** Jolt treats
+ the lone body as `node_b` with `node_a` as the world; GodotPhysics3D always treats it as
+ `node_a`. Assign the body to the slot Jolt expects, or use Physics > Jolt Physics 3D >
+ Joints > World Node for compatibility with an older project.
+- **Joint soft-limit properties do nothing** under Jolt (e.g. `bias`/`softness`/
+ `relaxation` on Pin, Hinge and ConeTwist joints; limit softness/restitution/damping on
+ Slider and Generic6DOF joints). Godot warns when they are set to non-default values.
+- **A frozen kinematic `RigidBody3D` reports no contacts** with static or kinematic bodies,
+ even with `max_contacts_reported > 0`. Enable Physics > Jolt Physics 3D > Simulation >
+ Generate All Kinematic Contacts if gameplay depends on those contacts.
+- **Shape `margin` shrinks the shape instead of padding it** under Jolt, so sizes stay
+ true but shape queries can return odd normals on small shapes; the effective margin comes
+ from Physics > Jolt Physics 3D > Collisions > Collision Margin Fraction.
+- **`Area3D` now fires `body_entered` for `SoftBody3D`** under Jolt (GodotPhysics3D never
+ did). Filter soft bodies out with layers/masks if the old behavior is expected.
+
## References
- For `_integrate_forces`, joints, one-way collision, `PhysicsServer` direct access,
shape queries (`intersect_shape`), and 3D `move_and_collide`, read
`references/bodies-and-queries.md`.
+- Jolt specifics: Godot docs "Using Jolt Physics"
+ (`https://docs.godotengine.org/en/stable/tutorials/physics/using_jolt_physics.html`).
## Related skills
diff --git a/skills/other-engines/pygame-core/SKILL.md b/skills/other-engines/pygame-core/SKILL.md
index 9a53490..2f7a68b 100644
--- a/skills/other-engines/pygame-core/SKILL.md
+++ b/skills/other-engines/pygame-core/SKILL.md
@@ -12,7 +12,7 @@ description: >
Build the foundation of a pygame game in Python: the main loop, delta-time
movement, drawing with `Surface`/`Rect`, input, and `Sprite`/`Group` management.
-Targets **pygame-ce 2.5.7** (the actively maintained community fork; same
+Targets **pygame-ce 2.5.8** (the actively maintained community fork; same
`import pygame`).
## When to use
diff --git a/skills/unreal/unreal-behavior-trees/SKILL.md b/skills/unreal/unreal-behavior-trees/SKILL.md
index 39770fb..5d5d230 100644
--- a/skills/unreal/unreal-behavior-trees/SKILL.md
+++ b/skills/unreal/unreal-behavior-trees/SKILL.md
@@ -25,6 +25,13 @@ it from an AIController. Targets **UE 5.8**.
`game-ai`. Pure navigation/pathing math is engine navmesh (BT's `MoveTo` uses it). Simple
one-off logic may be cheaper as a small state machine than a full tree.
+**Behavior Tree or StateTree?** UE 5.8 ships both, and Behavior Trees are not deprecated.
+StateTree is Epic's general-purpose hierarchical state machine: it combines BT-style
+selection with explicit States and Transitions. If the project already uses StateTree
+assets, or the AI is naturally a set of modes with clear transitions (patrol → alert →
+combat), check with the user before adding a Behavior Tree next to it. Keep using Behavior
+Trees where the project already has `BT_`/`BB_` assets.
+
## Core workflow
1. **Create the pair:** a Blackboard (`BB_`) holds typed keys (the AI's memory: `TargetActor`,
diff --git a/skills/workflows/steam-publish/SKILL.md b/skills/workflows/steam-publish/SKILL.md
index 28b2d57..a935b36 100644
--- a/skills/workflows/steam-publish/SKILL.md
+++ b/skills/workflows/steam-publish/SKILL.md
@@ -31,7 +31,9 @@ and their own counsel.
1. **Partner account + Steam Direct fee.** Each new app requires the Steam Direct recoupable
fee (USD $100 per app at time of writing). You receive an **App ID** — find it on your
- Steamworks homepage. Treat the App ID as the key to everything below.
+ Steamworks homepage. Treat the App ID as the key to everything below. For your first few
+ titles, Valve also enforces a **21-day wait** between paying the app fee and releasing
+ that game, so pay it well before the planned launch date.
2. **A dedicated build account with least privilege.** Builds require a Steam account in your
partner group with **Edit App Metadata** and **Publish App Changes To Steam**. Create a
*separate* build account with only those permissions (not your admin login). Releasing the
@@ -56,8 +58,8 @@ and their own counsel.
failures.
2. **Build the store page (presence track).** Fill graphical assets, description, tags,
trailers, system requirements. When complete, click **Mark as ready for review**. Store
- review takes ~3-5 business days; submit at least **7 days** before you want it live. It
- must be in **Coming Soon** for at least **2 weeks** before release.
+ review takes ~3-5 business days; submit at least **7 business days** before you want it
+ live. It must be in **Coming Soon** for at least **2 weeks** before release.
3. **Create your build scripts.** Start with the simple app-build `.vdf` in Patterns below;
for multi-depot/multi-platform apps use depot scripts (see the reference). The script maps
local files into depots and names where build output/logs go.
@@ -170,7 +172,8 @@ BuildID. The build is NOT live yet; set it live per the workflow above.
read `references/steampipe-build-scripts.md`.
- Primary docs: Steamworks "Uploading to Steam" (`partner.steamgames.com/doc/sdk/uploading`),
"Release Process" (`/doc/store/releasing`), "Branches (Betas)" (`/doc/store/application/branches`),
- "Depots" (`/doc/store/application/depots`).
+ "Depots" (`/doc/store/application/depots`), "Onboarding" (`/doc/gettingstarted/onboarding`,
+ first-title waiting periods), "Review Process" (`/doc/store/review_process`).
## Related skills