generate2dsprite
Installation
SKILL.md
Generate 2D Sprite
Make the smallest asset bundle the game needs, at its real display size, camera and style. Game logic (collision, damage, timing) stays independent of the art.
Use when
- A character, creature, prop, item, icon or FX is needed as a master still, a sheet or clips.
- Frames already exist (generated, painted, code-drawn) and need clips, palettes or an engine export.
Do not use when
- Maps, tiles, terrain, parallax or scene plates: generate2dmap.
- Animating a character: approve one master here, then video2dsprite makes one clip per action (video-handoff.md).
- Code-drawn art the user asked for: codeart2d. Only an API or CLI call: generate2dmedia.
Capability check (once per session)
Run python "<skill-dir>/../generate2dmedia/scripts/forge_doctor.py" --host-tools <tools> --save <output>/doctor.json, where <tools> lists the media tools in your own tool list (image_gen, image_edit, image_to_video) or none. Its ROUTES block shows which API keys are configured (yes or no), the local readiness and the resolved order. If encoding.stdout fails, set PYTHONUTF8=1.