Skip to content

dpearson2699/swift-ios-skills / skills/scenekit

scenekit

Verified

Maintain and extend existing SceneKit 3D scenes and visualizations. Use when working with SCNView, SCNScene, SCNNode scene graphs, SceneKit geometry/materials/lights/cameras, SCNAction animation, SCNPhysicsBody physics, SCNParticleSystem effects, .scn/.dae/.abc SceneKit assets, shader modifiers, or SwiftUI SceneView. SceneKit is soft-deprecated and in maintenance mode; route new apps, significant updates, USD/USDZ pipelines, and migration planning toward RealityKit.

FileKindSize
SKILL.mdskill md15.7 KB
evals/evals.jsonconfig3.4 KB
references/scenekit-patterns.mdmarkdown18.5 KB

evals/evals.json

View on GitHub
{
  "skill_name": "scenekit",
  "evals": [
    {
      "id": 0,
      "prompt": "Review this SceneKit asset-loading plan for an existing iOS app: load hero.usdz directly with SCNScene(url:), keep new models in OBJ because artists already export it, and move everything to RealityKit later. Correct the SceneKit loading guidance and explain the handoff boundary.",
      "expected_output": "A correction-focused review that names documented SceneKit scene-source formats, recommends .scnassets for bundled SceneKit content, and routes USD/USDZ or significant migration work to RealityKit.",
      "files": [],
      "assertions": [
        "States that documented SceneKit scene-source formats are .scn, .dae, and .abc rather than presenting .usdz or .obj as the primary SceneKit loading path.",
        "Recommends placing bundled SceneKit scene files in a .scnassets folder and textures in asset catalogs for Xcode optimization.",
        "Frames USD/USDZ as the RealityKit migration or new-project path, not as default SceneKit asset-loading guidance.",
        "Mentions that SceneKit is soft-deprecated or maintenance-mode and RealityKit is preferred for new projects or significant updates."
      ]
    },
    {
      "id": 1,
      "prompt": "Fix this SceneKit shader modifier snippet: material.shaderModifiers = [.geometry: \"_geometry.position.y += sin(scn_frame.time);\"]; material.setValue(Float(scn_frame.time), forKey: \"elapsed\"). Explain how values and built-in time should be handled.",
      "expected_output": "A corrected SceneKit shader modifier explanation that uses documented shader modifier uniforms such as u_time, passes custom values from Swift by matching #pragma arguments names, and does not use scn_frame outside SCNProgram Metal shader functions.",
      "files": [],
      "assertions": [
        "Replaces scn_frame.time in shader modifier code with documented shader modifier uniforms such as u_time.",
        "Explains that Swift should pass custom values with setValue(_:forKey:) matching #pragma arguments declarations, not read scn_frame.time.",
        "Distinguishes shader modifiers from SCNProgram Metal shader functions where SCNSceneBuffer scn_frame can be used.",
        "Does not present scn_frame as a shader modifier built-in."
      ]
    },
    {
      "id": 2,
      "prompt": "Audit these SceneKit maintenance snippets: scene.setAttribute([\"UnitMetersPerUnit\": 1.0], forKey: SCNScene.Attribute.unit.rawValue); node.physicsBody = SCNPhysicsBody(type: .dynamic, shape: SCNPhysicsShape(geometry: mesh)); and a plan to rewrite gameplay scoring with GameKit while touching the 3D scene. What should change?",
      "expected_output": "A SceneKit maintenance review that replaces undocumented scene attribute usage with documented load options or scene attributes, fixes the SCNPhysicsShape initializer, and keeps GameKit limited to a Game Center handoff.",
      "files": [],
      "assertions": [
        "Flags SCNScene.Attribute.unit as unsupported and uses SCNSceneSource.LoadingOption.convertUnitsToMeters for load-time unit scaling.",
        "Mentions documented SCNScene.Attribute keys only for scene metadata such as startTime, endTime, frameRate, or upAxis.",
        "Corrects SCNPhysicsShape construction to include the options: parameter.",
        "Keeps GameKit out of SceneKit rendering/gameplay scene-graph guidance except as a boundary handoff for Game Center features."
      ]
    }
  ]
}
writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deploymentStars: 322kUpdated Claude CodeCodexVerifiedInstall
xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release.Stars: 118kUpdated Claude CodeCodexVerifiedInstall