Complete API reference for SpriteKit organized by category.
Works with
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionaxiom-spritekit-refExecute the skills CLI command in your project's root directory to begin installation:
Fetches axiom-spritekit-ref from charleswiltgen/axiom and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate axiom-spritekit-ref. Access via /axiom-spritekit-ref in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Create detailed user stories, acceptance criteria, and feature specs
Example
Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios
Reduce spec writing time by 50%, ensure comprehensive coverage
Research competitors, compare features, identify gaps
Example
Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities
Complete competitive research in 2 hours instead of 2 days
Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs
Example
Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale
1
total installs
1
this week
767
GitHub stars
0
upvotes
Run in your terminal
1
installs
1
this week
767
stars
Complete API reference for SpriteKit organized by category.
Use this reference when:
| Node | Purpose | Batches? | Performance Notes |
|---|---|---|---|
SKNode |
Container, grouping | N/A | Zero rendering cost |
SKSpriteNode |
Textured sprites | Yes (same atlas) | Primary gameplay node |
SKShapeNode |
Vector paths | No | 1 draw call each — avoid in gameplay |
SKLabelNode |
Text rendering | No | 1 draw call each |
SKEmitterNode |
Particle systems | N/A | GPU-bound, limit birth rate |
SKCameraNode |
Viewport control | N/A | Attach HUD as children |
SKEffectNode |
Core Image filters | No | Expensive — cache with shouldRasterize |
SKCropNode |
Masking | No | Mask + content = 2+ draw calls |
SKTileMapNode |
Tile-based maps | Yes (same tileset) | Efficient for large maps |
SKVideoNode |
Video playback | No | Uses AVPlayer |
SK3DNode |
SceneKit content | No | Renders SceneKit scene |
SKReferenceNode |
Reusable .sks files | N/A | Loads archive at runtime |
SKLightNode |
Per-pixel lighting | N/A | Limits: 8 lights per scene |
SKFieldNode |
Physics fields | N/A | Gravity, electric, magnetic, etc. |
SKAudioNode |
Positional audio | N/A | Uses AVAudioEngine |
SKTransformNode |
3D rotation wrapper | N/A | xRotation, yRotation for perspective |
// Creation
SKSpriteNode(imageNamed: "player") // From asset catalog
SKSpriteNode(texture: texture) // From SKTexture
SKSpriteNode(texture: texture, size: size) // Custom size
SKSpriteNode(color: .red, size: CGSize(width: 50, height: 50)) // Solid color
// Key properties
sprite.anchorPoint = CGPoint(x: 0.5, y: 0) // Bottom-center
sprite.colorBlendFactor = 0.5 // Tint strength (0-1)
sprite.color = .red // Tint color
sprite.normalTexture = normalMap // For lighting
sprite.lightingBitMask = 0x1 // Which lights affect this
sprite.shadowCastBitMask = 0x1 // Which lights cast shadows
sprite.shader = customShader // Per-pixel effects
let label = SKLabelNode(text: "Score: 0")
label.fontName = "AvenirNext-Bold"
label.fontSize = 24
label.fontColor = .white
label.horizontalAlignmentMode = .left
label.verticalAlignmentMode = .top
label.numberOfLines = 0 // Multi-line (iOS 11+)
label.preferredMaxLayoutWidth = 200
label.lineBreakMode = .byWordWrapping
// Volume bodies (have mass, respond to forces)
SKPhysicsBody(circleOfRadius: 20) // Cheapest
SKPhysicsBody(rectangleOf: CGSize(width: 40, height: 60))
SKPhysicsBody(polygonFrom: path) // Convex only
SKPhysicsBody(texture: texture, size: size) // Pixel-perfect (expensive)
SKPhysicsBody(texture: texture, alphaThreshold: 0.5, size: size)
SKPhysicsBody(bodies: [body1, body2]) // Compound
// Edge bodies (massless boundaries)
SKPhysicsBody(edgeLoopFrom: rect) // Rectangle boundary
SKPhysicsBody(edgeLoopFrom: path) // Path boundary
SKPhysicsBody(edgeFrom: pointA, to: pointB) // Single edge
SKPhysicsBody(edgeChainFrom: path) // Open path
// Identity
body.categoryBitMask = 0x1 // What this body IS
body.collisionBitMask = 0x2 // What it bounces off
body.contactTestBitMask = 0x4 // What triggers didBegin/didEnd
// Physical characteristics
body.mass = 1.0 // kg
body.density = 1.0 // kg/m^2 (auto-calculates mass)
body.friction = 0.2 // 0.0 (ice) to 1.0 (rubber)
body.restitution = 0.3 // 0.0 (no bounce) to 1.0 (perfect bounce)
body.linearDamping = 0.1 // Air resistance (0 = none)
body.angularDamping = 0.1 // Rotational damping
// Behavior
body.isDynamic = true // Responds to forces
body.affectedByGravity = true // Subject to world gravity
body.allowsRotation = true // Can rotate from physics
body.pinned = false // Pinned to parent position
body.usesPreciseCollisionDetection = false // For fast objects
// Motion (read/write)
body.velocity = CGVector(dx: 100, dy: 0)
body.angularVelocity = 0.0
// Force application
body.applyForce(CGVector(dx: 0, dy: 100)) // Continuous
body.applyImpulse(CGVector(dx: 0, dy: 50)) // Instant
body.applyTorque(0.5) // Continuous rotation
body.applyAngularImpulse(1.0) // Instant rotation
body.applyForce(CGVector(dx: 10, dy: 0), at: point) // Force at point
scene.physicsWorld.gravity = CGVector(dx: 0, dy: -9.8)
scene.physicsWorld.speed = 1.0 // 0 = paused, 2 = double speed
scene.physicsWorld.contactDelegate = self
// Ray casting
let body = scene.physicsWorld.body(at: point)
let bodyInRect = scene.physicsWorld.body(in: rect)
scene.physicsWorld.enumerateBodies(alongRayStart: start, end: end) { body, point, normal, stop in
// Process each body the ray intersects
}
// Pin joint (pivot)
let pin = SKPhysicsJointPin.joint(
withBodyA: bodyA, bodyB: bodyB,
anchor: anchorPoint
)
// Fixed joint (rigid connection)
let fixed = SKPhysicsJointFixed.joint(Make data-driven prioritization decisions faster
Draft PRDs, status updates, and stakeholder presentations
Example
Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement
Save 3-5 hours/week on communication overhead
Prerequisites
Time Estimate
30-60 minutes to see productivity improvements
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.
✗ Avoid when
Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.
mattpocock/skills
parcadei/continuous-claude-v3
cursor/plugins
ailabs-393/ai-labs-claude-skills
pproenca/dot-skills
mattpocock/skills
I recommend axiom-spritekit-ref for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
axiom-spritekit-ref fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
Registry listing for axiom-spritekit-ref matched our evaluation — installs cleanly and behaves as described in the markdown.
Useful defaults in axiom-spritekit-ref — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
axiom-spritekit-ref reduced setup friction for our internal harness; good balance of opinion and flexibility.
axiom-spritekit-ref is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
Useful defaults in axiom-spritekit-ref — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
axiom-spritekit-ref has been reliable in day-to-day use. Documentation quality is above average for community skills.
Registry listing for axiom-spritekit-ref matched our evaluation — installs cleanly and behaves as described in the markdown.
Keeps context tight: axiom-spritekit-ref is the kind of skill you can hand to a new teammate without a long onboarding doc.
showing 1-10 of 54