{
  "slug": "threejs-game-skills",
  "skill": "threejs-game-skills",
  "upstream": "majidmanzarpour/threejs-game-skills@8286774b22a2566bf894dbc825825c16921866af",
  "upstreamSha": "8286774b22a2566bf894dbc825825c16921866af",
  "patches": {
    "count": 4,
    "sha256": "5353c72a23cf6b2c83b1459c92e4372283b0045a4d92b12bd92f6996a38c29d0"
  },
  "date": "2026-10-28",
  "engine": "Three.js 0.184 + Vite 8",
  "env": [
    "Node v20.19.2",
    "Node 20, npm, three 0.184 / vite 8 / TypeScript 6 from the scaffold package.json",
    "Playwright Chromium headless shell 148 (SwiftShader, software WebGL)",
    "Python 3.13"
  ],
  "trigger": "static",
  "passed": 23,
  "total": 23,
  "commands": [
    "(cd examples && python3 tests/run_tests.py)",
    "(cd examples && cp out/desktop.png ../screenshot.png)"
  ],
  "checks": [
    {
      "criterion": "trigger",
      "name": "every skill in the pack says when to use it (9 skills)",
      "pass": true,
      "detail": "9/9"
    },
    {
      "criterion": "trigger",
      "name": "triggers on: \"Build a Three.js browser game with Vite and TypeScript\"",
      "pass": true,
      "detail": "rank 1/118, overlap 3, via threejs-gameplay-systems"
    },
    {
      "criterion": "trigger",
      "name": "triggers on: \"My Three.js game canvas is blank, help me debug it\"",
      "pass": true,
      "detail": "rank 1/118, overlap 4, via threejs-debug-profiler"
    },
    {
      "criterion": "trigger",
      "name": "triggers on: \"Release my Three.js game to static hosting with a production build\"",
      "pass": true,
      "detail": "rank 1/118, overlap 5, via threejs-qa-release"
    },
    {
      "criterion": "trigger",
      "name": "does not trigger on: \"Export my Blender character to Unreal\"",
      "pass": true,
      "detail": "rank 32/118, overlap 1, via threejs-3d-generator"
    },
    {
      "criterion": "trigger",
      "name": "does not trigger on: \"Make a Godot 2D platformer jump feel better\"",
      "pass": true,
      "detail": "rank 10/118, overlap 1, via threejs-gameplay-systems"
    },
    {
      "criterion": "runs",
      "name": "scaffold, build, play-test and inspect: create_threejs_game.py writes the Vite + TypeScript + Three.js scaffold",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "scaffold, build, play-test and inspect: it refuses a non-empty folder without --force",
      "pass": true,
      "detail": "Use --force to copy into it anyway."
    },
    {
      "criterion": "runs",
      "name": "scaffold, build, play-test and inspect: npm install, as the scaffold script says next",
      "pass": true,
      "detail": "added 34 packages in 2s"
    },
    {
      "criterion": "runs",
      "name": "scaffold, build, play-test and inspect: npm run build",
      "pass": true,
      "detail": "tsc passes and vite writes dist/: 552 KB bundle"
    },
    {
      "criterion": "runs",
      "name": "scaffold, build, play-test and inspect: the scaffold's own Playwright tests pass",
      "pass": true,
      "detail": "2 passed"
    },
    {
      "criterion": "runs",
      "name": "scaffold, build, play-test and inspect: qa-release canvas inspector passes on the running game (not blank, within budget)",
      "pass": true,
      "detail": "PASS desktop current-view gpu=SOFTWARE(fps-invalid) entropy=1.62 edges=0.087 contrast=77.1 dominant=0.634 budget=ok report=artifacts/canvas-inspection/desktop.json png=artifacts/canvas-inspection/desktop.png"
    },
    {
      "criterion": "runs",
      "name": "scaffold, build, play-test and inspect: the qa-release skill's own copy of the inspector gives the same verdict",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "scaffold, build, play-test and inspect: probe_asset_credentials.sh reports the three keys as MISSING without printing values",
      "pass": true,
      "detail": "TRIPO_API_KEY=MISSING GEMINI_API_KEY=MISSING ELEVENLABS_API_KEY=MISSING"
    },
    {
      "criterion": "runs",
      "name": "scaffold, build, play-test and inspect: Gemini image helper without a key exits non-zero with a message, no traceback, no network call",
      "pass": true,
      "detail": "  2. Set GEMINI_API_KEY environment variable"
    },
    {
      "criterion": "runs",
      "name": "scaffold, build, play-test and inspect: Tripo 3D helper without a key exits non-zero with a message, no traceback, no network call",
      "pass": true,
      "detail": "threejs_3d_asset.py: [missing_credentials] Missing API key. Set TRIPO_API_KEY or pass --api-key."
    },
    {
      "criterion": "runs",
      "name": "scaffold, build, play-test and inspect: ElevenLabs audio helper without a key exits non-zero with a message, no traceback, no network call",
      "pass": true,
      "detail": "threejs_audio_asset.py: Missing API key. Set ELEVENLABS_API_KEY or pass --api-key."
    },
    {
      "criterion": "runs",
      "name": "scaffold, build, play-test and inspect: exits 0 with no script errors",
      "pass": true,
      "detail": "exit 0"
    },
    {
      "criterion": "output",
      "name": "screenshot screenshot.png rendered",
      "pass": true
    },
    {
      "criterion": "output",
      "name": "self-check list has at least 3 items",
      "pass": true,
      "detail": "5 items"
    },
    {
      "criterion": "single",
      "name": "one job per skill (reviewed)",
      "pass": true,
      "detail": "A kit of 9 Three.js game skills, one job each (gameplay, graphics, UI, debug, QA/release, three asset generators), with threejs-game-director routing between them."
    },
    {
      "criterion": "bilingual",
      "name": "English SKILL.md from upstream",
      "pass": true
    },
    {
      "criterion": "bilingual",
      "name": "Chinese guide written",
      "pass": true,
      "detail": "1315 chars"
    }
  ]
}
