/retro-arcade-game-finisher:generating-dot-assetsfrom Retro Arcade Game Finisher
Generates transparent pixel-art object assets from a subject and target pixel size using image generation, chroma-key removal, pixelization, and PNG validation. Requires ImageMagick and an image_gen entry point.
Ships in Retro Arcade Game Finisher. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Create transparent pixel-art object assets from a natural-language subject and an exact target size such as 32x32, 64x64, or 96x48.
Use this skill when the user asks for a game object, sprite-like prop, item icon, diorama object, or transparent pixel-art asset generated from image generation.
image_gen and reads its output from $CODEX_HOME/generated_images/.... On other hosts (Claude Code, plain CLI), substitute an equivalent generator and copy the chosen image into <PROJECT_DIR>/assets/source/<stem>.raw.png.image_gen output may not appear under $CODEX_HOME/generated_images even when generation succeeds. If no current output file is visible, recover the PNG from the Codex session JSONL before retrying generation; see references/imagegen-cli-recovery.md.convert on PATH. The bundled scripts/*.mjs shell out to it; if it is missing, stop and report the dependency rather than fabricating output.Require:
old wooden school desk64x64Optional:
colors arraycontain or stretchDefault project layout:
<PROJECT_DIR>/assets/source/ for prompt records, copied raw images, cutouts, pixelized intermediates, and optional palette JSON files.<PROJECT_DIR>/assets/sprites/ for final validated transparent PNGs.<stem>.prompt.md, <stem>.raw.png, <stem>.cutout.png, <stem>.pixel.png, and <stem>.palette.json for generated working files.<stem>_v2.png, then _v3, etc. Apply the same suffix to prompt, raw, cutout, pixel, and palette files for that run.<PROJECT_DIR>/VISUAL_DESIGN.md or the README visual direction first. Explicit user or scenario constraints may be used when those files are unavailable; report the missing design docs and record the constraints in the prompt file. If neither design docs nor explicit constraints define role colors, define a minimal Player / Danger / Reward palette (or run a visual-direction pass first) before generating.--colors <N> for exploratory or one-off assets when exact project colors are not required. Create and pass a palette JSON when assets must share a project palette, match role colors, or stay consistent across a set.references/prompt-patterns.md, then prompt built-in image_gen for an oversized source image of exactly one object on the selected chroma-key background.$CODEX_HOME/generated_images/... into the project raw directory.scripts/cutout.mjs to remove the chroma-key background.scripts/pixelize.mjs to reduce detail and apply a palette or color limit.scripts/fit-canvas.mjs to enforce the exact requested WxH transparent canvas.scripts/validate-pixel-asset.mjs, then apply the automated and visual acceptance checks in references/validation.md.<stem>.prompt.md unless the project has a stronger convention.Prefer project-local equivalent tools if they already exist and satisfy the same contract. Otherwise use this skill's bundled scripts.
Set SKILL_DIR to the absolute directory containing this loaded SKILL.md; plugin installations need not share the source repository layout.
: "${SKILL_DIR:?Set SKILL_DIR to this skill directory}"
node "$SKILL_DIR/scripts/cutout.mjs" raw.png tmp/cutout.png --trim --fuzz 8%
node "$SKILL_DIR/scripts/pixelize.mjs" tmp/cutout.png tmp/pixel.png --width 96 --colors 24 --dither off
node "$SKILL_DIR/scripts/fit-canvas.mjs" tmp/pixel.png final.png --size 64x64 --fit contain --gravity center
node "$SKILL_DIR/scripts/validate-pixel-asset.mjs" final.png --size 64x64 --max-colors 24 --transparent-corners
With a palette:
: "${SKILL_DIR:?Set SKILL_DIR to this skill directory}"
node "$SKILL_DIR/scripts/pixelize.mjs" tmp/cutout.png tmp/pixel.png --width 96 --palette palette.json --dither off
Palette files must contain a colors array of hex colors:
{
"colors": ["#1b1f3a", "#f04438", "#f97316", "#facc15", "#38bdf8", "#f8fafc"]
}
pixelize; always enforce the requested dimensions with fit-canvas.contain for most object assets so the subject is not cropped.image_gen call per object.--width to final_width * 2; for portrait assets, set --height to final_height * 2. Use both --width and --height only when intentional pre-fit stretching is acceptable.cutout with a higher --fuzz or regenerate with more padding and stricter flat-background wording.image_gen appears to succeed but no output file is available under $CODEX_HOME/generated_images, do not assume generation failed. Recover the PNG from the Codex session JSONL using references/imagegen-cli-recovery.md, then continue from the raw-image copy step.convert is unavailable, report that the bundled scripts require ImageMagick and stop.references/prompt-patterns.md — canonical image-generation prompts and key-color selection.references/validation.md — canonical automated and visual acceptance checks.references/imagegen-cli-recovery.md — recover successful Codex CLI image output when no generated file is visible.references/imagegen-cli-recovery.md (opens in a new tab)references/prompt-patterns.md (opens in a new tab)references/validation.md (opens in a new tab)scripts/common.mjs (opens in a new tab)scripts/cutout.mjs (opens in a new tab)scripts/fit-canvas.mjs (opens in a new tab)scripts/pixelize.mjs (opens in a new tab)scripts/validate-pixel-asset.mjs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub abagames/agentic-gamedev-skills --plugin retro-arcade-game-finisher5 skills in this plugin
/arcadifying-mini-gamesConverts a working mini-game into a complete arcade game by adding round structure, ceremony screens (READY / round clear / death / game over), a score economy (extends, round bonuses, initials entry, high-score table), and jingle/SE separation. Use when a playable game with a verified core loop still "feels like a minigame" and needs arcade completeness — rounds or waves, 1UP extends, name entry, attract mode. Not for designing the core mechanic itself (use designing-mini-games first)./building-era-authentic-game-audioDesigns, implements, and validates a complete game-specific procedural audio system inspired by late-1970s to mid-1980s arcade and console hardware, including BGM loops, adaptive cues, sound effects, jingles, event wiring, synthesis adapters, arbitration, and automated audio-contract tests. Use for tasks that include BGM or require an integrated BGM/SE subsystem across gameplay events. For an engine-agnostic SE/jingle-only kit, use designing-retro-arcade-sound-kits; for Godot-specific procedural SFX implementation without broader music/system design, use creating-godot-procedural-audio. Do not use for a modern sample-based soundtrack or exact chip emulation unless the user explicitly requests those goals./designing-retro-arcade-sound-kitsDesigns and validates event-driven retro-arcade sound kits (SFX + jingles) where game code emits abstract event names and an adapter/synth layer maps and plays them. Use when authoring a per-game arcade sound set, deciding which moments need a one-shot SE vs a jingle vs no sound, keeping SEs from drifting into background music, or preserving a fixed-hardware audio character. Engine-agnostic; for Godot built-in audio APIs specifically, use creating-godot-procedural-audio instead./generating-retro-arcade-conceptsBatch-generates, evaluates, and specs multiple fixed-screen arcade game concepts in the style of 1978-1985 cabinets (default profile: 1980-1983). Use for a concept slate or for turning era constraints into ranked concepts and implementation specs. For one already-chosen concept, use designing-mini-games instead.Other plugins' skills for the same job