Axiom ios games

From ComeOnOliver/skillshub · View interactive version

Axiom ios games is an AI agent skill from the GitHub repository ComeOnOliver/skillshub. Use when building ANY 2D or 3D game, game prototype, or interactive simulation with SpriteKit, SceneKit, or RealityKit. Covers scene graphs, ECS architecture, physics, actions, game loops, rendering, SwiftUI integration, SceneKit migration.

How to use this skill

Skill file

iOS Games Router

You MUST use this skill for ANY game development, SpriteKit, SceneKit, RealityKit, or interactive simulation work.

When to Use

Use this router when:

Routing Logic

SpriteKit (2D)

Architecture, patterns, and best practices → /skill axiom-spritekit

API reference and lookup → /skill axiom-spritekit-ref

Troubleshooting and diagnostics → /skill axiom-spritekit-diag

Automated scanning → Launch spritekit-auditor agent or /axiom:audit spritekit (physics bitmasks, draw call waste, node accumulation, action memory leaks, coordinate confusion, touch handling, missing object pooling, missing debug overlays)

SceneKit (3D — Deprecated)

SceneKit is soft-deprecated as of iOS 26. Use for maintenance of existing code only. New 3D projects should use RealityKit.

Maintenance and migration planning → /skill axiom-scenekit

API reference and migration mapping → /skill axiom-scenekit-ref

RealityKit (3D — Modern)

For non-game 3D content display (product viewers, AR try-on, spatial computing), the ios-graphics router also routes to these RealityKit skills.

Architecture, ECS, and best practices → /skill axiom-realitykit

API reference and lookup → /skill axiom-realitykit-ref

Troubleshooting and diagnostics → /skill axiom-realitykit-diag

Decision Tree

  1. Building/designing a 2D SpriteKit game? → axiom-spritekit
  2. How to use a specific SpriteKit API? → axiom-spritekit-ref
  3. SpriteKit broken or performing badly? → axiom-spritekit-diag
  4. Maintaining existing SceneKit code? → axiom-scenekit
  5. SceneKit API reference or migration mapping? → axiom-scenekit-ref
  6. Building new 3D game or experience? → axiom-realitykit
  7. How to use a specific RealityKit API? → axiom-realitykit-ref
  8. RealityKit entity not visible, gestures broken, performance? → axiom-realitykit-diag
  9. Migrating SceneKit to RealityKit? → axiom-scenekit (migration tree) + axiom-scenekit-ref (mapping table)
  10. Building AR game? → axiom-realitykit
  11. Physics contacts not working (SpriteKit)? → axiom-spritekit-diag (Symptom 1)
  12. Frame rate dropping (SpriteKit)? → axiom-spritekit-diag (Symptom 3)
  13. Coordinate/position confusion (SpriteKit)? → axiom-spritekit-diag (Symptom 6)
  14. Need the complete action list? → axiom-spritekit-ref (Part 3)
  15. Physics body setup reference? → axiom-spritekit-ref (Part 2)
  16. Entity not visible (RealityKit)? → axiom-realitykit-diag (Symptom 1)
  17. Gesture not responding (RealityKit)? → axiom-realitykit-diag (Symptom 3)
  18. Want automated SpriteKit code scan? → spritekit-auditor (Agent)

Anti-Rationalization

| Thought | Reality |

|---------|---------|

| "SpriteKit is simple, I don't need a skill" | Physics bitmasks default to 0xFFFFFFFF and cause phantom collisions. The bitmask checklist catches this in 2 min. |

| "I'll just use SKShapeNode, it's quick" | Each SKShapeNode is a separate draw call. 50 of them = 50 draw calls. axiom-spritekit has the pre-render-to-texture pattern. |

| "I can figure out the coordinate system" | SpriteKit uses bottom-left origin (opposite of UIKit). Anchor points add another layer. axiom-spritekit-diag Symptom 6 resolves in 5 min. |

| "Physics is straightforward" | Three different bitmask properties, modification rules inside callbacks, and tunneling edge cases. axiom-spritekit Section 3 covers all gotchas. |

| "The performance is fine on my device" | Performance varies dramatically across devices. axiom-spritekit Section 6 has the debug overlay checklist. |

| "SceneKit is fine for our new project" | SceneKit is soft-deprecated iOS 26. No new features, only security patches. axiom-scenekit has the migration decision tree. |

| "I'll learn RealityKit later" | Every line of SceneKit is migration debt. axiom-scenekit-ref has the concept mapping table so the transition is concrete, not abstract. |

| "ECS is overkill for a simple 3D app" | You're already using ECS — Entity + ModelComponent. axiom-realitykit shows how to scale from simple to complex. |

| "I don't need collision shapes for taps" | RealityKit gestures require CollisionComponent. axiom-realitykit-diag diagnoses this in 2 min vs 30 min guessing. |

| "I'll just use a Timer for game updates" | Timer-based updates miss frames and aren't synchronized with rendering. axiom-realitykit has the System pattern. |

Critical Patterns

axiom-spritekit:

axiom-spritekit-ref:

axiom-spritekit-diag:

axiom-scenekit:

axiom-scenekit-ref:

axiom-realitykit:

axiom-realitykit-ref:

axiom-realitykit-diag:

Example Invocations

User: "I'm building a SpriteKit game"

→ Invoke: /skill axiom-spritekit

User: "My physics contacts aren't firing"

→ Invoke: /skill axiom-spritekit-diag

User: "How do I create a physics body from a texture?"

→ Invoke: /skill axiom-spritekit-ref

User: "Frame rate is dropping in my game"

→ Invoke: /skill axiom-spritekit-diag

User: "How do I set up SpriteKit with SwiftUI?"

→ Invoke: /skill axiom-spritekit

User: "What action types are available?"

→ Invoke: /skill axiom-spritekit-ref

User: "Objects pass through walls"

→ Invoke: /skill axiom-spritekit-diag

User: "I need to build a 3D game"

→ Invoke: /skill axiom-realitykit

User: "How do I add a 3D model to my SwiftUI app?"

→ Invoke: /skill axiom-realitykit

User: "My RealityKit entity isn't showing up"

→ Invoke: /skill axiom-realitykit-diag

User: "How do I set up physics in RealityKit?"

→ Invoke: /skill axiom-realitykit-ref

User: "I'm migrating from SceneKit to RealityKit"

→ Invoke: /skill axiom-scenekit + /skill axiom-scenekit-ref

User: "What's the RealityKit equivalent of SCNNode?"

→ Invoke: /skill axiom-scenekit-ref

User: "Should I use SceneKit for my new 3D project?"

→ Invoke: /skill axiom-scenekit

User: "Tap gestures don't work on my RealityKit entity"

→ Invoke: /skill axiom-realitykit-diag

User: "How do I set up ECS in RealityKit?"

→ Invoke: /skill axiom-realitykit

User: "My AR content isn't tracking"

→ Invoke: /skill axiom-realitykit-diag

User: "What materials are available in RealityKit?"

→ Invoke: /skill axiom-realitykit-ref

User: "How do I animate entities in RealityKit?"

→ Invoke: /skill axiom-realitykit-ref

User: "Memory keeps growing during gameplay"

→ Invoke: /skill axiom-spritekit-diag

User: "What particle emitter settings should I use for fire?"

→ Invoke: /skill axiom-spritekit-ref

User: "Can you scan my SpriteKit code for common issues?"

→ Invoke: spritekit-auditor agent

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.