Scenekit game workflow
Skill gaelic-ghost/socket/plugins/game-dev-skills/skills/scenekit-game-workflow
Guide SceneKit game implementation, repair, and maintenance. Use when Codex works on SCNScene, SCNView, SCNNode, cameras, lights, materials, geometry, animation, 3D physics, .scn files, .scnassets, model assets, SceneKit and SwiftUI/AppKit/UIKit integration, or RealityKit migration handoffs.From its SKILL.md
npx -y skills add gaelic-ghost/socket --skill scenekit-game-workflowAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 6 stars6 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
4.5 KB, 935 tokens by cl100k_base, as published. Nobody here has run it
SceneKit Game Workflow
SwiftData And SwiftUI Rule
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.
Overview
Use this skill for game-specific SceneKit work after SceneKit has been chosen or when maintaining an existing SceneKit project. Keep generic Apple app lifecycle, project-integrity mechanics, and Swift source cleanup with their owner skills.
Source Check
Use Xcode MCP DocumentationSearch, Xcode-local documentation, Dash Apple API Reference docsets, or readable official Apple documentation before making SceneKit-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:
When new work is really modern 3D, spatial, or visionOS game work, consider RealityKit before deepening SceneKit-specific architecture. When maintaining an existing SceneKit project, preserve SceneKit unless the user asks for a migration.
Workflow
- Inspect the SceneKit surface:
import SceneKitSCNScene,SCNView,SCNNode,SCNCamera,SCNLight,SCNMaterial,SCNGeometry,SCNPhysicsWorld,SCNPhysicsBody, animation players, and delegates.scn,.scnassets,.dae,.obj,.usdz, textures, normal maps, environment maps, and animation assets- host SwiftUI/AppKit/UIKit views and project-resource membership
- Keep the scene graph readable:
- Name node ownership explicitly.
- Keep camera, lighting, physics, material, and asset-loading changes close to the scene or game subsystem that owns them.
- Avoid opaque node-name lookups for core gameplay unless the existing project already uses them deliberately.
- Choose migration posture:
- Maintain SceneKit for existing projects when the request is repair, content, performance, or incremental gameplay work.
- Consider RealityKit when the request is new spatial or visionOS-first work, entity-component design, or an explicit SceneKit-to-RealityKit migration.
- Consider Metal only when the work needs custom rendering or shader-level ownership beyond SceneKit's model.
- Validate honestly:
- Build and run through the repo's Xcode workflow.
- Inspect visual behavior in a running app, simulator, device, screenshot, or recording when possible.
- Use Instruments or
xctracehandoffs for frame pacing, CPU/GPU timing, memory, or asset-loading performance.
Handoffs
choose-apple-game-stackwhen SceneKit versus RealityKit versus Metal is still unclear.gameplaykit-simulation-workflowwhen entity-component modeling, state machines, pathfinding, agents, randomization, or simulation update order owns the work.xcode-game-profiling-workflowwhen SceneKit frame pacing, CPU/GPU overlap, material/asset cost, memory pressure, or trace evidence owns the work.game-controller-input-workflowfor controller, keyboard, mouse, and virtual-controller input.core-haptics-game-feedback-workflowfor haptic feedback.apple-dev-skills:xcode-build-run-workflowfor project membership, schemes, build, run, resources, and simulator mechanics.apple-dev-skills:xcode-testing-workflowfor XCTest, UI tests, Instruments,xctrace, and trace interpretation.
Output Shape
Return the SceneKit owner, changed or planned scene/assets, migration posture, validation path, and any manual visual, hardware, or profiling checks still required.
What ships with it: 1 file
303 B alongside SKILL.md
agents/
- openai.yaml303 B