{
  "slug": "pixel-snap-cleanup",
  "skill": "pixel-snap-cleanup",
  "upstream": "GameSkill original (onsite/<slug>/original)",
  "sourceHash": "e8bc1df9ef22aa94573e38a0befbbb339e48ccf1038380ad5f9f3ac19f30b6ca",
  "date": "2026-11-09",
  "engine": "Pixel Snapper 1.0.0 (Rust, built with cargo) + Godot 4.7.2 (texture import)",
  "env": [
    "Node v22.23.4",
    "Python 3 standard library only for the skill's tools",
    "Rust 1.85 / cargo, cargo build --release --locked of the bundled Pixel Snapper (crates from crates.io via its Cargo.lock)",
    "Godot 4.7.2-stable headless: --import, ProjectSettings, Texture2D"
  ],
  "trigger": "static",
  "passed": 43,
  "total": 43,
  "commands": [
    "(cd ../original && python3 test/run_tests.py --godot {godot})",
    "(cd . && 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 AI \"fake pixel\" art (soft edges, uneven cells, hundreds of near-identical colours, half-transparent fringes) into t"
    },
    {
      "criterion": "trigger",
      "name": "triggers on: \"This AI generated sprite looks blurry and has hundreds of colours, make it real 32x32 pixel art with the PICO-8 palette\"",
      "pass": true,
      "detail": "rank 1/129, overlap 7"
    },
    {
      "criterion": "trigger",
      "name": "triggers on: \"Snap my image-model pixel art frames to a clean grid so the animation does not jitter, then make a sprite sheet\"",
      "pass": true,
      "detail": "rank 1/129, overlap 11"
    },
    {
      "criterion": "trigger",
      "name": "triggers on: \"Why does my AI pixel art look mushy in Godot? Clean it to true pixels and check the import\"",
      "pass": true,
      "detail": "rank 1/129, overlap 7"
    },
    {
      "criterion": "trigger",
      "name": "does not trigger on: \"Write a shader for a CRT scanline effect\"",
      "pass": true,
      "detail": "rank 25/129, overlap 0"
    },
    {
      "criterion": "trigger",
      "name": "does not trigger on: \"Model a low-poly tree in Blender\"",
      "pass": true,
      "detail": "rank 12/129, overlap 1"
    },
    {
      "criterion": "runs",
      "name": "AI-looking copies at 5 scales/seeds snapped back to the 32x32 original, 4 frames on one grid, guards, Godot import: build bundled Pixel Snapper - /workspace/gs-radar-1109/onsite/pixel-snap-cleanup/original/out/snapper-target/release/spritefusion-pixel-snapper",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "AI-looking copies at 5 scales/seeds snapped back to the 32x32 original, 4 frames on one grid, guards, Godot import: hand-made 32x32 moss cap is CLEAN",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "AI-looking copies at 5 scales/seeds snapped back to the 32x32 original, 4 frames on one grid, guards, Godot import: fake 5.6-1",
      "pass": true,
      "detail": "check flags the AI-looking input - NOT CLEAN"
    },
    {
      "criterion": "runs",
      "name": "AI-looking copies at 5 scales/seeds snapped back to the 32x32 original, 4 frames on one grid, guards, Godot import: fake 5.6-1",
      "pass": true,
      "detail": "plain downscale is still NOT CLEAN (soft alpha / stray colours)"
    },
    {
      "criterion": "runs",
      "name": "AI-looking copies at 5 scales/seeds snapped back to the 32x32 original, 4 frames on one grid, guards, Godot import: fake 5.6-1",
      "pass": true,
      "detail": "snap.py ends CLEAN at 32x32 - fake-5.6-1.png: auto-detect gave 30x28, not 32x32; retrying with --pixel-size 5.594 | PASS clean-5.6-1.png: 32x32 CLEAN"
    },
    {
      "criterion": "runs",
      "name": "AI-looking copies at 5 scales/seeds snapped back to the 32x32 original, 4 frames on one grid, guards, Godot import: fake 5.6-1",
      "pass": true,
      "detail": "matches the original sprite - match 100.0% alpha 100.0%"
    },
    {
      "criterion": "runs",
      "name": "AI-looking copies at 5 scales/seeds snapped back to the 32x32 original, 4 frames on one grid, guards, Godot import: fake 7.3-1",
      "pass": true,
      "detail": "check flags the AI-looking input - NOT CLEAN"
    },
    {
      "criterion": "runs",
      "name": "AI-looking copies at 5 scales/seeds snapped back to the 32x32 original, 4 frames on one grid, guards, Godot import: fake 7.3-1",
      "pass": true,
      "detail": "plain downscale is still NOT CLEAN (soft alpha / stray colours)"
    },
    {
      "criterion": "runs",
      "name": "AI-looking copies at 5 scales/seeds snapped back to the 32x32 original, 4 frames on one grid, guards, Godot import: fake 7.3-1",
      "pass": true,
      "detail": "snap.py ends CLEAN at 32x32 - fake-7.3-1.png: auto-detect gave 32x30, not 32x32; retrying with --pixel-size 7.281 | PASS clean-7.3-1.png: 32x32 CLEAN"
    },
    {
      "criterion": "runs",
      "name": "AI-looking copies at 5 scales/seeds snapped back to the 32x32 original, 4 frames on one grid, guards, Godot import: fake 7.3-1",
      "pass": true,
      "detail": "matches the original sprite - match 100.0% alpha 100.0%"
    },
    {
      "criterion": "runs",
      "name": "AI-looking copies at 5 scales/seeds snapped back to the 32x32 original, 4 frames on one grid, guards, Godot import: fake 7.3-2",
      "pass": true,
      "detail": "check flags the AI-looking input - NOT CLEAN"
    },
    {
      "criterion": "runs",
      "name": "AI-looking copies at 5 scales/seeds snapped back to the 32x32 original, 4 frames on one grid, guards, Godot import: fake 7.3-2",
      "pass": true,
      "detail": "plain downscale is still NOT CLEAN (soft alpha / stray colours)"
    },
    {
      "criterion": "runs",
      "name": "AI-looking copies at 5 scales/seeds snapped back to the 32x32 original, 4 frames on one grid, guards, Godot import: fake 7.3-2",
      "pass": true,
      "detail": "snap.py ends CLEAN at 32x32 - fake-7.3-2.png: auto-detect gave 32x32 | PASS clean-7.3-2.png: 32x32 CLEAN"
    },
    {
      "criterion": "runs",
      "name": "AI-looking copies at 5 scales/seeds snapped back to the 32x32 original, 4 frames on one grid, guards, Godot import: fake 7.3-2",
      "pass": true,
      "detail": "matches the original sprite - match 100.0% alpha 100.0%"
    },
    {
      "criterion": "runs",
      "name": "AI-looking copies at 5 scales/seeds snapped back to the 32x32 original, 4 frames on one grid, guards, Godot import: fake 9.1-1",
      "pass": true,
      "detail": "check flags the AI-looking input - NOT CLEAN"
    },
    {
      "criterion": "runs",
      "name": "AI-looking copies at 5 scales/seeds snapped back to the 32x32 original, 4 frames on one grid, guards, Godot import: fake 9.1-1",
      "pass": true,
      "detail": "plain downscale is still NOT CLEAN (soft alpha / stray colours)"
    },
    {
      "criterion": "runs",
      "name": "AI-looking copies at 5 scales/seeds snapped back to the 32x32 original, 4 frames on one grid, guards, Godot import: fake 9.1-1",
      "pass": true,
      "detail": "snap.py ends CLEAN at 32x32 - fake-9.1-1.png: auto-detect gave 32x33, not 32x32; retrying with --pixel-size 9.094 | PASS clean-9.1-1.png: 32x32 CLEAN"
    },
    {
      "criterion": "runs",
      "name": "AI-looking copies at 5 scales/seeds snapped back to the 32x32 original, 4 frames on one grid, guards, Godot import: fake 9.1-1",
      "pass": true,
      "detail": "matches the original sprite - match 100.0% alpha 100.0%"
    },
    {
      "criterion": "runs",
      "name": "AI-looking copies at 5 scales/seeds snapped back to the 32x32 original, 4 frames on one grid, guards, Godot import: fake 9.1-2",
      "pass": true,
      "detail": "check flags the AI-looking input - NOT CLEAN"
    },
    {
      "criterion": "runs",
      "name": "AI-looking copies at 5 scales/seeds snapped back to the 32x32 original, 4 frames on one grid, guards, Godot import: fake 9.1-2",
      "pass": true,
      "detail": "plain downscale is still NOT CLEAN (soft alpha / stray colours)"
    },
    {
      "criterion": "runs",
      "name": "AI-looking copies at 5 scales/seeds snapped back to the 32x32 original, 4 frames on one grid, guards, Godot import: fake 9.1-2",
      "pass": true,
      "detail": "snap.py ends CLEAN at 32x32 - fake-9.1-2.png: auto-detect gave 32x33, not 32x32; retrying with --pixel-size 9.094 | PASS clean-9.1-2.png: 32x32 CLEAN"
    },
    {
      "criterion": "runs",
      "name": "AI-looking copies at 5 scales/seeds snapped back to the 32x32 original, 4 frames on one grid, guards, Godot import: fake 9.1-2",
      "pass": true,
      "detail": "matches the original sprite - match 100.0% alpha 100.0%"
    },
    {
      "criterion": "runs",
      "name": "AI-looking copies at 5 scales/seeds snapped back to the 32x32 original, 4 frames on one grid, guards, Godot import: 4 bob frames snapped with one fixed pixel size, all CLEAN - 4 frames",
      "pass": true,
      "detail": "fixed --pixel-size 7.312"
    },
    {
      "criterion": "runs",
      "name": "AI-looking copies at 5 scales/seeds snapped back to the 32x32 original, 4 frames on one grid, guards, Godot import: every frame matches its original - worst match 100.0%",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "AI-looking copies at 5 scales/seeds snapped back to the 32x32 original, 4 frames on one grid, guards, Godot import: sprite sheet 128x32 with 4-frame JSON - 128x32, 4 frames",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "AI-looking copies at 5 scales/seeds snapped back to the 32x32 original, 4 frames on one grid, guards, Godot import: fit refuses to cut rows/columns that have art - FAIL fit",
      "pass": true,
      "detail": "y has 28 lines with content, cannot reach 20 without cutting art"
    },
    {
      "criterion": "runs",
      "name": "AI-looking copies at 5 scales/seeds snapped back to the 32x32 original, 4 frames on one grid, guards, Godot import: check catches one half-transparent pixel",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "AI-looking copies at 5 scales/seeds snapped back to the 32x32 original, 4 frames on one grid, guards, Godot import: check catches one off-palette pixel",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "AI-looking copies at 5 scales/seeds snapped back to the 32x32 original, 4 frames on one grid, guards, Godot import: Godot 4 imports the cleaned sprites lossless, nearest filter, 32x32 - PASS import clean-7.3-1.png",
      "pass": true,
      "detail": "compress/mode=0 mipmaps=false | PASS import fake-f0.png: compress/mode=0 mipmaps=false | PASS project texture filter is Nearest (got 0) | PASS godot loads clean-7.3-1.png at 32x32 (got 32x32) | PASS godot loads fake-f0.png at 32x32 (got 32x32)"
    },
    {
      "criterion": "runs",
      "name": "AI-looking copies at 5 scales/seeds snapped back to the 32x32 original, 4 frames on one grid, guards, Godot import: Godot check fails a sprite at the wrong size",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "AI-looking copies at 5 scales/seeds snapped back to the 32x32 original, 4 frames on one grid, guards, Godot import: 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": "One job: turn an image that should be pixel art into true pixel art at a chosen grid and palette (snap, binary alpha, palette, exact size) and prove it with a check and an optional Godot import. Drawing the art, choosing a style and animating stay with the art and style skills."
    },
    {
      "criterion": "bilingual",
      "name": "English SKILL.md",
      "pass": true
    },
    {
      "criterion": "bilingual",
      "name": "Chinese SKILL.zh.md shipped next to SKILL.md",
      "pass": true,
      "detail": "2940 chars"
    },
    {
      "criterion": "bilingual",
      "name": "Chinese guide written",
      "pass": true,
      "detail": "1953 chars"
    }
  ]
}
