Skip to content

Games ​

Skills for building games and interactive 3D experiences on Apple platforms using SpriteKit, SceneKit, and RealityKit.

Available Skills ​

SpriteKit ​

Complete guide to building 2D games with SpriteKit. Covers the scene graph model, physics engine (bitmask discipline, contact detection, body types), action system, game loop, performance optimization, and SwiftUI/Metal integration.

  • SpriteKit – Architecture, patterns, anti-patterns, and code review checklist

Game Input ​

Player input for games: on-screen touch controls with the TouchController framework (iOS/iPadOS), unified game controller handling through GCController, and the GameController additions new in the 27 releases (controller Home button settings, visionOS spatial accessories).

  • Game Input – Touch controller setup, control catalog, adaptive layouts, interaction patterns, controller additions

SceneKit ​

3D scene graph framework for rendering, animations, and physics:

  • SceneKit – Scene graphs, materials, animations, SceneKit → RealityKit migration
  • SceneKit API – Complete SceneKit API reference and concept mapping

RealityKit ​

Entity-Component-System framework for AR and 3D content:

Metal Migration ​

Porting OpenGL/DirectX rendering to Metal:

USDKit ​

Working with USD/USDZ 3D scene files in Swift (new in the 27 releases): opening and traversing stages, editing prims and attributes, exporting compressed USDZ packages, and rendering stages directly in RealityKit.

  • USDKit – Stages, traversal, editing, AccessibilityAPI schema, compressed export, USDStageComponent

Available Agents ​

  • spritekit-auditor – Scans SpriteKit code for physics bitmask issues, draw call waste, node accumulation, and action memory leaks

Available References ​

  • SpriteKit API – All 16 node types, physics body creation, complete action catalog, texture atlases, constraints, particles, SKRenderer

Available Diagnostics ​

  • SpriteKit Diagnostics – Decision trees for contacts not firing, tunneling, frame drops, touch bugs, memory spikes, coordinate confusion, transition crashes

Example Prompts ​

  • "I'm building a SpriteKit game"
  • "My physics contacts aren't firing"
  • "Frame rate is dropping in my game"
  • "I'm porting my game to iPhone — how do I add touch controls?"
  • "How do I handle game controller input?"
  • "How do I set up SpriteKit with SwiftUI?"
  • "Objects pass through walls in my game"
  • "My game's layout breaks when the window is resized (iOS 27)"
  • "Audit my SpriteKit code for issues"
  • "How do I migrate from SceneKit to RealityKit?"
  • "My RealityKit entities aren't loading"
  • "I need to port my OpenGL renderer to Metal"

Released under the MIT License