generate-game-assets-pipeline
Installation
SKILL.md
Generate Game Assets Pipeline
Build deterministic, automated asset generation and processing pipelines that transform raw procedural or AI-generated art into packed sprite sheets, trimmed texture atlases, and channel-packed PBR materials.
Core Rules
- Provenance & Budget Gate: Every AI-assisted or procedurally generated asset must pass automated resolution, polycount, and palette validation before entering the engine repository, with generation parameters recorded in a manifest.
- Extruded Texture Atlases: Pack 2D sprites and UI icons into power-of-two (POT) texture atlases with at least $2\text{px}$ edge extrusion and padding to eliminate texture bleeding during mipmapping and bilinear filtering.
- Linear PBR Channel Packing: Pack single-channel grayscale maps (Ambient Occlusion in Red, Roughness in Green, Metallic in Blue) into a single linear-color-space ORM texture to save 66% of sampler bandwidth and VRAM.
- Contract Adherence: Emit
contracts/schemas/implementation-result.jsonwhen completing asset pipeline tooling and batch processing.
Suggested Process
1. Sprite Sheet & Pixel Art Normalization
Standardize 2D character and VFX frames via headless CLI scripts (Aseprite CLI, ImageMagick, or Python Pillow):
- Enforce uniform pivot anchors, indexed color palettes, and clean alpha thresholds (zero stray semi-transparent pixels on pixel-art silhouettes).
- Export structured JSON/XML frame metadata alongside the packed sprite sheet PNG/KTX2.