{
  "slug": "sprite-gen",
  "skill": "sprite-gen",
  "upstream": "aldegad/sprite-gen@419f02cd54b4181e33689759d4ee9c1ef0006301",
  "upstreamSha": "419f02cd54b4181e33689759d4ee9c1ef0006301",
  "patches": {
    "count": 1,
    "sha256": "89b59d67f12e50c15e517636902192c239d101b46b995e06292fb8b4e7ad9f1d"
  },
  "date": "2026-10-29",
  "engine": "Python 3.13",
  "env": [
    "Node v22.11.0",
    "Python 3.13 venv with pillow 12.3, numpy 2.5.4, pytest (as pyproject.toml asks); set SG_PY to its python",
    "ffmpeg 7.1 and img2webp from Google's libwebp 1.5.0 Linux build on PATH; Godot 4.7.2 (set GODOT) for the strip import check",
    "No GPT, Grok or codex login and no RIFE: the video path runs on clips we draw (make_walk_clip.py), not on a video model",
    "The gallery images under docs/assets/ are left out of this download"
  ],
  "trigger": "static",
  "passed": 54,
  "total": 54,
  "commands": [
    "(cd examples && sh -c ${SG_PY:-/workspace/tools/sg-venv/bin/python} tests/run_hands_on.py)",
    "(cd examples && sh -c ${SG_PY:-/workspace/tools/sg-venv/bin/python} tests/run_video_hands_on.py)",
    "(cd examples && sh -c ${SG_PY:-/workspace/tools/sg-venv/bin/python} tests/run_suite.py ${SG_PY:-/workspace/tools/sg-venv/bin/python} frames)",
    "(cd examples && sh -c ${SG_PY:-/workspace/tools/sg-venv/bin/python} tests/run_suite.py ${SG_PY:-/workspace/tools/sg-venv/bin/python} compose background effects util spec qa curate)",
    "(cd examples && sh -c ${SG_PY:-/workspace/tools/sg-venv/bin/python} tests/run_suite.py ${SG_PY:-/workspace/tools/sg-venv/bin/python} gen workflow)",
    "(cd examples && sh -c ${SG_PY:-/workspace/tools/sg-venv/bin/python} tests/run_suite.py ${SG_PY:-/workspace/tools/sg-venv/bin/python} video/test_cycle_align.py video/test_cycle_align_foot.py video/test_video_pipeline.py video/test_edge_border.py)",
    "(cd examples && sh -c ${SG_PY:-/workspace/tools/sg-venv/bin/python} tests/run_hands_on.py)"
  ],
  "checks": [
    {
      "criterion": "trigger",
      "name": "SKILL.md description says when to use it",
      "pass": true,
      "detail": "\"Use when making 2D game sprites, such as a character walk or run cycle as a sprite atlas, or cleaning, recoloring or ex"
    },
    {
      "criterion": "trigger",
      "name": "triggers on: \"Turn this AI video of my character walking into a seamless sprite walk cycle\"",
      "pass": true,
      "detail": "rank 1/117, overlap 5"
    },
    {
      "criterion": "trigger",
      "name": "triggers on: \"Remove the chroma green background from these sprite frames\"",
      "pass": true,
      "detail": "rank 1/117, overlap 4"
    },
    {
      "criterion": "trigger",
      "name": "triggers on: \"Palette swap this sprite sheet and export it for the engine\"",
      "pass": true,
      "detail": "rank 1/117, overlap 5"
    },
    {
      "criterion": "trigger",
      "name": "does not trigger on: \"Set up a Three.js scene with a GLB model\"",
      "pass": true,
      "detail": "rank 15/117, overlap 1"
    },
    {
      "criterion": "trigger",
      "name": "does not trigger on: \"Write a launch checklist for release day\"",
      "pass": true,
      "detail": "rank 13/117, overlap 0"
    },
    {
      "criterion": "runs",
      "name": "hands-on: slice a chroma-key sheet into cut-outs: slice_sheet_cells.py cuts the 4x1 chroma sheet into 4 PNGs",
      "pass": true,
      "detail": "sheet.png: scale cell, fit none; report slice-sheet.json"
    },
    {
      "criterion": "runs",
      "name": "hands-on: slice a chroma-key sheet into cut-outs: cut-outs have a transparent background",
      "pass": true,
      "detail": "transparent share 0.42, 0.42, 0.43, 0.42"
    },
    {
      "criterion": "runs",
      "name": "hands-on: slice a chroma-key sheet into cut-outs: no magenta fringe left on visible pixels",
      "pass": true,
      "detail": "magenta-ish visible pixels per cell: [0, 0, 0, 0]"
    },
    {
      "criterion": "runs",
      "name": "hands-on: slice a chroma-key sheet into cut-outs: the figures survive (opaque body pixels kept)",
      "pass": true,
      "detail": "opaque share 0.55, 0.55, 0.50, 0.55"
    },
    {
      "criterion": "runs",
      "name": "hands-on: slice a chroma-key sheet into cut-outs: red figure keeps its colour with a green key, as docs/chroma-alpha.md advises",
      "pass": true,
      "detail": "magenta key gives rgba(208, 121, 34, 189) 12 px inside the edge, green key gives rgba(220, 90, 90, 255)"
    },
    {
      "criterion": "runs",
      "name": "hands-on: slice a chroma-key sheet into cut-outs: exits 0 with no script errors",
      "pass": true,
      "detail": "exit 0"
    },
    {
      "criterion": "runs",
      "name": "hands-on: video path on a made-up creature (video-frames, video-loop, video-cycle-align, Godot import): video-frames keys the side clip",
      "pass": true,
      "detail": "64 frames at 24.0 fps"
    },
    {
      "criterion": "runs",
      "name": "hands-on: video path on a made-up creature (video-frames, video-loop, video-cycle-align, Godot import): the clip's own fps and frame count are recorded",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "hands-on: video path on a made-up creature (video-frames, video-loop, video-cycle-align, Godot import): with --spill full, keyed frames are transparent around the creature with no green left",
      "pass": true,
      "detail": "min clear share 0.902, green visible 0"
    },
    {
      "criterion": "runs",
      "name": "hands-on: video path on a made-up creature (video-frames, video-loop, video-cycle-align, Godot import): video-frames keys the side2 clip",
      "pass": true,
      "detail": "72 frames at 24.0 fps"
    },
    {
      "criterion": "runs",
      "name": "hands-on: video path on a made-up creature (video-frames, video-loop, video-cycle-align, Godot import): video-frames keys the front clip",
      "pass": true,
      "detail": "64 frames at 24.0 fps"
    },
    {
      "criterion": "runs",
      "name": "hands-on: video path on a made-up creature (video-frames, video-loop, video-cycle-align, Godot import): a clip whose stride crosses the edge mid-walk is refused",
      "pass": true,
      "detail": "video-frames: the subject touches the frame edge in 12 frame(s) (worst frame-0005.png: top 0 / left 0 / right 40 px) — the clip was framed too tight; regenerate"
    },
    {
      "criterion": "runs",
      "name": "hands-on: video path on a made-up creature (video-frames, video-loop, video-cycle-align, Godot import): a refused clip leaves keyed.refused/ and no keyed/",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "hands-on: video path on a made-up creature (video-frames, video-loop, video-cycle-align, Godot import): video-loop finds the true 16-frame cycle of side",
      "pass": true,
      "detail": "16 frames, 0.6667 s, seam ratio 0.8248"
    },
    {
      "criterion": "runs",
      "name": "hands-on: video path on a made-up creature (video-frames, video-loop, video-cycle-align, Godot import): side strip PNG, GIF and WebP agree with strip.json",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "hands-on: video path on a made-up creature (video-frames, video-loop, video-cycle-align, Godot import): video-loop finds the true 18-frame cycle of side2",
      "pass": true,
      "detail": "18 frames, 0.75 s, seam ratio 0.8521"
    },
    {
      "criterion": "runs",
      "name": "hands-on: video path on a made-up creature (video-frames, video-loop, video-cycle-align, Godot import): side2 strip PNG, GIF and WebP agree with strip.json",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "hands-on: video path on a made-up creature (video-frames, video-loop, video-cycle-align, Godot import): video-loop finds the true 16-frame cycle of front",
      "pass": true,
      "detail": "16 frames, 0.6667 s, seam ratio 1.0423"
    },
    {
      "criterion": "runs",
      "name": "hands-on: video path on a made-up creature (video-frames, video-loop, video-cycle-align, Godot import): front strip PNG, GIF and WebP agree with strip.json",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "hands-on: video path on a made-up creature (video-frames, video-loop, video-cycle-align, Godot import): video-cycle-align gives the set one cycle length (the median)",
      "pass": true,
      "detail": "lengths [16, 18, 16] -> 16"
    },
    {
      "criterion": "runs",
      "name": "hands-on: video path on a made-up creature (video-frames, video-loop, video-cycle-align, Godot import): both side loops now start as the same own foot lands",
      "pass": true,
      "detail": "foot right, turned_by 11 / 10"
    },
    {
      "criterion": "runs",
      "name": "hands-on: video path on a made-up creature (video-frames, video-loop, video-cycle-align, Godot import): the front loop, whose feet the view cannot tell apart, is named instead of guessed",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "hands-on: video path on a made-up creature (video-frames, video-loop, video-cycle-align, Godot import): --foot names the front loop's foot and records who said it",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "hands-on: video path on a made-up creature (video-frames, video-loop, video-cycle-align, Godot import): Godot 4 cuts the aligned strip into SpriteFrames",
      "pass": true,
      "detail": "STRIP_OK {\"frames\":16,\"h\":202,\"min_opaque\":13538,\"w\":154}"
    },
    {
      "criterion": "runs",
      "name": "hands-on: video path on a made-up creature (video-frames, video-loop, video-cycle-align, Godot import): exits 0 with no script errors",
      "pass": true,
      "detail": "exit 0"
    },
    {
      "criterion": "runs",
      "name": "author tests: frames: author tests tests/frames",
      "pass": true,
      "detail": "487 passed, 10 skipped, 1058 deselected, 16 warnings"
    },
    {
      "criterion": "runs",
      "name": "author tests: frames: exits 0 with no script errors",
      "pass": true,
      "detail": "exit 0"
    },
    {
      "criterion": "runs",
      "name": "author tests: compose, background, effects, util, spec, qa, curate: author tests tests/compose",
      "pass": true,
      "detail": "80 passed, 2 deselected, 1 warning"
    },
    {
      "criterion": "runs",
      "name": "author tests: compose, background, effects, util, spec, qa, curate: author tests tests/background",
      "pass": true,
      "detail": "43 passed, 1 warning"
    },
    {
      "criterion": "runs",
      "name": "author tests: compose, background, effects, util, spec, qa, curate: author tests tests/effects",
      "pass": true,
      "detail": "308 passed, 2 skipped, 4 deselected, 11 warnings"
    },
    {
      "criterion": "runs",
      "name": "author tests: compose, background, effects, util, spec, qa, curate: author tests tests/util",
      "pass": true,
      "detail": "8 passed, 1 warning"
    },
    {
      "criterion": "runs",
      "name": "author tests: compose, background, effects, util, spec, qa, curate: author tests tests/spec",
      "pass": true,
      "detail": "96 passed, 2 skipped, 1 deselected, 2 warnings"
    },
    {
      "criterion": "runs",
      "name": "author tests: compose, background, effects, util, spec, qa, curate: author tests tests/qa",
      "pass": true,
      "detail": "86 passed, 41 warnings"
    },
    {
      "criterion": "runs",
      "name": "author tests: compose, background, effects, util, spec, qa, curate: author tests tests/curate",
      "pass": true,
      "detail": "68 passed, 4 deselected, 6 warnings"
    },
    {
      "criterion": "runs",
      "name": "author tests: compose, background, effects, util, spec, qa, curate: exits 0 with no script errors",
      "pass": true,
      "detail": "exit 0"
    },
    {
      "criterion": "runs",
      "name": "author tests: gen, workflow (run offline, no provider key): author tests tests/gen",
      "pass": true,
      "detail": "4443 passed, 3 skipped, 78 warnings"
    },
    {
      "criterion": "runs",
      "name": "author tests: gen, workflow (run offline, no provider key): author tests tests/workflow",
      "pass": true,
      "detail": "23 passed, 1 warning"
    },
    {
      "criterion": "runs",
      "name": "author tests: gen, workflow (run offline, no provider key): exits 0 with no script errors",
      "pass": true,
      "detail": "exit 0"
    },
    {
      "criterion": "runs",
      "name": "author tests: video (cycle align, foot naming, pipeline, edge border; RIFE-only tests deselected by the author's config): author tests tests/video/test_cycle_align.py",
      "pass": true,
      "detail": "22 passed, 8 deselected, 1 warning"
    },
    {
      "criterion": "runs",
      "name": "author tests: video (cycle align, foot naming, pipeline, edge border; RIFE-only tests deselected by the author's config): author tests tests/video/test_cycle_align_foot.py",
      "pass": true,
      "detail": "9 passed, 1 deselected, 1 warning"
    },
    {
      "criterion": "runs",
      "name": "author tests: video (cycle align, foot naming, pipeline, edge border; RIFE-only tests deselected by the author's config): author tests tests/video/test_video_pipeline.py",
      "pass": true,
      "detail": "23 passed, 1 warning"
    },
    {
      "criterion": "runs",
      "name": "author tests: video (cycle align, foot naming, pipeline, edge border; RIFE-only tests deselected by the author's config): author tests tests/video/test_edge_border.py",
      "pass": true,
      "detail": "40 passed, 1 warning"
    },
    {
      "criterion": "runs",
      "name": "author tests: video (cycle align, foot naming, pipeline, edge border; RIFE-only tests deselected by the author's config): 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": "8 items"
    },
    {
      "criterion": "single",
      "name": "one job per skill (reviewed)",
      "pass": true,
      "detail": "Mostly one area (2D game images and sprites), but the skill also covers logos, image-to-video clips, talking-face layers and scene composition, so it is broad."
    },
    {
      "criterion": "bilingual",
      "name": "English SKILL.md from upstream",
      "pass": true
    },
    {
      "criterion": "bilingual",
      "name": "Chinese guide written",
      "pass": true,
      "detail": "3448 chars"
    }
  ]
}
