Generate clean 2D game sprites & animation atlases — component-row pipeline: state rows, alpha cleanup, frame extraction, runtime atlases. Codex/Claude skill.
scripts/dev — maintainer experiments, not pipeline stages
These are not sprite-gen verbs and the skill never requires them. Each one is a
measurement or a proof that fed a rule now living in the package or its docs:
| Script | What it measures |
|---|---|
breathe_mutation_battery.py |
plants each breathe-contract mutation in the source and checks the tests bite (exit 0 = every net bites) |
measure_align_sigma.py |
per-frame horizontal jitter σ of fit.align_x variants on a source run's raw strips |
check_visible_magenta.py |
chroma-leak guard for screenshots (sprite_gen.frames.check_visible_magenta) |
source_restoration_demo.py |
source restoration end to end on a drawn walker with two melted cells (loop-comparison): video-source-manifest, then video-loop-repair and video-loop-compare twice (each improved) and a third request that changes nothing; exit 0 only when every check holds. Writes the release showcase GIFs and a summary.json with no path or time (--out-dir <new dir>) |
Run them with the project interpreter (.venv/bin/python scripts/dev/<name>.py).