Skip to main content
skill CX Codex

spritekit — Claude Code skill for 2D games in SpriteKit

A skill that gives your coding agent a SpriteKit reference: scenes, sprites, physics, particles and SwiftUI integration for 2D games.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add dpearson2699/swift-ios-skills --skill spritekit -a claude-code
Open on GitHub

What spritekit does

The skill covers SpriteKit on iOS 26+ with Swift 6.3. It walks through scenes built on SKScene and SKView, sprites with SKSpriteNode, animation via SKAction, physics with SKPhysicsBody and contact detection, particles from SKEmitterNode, tile maps, SKCameraNode, and embedding scenes in SwiftUI with SpriteView.

Sections are split by topic: scene setup, nodes and sprites, actions, physics, touch handling, camera, effects, SwiftUI integration. There is also a common-mistakes section and a review checklist. Your agent pulls from this when you ask it to build a game scene or debug collisions.

The material targets iOS 26+ and Swift 6.3, so examples may not compile on older versions. Install runs through npx skills add; GitHub Copilot users get a separate gh skill install command.

What it helps with

  • build a game scene on SKScene from scratch
  • set up collision masks for physics bodies
  • animate a sprite from a texture sequence
  • add a particle burst for an explosion
  • embed a SpriteKit scene in a SwiftUI view

Example prompts for the agent

  • create an SKScene with a player and ground, add physics
  • set contactTestBitMask so the player detects enemy contact
  • show me how to embed SpriteView in a SwiftUI screen

How to install spritekit

1Skills CLI (Vercel)

npx skills add dpearson2699/swift-ios-skills --skill spritekit -a claude-code

2Manually: put the files in place

~/.claude/skills/spritekit/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/spritekit/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about spritekit

How do I install spritekit in Claude?

Run npx skills add dpearson2699/swift-ios-skills --skill spritekit -a claude-code. The skill lands in ~/.claude/skills/spritekit/SKILL.md.

What does spritekit do?

It hands your agent a SpriteKit reference covering scenes, sprites, actions, physics, particles, camera and SwiftUI integration. Useful when writing 2D game code without digging through docs.

Which versions does the skill target?

It targets iOS 26+ and Swift 6.3. On older versions some examples from the skill may not compile.

Similar skills

Everything for Game dev and 3D: Unity, Unreal, Godot, Blender →

From the same set69

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor