{
  "slug": "video-to-sprite-sheet",
  "skill": "video-to-sprite-sheet",
  "upstream": "GameSkill original (onsite/<slug>/original)",
  "sourceHash": "75a4082f3c740c1d016bf755f3a52d7f9ff199f6ae856a1975035e2412bf2eae",
  "date": "2026-11-09",
  "engine": "ffmpeg 7.1 + Python 3, sheet loaded in Godot 4.7.2",
  "env": [
    "Node v22.23.4",
    "Python 3 standard library only",
    "ffmpeg 7.1.5 and ffprobe (colorkey, rawvideo pipes, libx264 for the test clip)",
    "Godot 4.7.2-stable headless: imports the PNG and loads the SpriteFrames .tres"
  ],
  "trigger": "static",
  "passed": 27,
  "total": 27,
  "commands": [
    "(cd ../original && env GODOT={godot} python3 test/run_tests.py)",
    "(cd . && env GODOT={godot} python3 ../original/test/run_tests.py --shot screenshot.png)"
  ],
  "checks": [
    {
      "criterion": "trigger",
      "name": "SKILL.md description says when to use it",
      "pass": true,
      "detail": "Turn a short clip of one character animating on a plain background (an image-to-video result, a green-screen recording, "
    },
    {
      "criterion": "trigger",
      "name": "triggers on: \"Turn this AI generated video of my character walking on green screen into a sprite sheet for Godot\"",
      "pass": true,
      "detail": "rank 1/129, overlap 10"
    },
    {
      "criterion": "trigger",
      "name": "triggers on: \"My sprite animation from a video pops at the loop and has a green halo, fix it\"",
      "pass": true,
      "detail": "rank 1/129, overlap 9"
    },
    {
      "criterion": "trigger",
      "name": "triggers on: \"Extract frames from a short clip, remove the background and pack a looping sprite sheet with a JSON\"",
      "pass": true,
      "detail": "rank 1/129, overlap 8"
    },
    {
      "criterion": "trigger",
      "name": "does not trigger on: \"Write the save system for my Godot RPG\"",
      "pass": true,
      "detail": "rank 29/129, overlap 1"
    },
    {
      "criterion": "trigger",
      "name": "does not trigger on: \"Edit my gameplay trailer and add music\"",
      "pass": true,
      "detail": "rank 27/129, overlap 0"
    },
    {
      "criterion": "runs",
      "name": "Kettlebot walk clip keyed, looped, cropped, palette-locked and exported; Godot loads the SpriteFrames; failure cases: our Kettlebot test clip renders",
      "pass": true,
      "detail": "3 s, 24 fps, H.264 at CRF 28 on a noisy green screen - h264,320,320,72"
    },
    {
      "criterion": "runs",
      "name": "Kettlebot walk clip keyed, looped, cropped, palette-locked and exported; Godot loads the SpriteFrames; failure cases: the key colour is found automatically from the corners (a green) - #32b444",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "Kettlebot walk clip keyed, looped, cropped, palette-locked and exported; Godot loads the SpriteFrames; failure cases: auto loop finds a whole walk cycle (6 frames at 12 fps, or a multiple) with a near-zero seam - 24:30 seam 0.0002",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "Kettlebot walk clip keyed, looped, cropped, palette-locked and exported; Godot loads the SpriteFrames; failure cases: the sheet is one row of 64x64 cells, one per loop frame, and the JSON frame list matches - 384x64, 6 frames",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "Kettlebot walk clip keyed, looped, cropped, palette-locked and exported; Godot loads the SpriteFrames; failure cases: alpha is hard (0 or 255 only), as pixel sprites need",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "Kettlebot walk clip keyed, looped, cropped, palette-locked and exported; Godot loads the SpriteFrames; failure cases: keyed and despilled",
      "pass": true,
      "detail": "no green fringe pixels left on the character - 12771 opaque, 0 greenish"
    },
    {
      "criterion": "runs",
      "name": "Kettlebot walk clip keyed, looped, cropped, palette-locked and exported; Godot loads the SpriteFrames; failure cases: --colors 12 limits the sheet to 12 colours - 12 colours",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "Kettlebot walk clip keyed, looped, cropped, palette-locked and exported; Godot loads the SpriteFrames; failure cases: feet sit on the bottom row of the cell and the character is centred (anchor bottom-centre) - x 2..61",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "Kettlebot walk clip keyed, looped, cropped, palette-locked and exported; Godot loads the SpriteFrames; failure cases: one crop box for all frames",
      "pass": true,
      "detail": "horizontal jitter under 2 px - 0.10 px"
    },
    {
      "criterion": "runs",
      "name": "Kettlebot walk clip keyed, looped, cropped, palette-locked and exported; Godot loads the SpriteFrames; failure cases: --palette maps every pixel onto a fixed 16-colour palette (Sweetie 16) - 9 of 16 used",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "Kettlebot walk clip keyed, looped, cropped, palette-locked and exported; Godot loads the SpriteFrames; failure cases: Godot 4 loads the .tres as a looping SpriteFrames animation at 12 fps over the sheet - SF|kettlebot_walk|6|12.0|true|(64.0, 64.0)|(384.0, 64.0)",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "Kettlebot walk clip keyed, looped, cropped, palette-locked and exported; Godot loads the SpriteFrames; failure cases: a key that removes everything fails with a hint instead of writing an empty sheet",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "Kettlebot walk clip keyed, looped, cropped, palette-locked and exported; Godot loads the SpriteFrames; failure cases: a missing clip fails clearly (exit 2)",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "Kettlebot walk clip keyed, looped, cropped, palette-locked and exported; Godot loads the SpriteFrames; failure cases: a clip too short for a loop warns and keeps every frame",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "Kettlebot walk clip keyed, looped, cropped, palette-locked and exported; Godot loads the SpriteFrames; failure cases: 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": "3 items"
    },
    {
      "criterion": "single",
      "name": "one job per skill (reviewed)",
      "pass": true,
      "detail": "One job: turn one character clip on a plain background into a looping, aligned sprite sheet with metadata. Generating the clip and drawing sprites by hand are left to other skills."
    },
    {
      "criterion": "bilingual",
      "name": "English SKILL.md",
      "pass": true
    },
    {
      "criterion": "bilingual",
      "name": "Chinese SKILL.zh.md shipped next to SKILL.md",
      "pass": true,
      "detail": "1145 chars"
    },
    {
      "criterion": "bilingual",
      "name": "Chinese guide written",
      "pass": true,
      "detail": "1132 chars"
    }
  ]
}
