Guides GameplayKit simulation and gameplay-architecture work including GKEntity, GKComponent, GKStateMachine, agents, pathfinding, and SpriteKit/SceneKit integration.
Ships in game-dev-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
When a task combines SwiftData with SwiftUI, keep SwiftData directly coupled to SwiftUI through Apple's data-driven path: modelContainer, environment modelContext, @Query, SwiftData model objects, and bindings. Do not add repositories, stores, service layers, DTO mirrors, view-model caches, wrapper objects, or other abstraction layers between SwiftData and SwiftUI. If this skill is not the right owner for SwiftData-backed SwiftUI work, hand off to apple-dev-skills:swiftui-app-architecture-workflow instead of inventing an intermediate data layer.
Use this skill when the problem is gameplay logic rather than rendering. GameplayKit is the owner when entities, components, systems, states, agents, pathfinding, or reproducible gameplay services need to stay separate from SpriteKit, SceneKit, RealityKit, SwiftUI, or ad hoc view code.
Use Xcode MCP DocumentationSearch, Xcode-local documentation, Dash Apple API Reference docsets, or readable official Apple documentation before making GameplayKit-specific claims. Generic no-JS web search/open results, snippets, metadata shells, or bare Apple Developer URLs are not enough evidence that Apple docs were read:
Apple documents GameplayKit as a framework for organizing game logic and providing reusable gameplay features such as random number generation, AI, pathfinding, and agent behavior. Use that boundary to keep simulation out of renderer-specific code unless the project intentionally couples them.
import GameplayKitGKEntity, GKComponent, GKComponentSystemGKState, GKStateMachineGKGraph, GKGraphNode, GKGridGraphGKAgent, GKAgent2D, GKAgent3D, GKGoal, GKBehavior, GKPathGKRandomSource, GKRandomDistribution, GKRuleSystemGKScene, GKSKNodeComponent, and SpriteKit scene-editor integrationGKSKNodeComponent or explicit adapter components when SpriteKit nodes and GameplayKit entities need to stay synchronized.spritekit-game-workflow when SpriteKit scene, node, action, physics, or .sks behavior owns the work.scenekit-game-workflow when SceneKit scene graph, assets, camera, lighting, or 3D physics owns the work.xcode-game-profiling-workflow when per-frame component updates, pathfinding, agents, or renderer synchronization become performance-sensitive.swift-lang for general Swift API design, concurrency, error handling, source organization, or test style that is not game-specific.apple-dev-skills:xcode-testing-workflow for Xcode test plans, UI tests, Instruments, xctrace, or test execution mechanics.Return the GameplayKit owner, selected GameplayKit surface, renderer synchronization boundary, files or systems changed, pure-test path, integration validation path, and remaining open gameplay decisions.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
12 skills in this plugin
/choose-apple-game-stackChoose the right Apple platform game-development stack before implementation. Use when Codex needs to route a game task across SpriteKit, SceneKit, RealityKit, Metal, GameplayKit, Game Controller, Core Haptics, GameKit, SwiftUI/AppKit/UIKit host surfaces, assets, profiling, or Apple Dev Skills handoffs./core-haptics-game-feedback-workflowGuide Core Haptics and game feedback work for Apple games. Use when Codex designs, implements, repairs, or validates CHHapticEngine, CHHapticPattern, audio-haptic feedback, controller haptics, capability checks, fallback behavior, accessibility-sensitive feedback, or physical-device haptic validation./game-controller-input-workflowGuide Apple Game Controller framework input work for games. Use when Codex works on GCController, GCDevice, extended gamepad mappings, virtual controllers, keyboard and mouse game input, controller connection lifecycle, controller haptics handoffs, input evidence, accessibility alternatives, or device-aware validation./game-porting-toolkit-workflowSelect and operate Apple Game Porting Toolkit 3 or 4 for bringing an existing Windows game or engine to Apple platforms. Use when Codex encounters a Windows executable, Direct3D, Vulkan, DXIL, Metal Shader Converter, GPTK evaluation, a porting milestone, or the upstream game-porting-skills plugin; route native Metal renderer work to metal-game-rendering-workflow./metal-asset-streaming-workflowGuide Metal game asset residency and streaming for textures, meshes, mipmaps, heaps, residency sets, sparse resources, and fast resource loading. Use when Codex investigates GPU memory pressure, streaming hitches, resource lifetime, texture or mesh upload, sparse texture mapping, or asset budgets in a Metal renderer; do not use for generic asset-catalog or SceneKit resource work./metalfx-game-rendering-workflowGuide native Apple-game MetalFX integration for spatial or temporal upscaling, frame interpolation, and temporal denoising. Use when Codex works with MetalFX descriptors, jitter, motion vectors, depth, exposure, history, dynamic resolution, present threads, or MetalFX performance validation; use Game Porting Toolkit guidance for a D3D or Vulkan port./game-dev-skills:gameplaykit-simulation-workflowfrom game-dev-skills
npx claudepluginhub gaelic-ghost/socket --plugin game-dev-skillsOther plugins' skills for the same job