tea-x-random/unity-game-skills/unity-pixel-art
Claude Code and agent skill by tea-x-random/unity-game-skills
- community
Checking that the SKILL.md file is still in the repository.
Generate production-ready PIXEL-NATIVE 2D game sprites, sprite sheets, tilesets, icons, rotations, and animation frames for Unity using PixelLab for final art, with Gemini only for exploratory concepts/style boards. Use when the requested game art is pixel art, low-res sprite art, tilemaps, top-down/side-view 2D sprites, directional character sheets, animation strips, or any final 2D pixel asset. Enforces golden-anchor-first production at the GAME level (bitforge conditioning on approved goldens), a master-palette color_image lock on every call, art-spec-driven generation, tile-derived canvas sizes, transparent backgrounds, Unity point-filter import, pixel-perfect camera compatibility, alpha/palette/sheet QA plus a deterministic frame-vs-anchor diff gate, and explicitly forbids Tripo/3D-render downscaling as the source of pixel art.
Install
npx vskill@latest install tea-x-random/unity-game-skills/unity-pixel-artSKILL.md
The same SKILL.md was published earlier as tea-x-random/unity-game-skills/unity-pixel-art.
Unity Pixel Art
Create pixel-native game assets for Unity. Use Gemini for exploration only; use PixelLab for final pixels.
Routing rule
- Gemini → exploration: mood boards, rough silhouettes, palette exploration, UI/style-guide thumbnails, non-final reference sheets.
- PixelLab → final pixel art: characters, props, tilesets, icons, directional sheets, animation frames, variants, and recolors.
- Do not make pixel art by rendering Tripo/3D and downscaling it. 3D pre-render is acceptable for high-res/painterly 2D, but pixel art must be authored/generatively produced at the target pixel canvas so silhouettes, clusters, outlines, and palette choices are deliberate.
If another skill routes a pixel-art asset to unity-image-generator or unity-3d-generator, override it here: Gemini may provide concept references; PixelLab produces the approved source sprites.
Required references
Read only the branch you need:
references/pixellab-api.md— PixelLab models, script usage, endpoint/SDK notes.references/pixel-import.md— Unity import settings, slicing, and pixel-perfect camera snippets.
Anchor-first production workflow
Golden-anchor-first at the GAME level (hard rules):
- Only the game golden (
art-spec conditioning.golden_assets.game) — or an explicitly approved golden reroll — may be generated text-only withpixflux. Every subsequent character/prop SUBJECT MUST be `bitforge` conditioned on the appropriate golden anchor via `--init-image`. - Conditioning channel (verified live 2026-07-01): bitforge's
style_image/--style-strengthproduces structured noise at every strength on the live API — do not use it. The working channel is `--init-image` + `--init-image-strength` (1–999): the golden is a structural/style init and the description re-subjects it. Calibration: cross-subject derivation ~75–150 (110 is the script's autofill default; 175+ bleeds the anchor's identity — helmet/outfit/colors leaking into the new subject); same-asset variants/recolors 250–400. QA every cross-subject result for anchor-subject bleed. - Family model (aligns with unity-art-direction): the game golden seeds each family golden (
conditioning.golden_assets.<family>); family members condition on their family golden. Pass--family <name>and the script auto-fills--init-imagefrom the spec (bitforge only; the reference is auto crop/padded — never resampled — to the target canvas, which the API requires to match). - Canvas class per subject:
craft.char_tilesis the STANDARD character footprint; short subjects (grunts, critters) use their own smaller footprint (e.g. 1×1 tile) — a short subject forced onto a tall canvas comes back as stacked duplicates. - Field assets (tiles/textures) do not init on a subject golden — a character init forces object-ness onto what should be a flat field. Tiles/textures: palette lock + prompt tokens carry coherence,
--outline lineless --shading "flat shading", description says "edge-to-edge full bleed, no border, no outline, no frame, no objects". The FIRST approved tile becomes the terrain family golden; later tiles may init on IT (same asset class) at moderate strength. Best-of-N and keep the besttile.edge_wrapscore — seams vary strongly between rolls. - Large-canvas escape hatch: for approved 128+ boss/set-piece canvases,
pixfluxwith the master palette + locked outline/shading enums + the frozenidentity_string, then vision-QA the result against the game golden.
- Resolve the art contract. Every production call runs under
art-spec.yaml— the script resolves it (--art-spec,$UNITY_ART_SPEC, or probedAssets/*/Art/_ArtDirection/art-spec.yaml+ legacy roots) and auto-fills the master palette, golden anchor, outline enum, tile-derived canvas (--canvas tile|character), and PPU provenance. Production calls without a resolvable spec FAIL; spec-less exploration requires an explicit--no-art-spec. - Explore cheaply with Gemini if needed. Generate concept boards or silhouette sheets only. Do not approve Gemini pixels as final pixel-art assets.
- Generate the anchor sprite in PixelLab. Game golden →
pixflux; everything else →bitforgeon its golden (rules above). Use a tile-derived native canvas, transparent/no-background output, and the master palette ascolor_image. This anchor becomes the only source of truth for the asset. - QA the anchor before variants. Run alpha/padding/palette/silhouette checks with
unity-image-generator/scripts/validate_sprite.py. For goldens and canon sprites a VISION check is MANDATORY, not optional — the deterministic gates cannot see subject errors: a duplicated/stacked subject (a tall canvas often comes back as a big+small character or stacked duplicates) passes every alpha/palette check. Verify single subject, full body visible, correct subject, no anchor-subject bleed — viacritique_image.pyor direct image inspection, BEFORE approving. Prompt-side prevention: phrase goldens as "exactly one <subject>, full body, head to feet visible, single character only, no duplicates" and pass--coverage-percentage 80on character canvases. Recurring characters — register the pixel canon now: the pixel-track canon sheet is the approved anchor plus itsrotate-derived directional views composited into one PNG atAssets/<Game>/Art/_ArtDirection/sheets/<char_id>_canon.png(a 3-line PIL paste of the anchor + rotations side by side; for a single-view game the approved anchor alone, copied to the canon path, is the blessed canon). Never use a Gemini turnaround as pixel canon. Registercharacters.<id>.{canon_sheet,anchor_sprite,identity_string}in the art-spec before generating any derived asset. - Derive frames/rotations/variants from the anchor. Keep one base sprite driving directions, walk/idle/attack strips, damage states, and palette variants:
- Directions →
rotate(set--from-direction/--to-direction). - Animation → the skeleton workflow (
estimate-skeleton→ author per-frame poses →animate-skeleton). This is structurally consistent across frames.animate-textis the drift-prone fallback; never author each frame independently. - Recolors / damage states / edits → BitForge conditioned on the anchor (
--init-imagewith--init-image-strength 250–400), orinpaintfor local fixes. - Derived frames/rotations use the anchor's extracted sub-palette (a subset of the master — never the full game palette, which permits cross-asset color borrowing; never new colors). Emit the swatch from the approved anchor (
compare_frames_to_anchor.py --anchor <anchor.png> --emit-subpalette <id>_subpalette.png) and pass it via--color-image; omitting--color-imagefalls back to the full master palette, which this rule forbids for derived frames.
- Gate frames with `scripts/compare_frames_to_anchor.py` (palette-membership + baseline/bbox + loose silhouette-IoU vs the anchor) before slicing. Manual eyeballing does not replace it.
- Repack sheets with padding/extrusion. Use
extrude_atlas.pybefore Unity slicing so point filtering and atlas packing do not bleed neighboring cells. - Import with pixel settings. Point filter, no compression, no mipmaps, PPU from
art-spec craft.pixels_per_unit, multiple-sprite slicing for sheets, SpriteAtlas family grouping, and Pixel Perfect Camera settings. - Promote only approved assets. The final artifact must include the sprite PNG/sheet, QA reports, manifest, Unity import contract, prefab, and BeautyCell screenshot before it enters the approved registry.
Canvas and style rules
- Derive canvases from the spec's tiles (
craft.tile_size×craft.char_tiles), never ad hoc; sanity-band by readability: icons16–32, pickups/props32–64, characters32–128, bosses/large set pieces128+only when the camera supports it. - Generate at the final pixel canvas, not a high-res illustration to shrink later.
- State the exact view using a real
CameraViewenum:side,low top-down, orhigh top-down(there is no plaintop-down/3/4/isometricview — isometric is the--isometricflag). Pickdirectionfrom the 8-way compass set (south,south-east,east, …). State pivot/baseline. - Any PixelLab call without the palette lock is invalid. Every call carries a
color_image: the game'smaster-palette.pngfor anchors/goldens, the anchor's extracted sub-palette for derived frames/rotations.--palettehex lists are for exploration only. - Keep animation frame counts small and game-readable: idle
4–6, walk/run6–8, attack6–10, hit2–4, death6–10. - Prefer one row per clip (
idle,walk,attack) or a documented grid (rows=clips,cols=frames) with a sidecar manifest.
PixelLab helper script
Use the bundled script for final generation. It resolves keys as --api-key → PIXEL_LABS_API_KEY, and the art-spec as --art-spec → $UNITY_ART_SPEC → probed project paths. With a resolved spec it auto-attaches the master palette (conditioning.master_palette_png → color_image), the golden anchor (conditioning.golden_assets.<--family|game> → --init-image, bitforge only, default strength 110), the outline enum, and the per-game default view/shading enums (craft.view / craft.shading → --view/--shading; explicit CLI flags win); production calls without a spec (or without a palette lock) fail. Exploration only: add --no-art-spec.
Game golden — the ONLY text-only roll (everything after conditions on a golden):
Every subsequent subject — bitforge init-conditioned on its golden. `--init-image-strength` is a 1–999 scale. NEW subjects from a golden ~75–150 (autofill default 110; higher bleeds the anchor's identity into the new subject); same-asset variants/recolors 250–400. (--style-image/--style-strength are traps on the live API — noise at every strength.)
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/unity-pixel-art/SKILL.md
Popularity
- Repository stars
- 3
- 7-day trend score
- 7
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/tea-x-random/unity-game-skills/unity-pixel-art)