sprite-pipeline

tarafından openai

2D sprite animasyonları oluştur ve normalleştir. Kullanıcı onaylanmış kaynak karelerden tam şerit oluşturma, tutarlı bağlantı noktası ve ölçek istediğinde kullan…

npx skills add https://github.com/openai/plugins --skill sprite-pipeline

Sprite Pipeline

Overview

Use this skill for 2D sprite generation and normalization. This workflow is intentionally anchored around one approved frame and a whole-strip generation pass because frame-by-frame generation drifts too easily.

This skill is 2D-specific. If the request is for 3D characters, meshes, or materials, route back through ../game-studio/SKILL.md.

Core Workflow

  1. Start from an approved in-game seed frame.
    • The seed frame should already reflect the right silhouette, palette, costume, and proportions.
  2. Build a larger transparent reference canvas around that frame.
    • Use ../../scripts/build_sprite_edit_canvas.py.
  3. Ask for the full animation strip in one edit request.
    • Do not generate each frame independently unless the user explicitly accepts lower consistency.
  4. Normalize the result into fixed-size game frames.
    • Use ../../scripts/normalize_sprite_strip.py.
    • Use one shared scale across the whole strip.
    • Align frames with one shared anchor, typically bottom-center.
  5. Optionally lock frame 01 back to the shipped seed frame.
    • Do this when the animation should begin from the exact idle or base pose already in game.
  6. Render a preview sheet and inspect the animation in-engine before approving it.
    • Use ../../scripts/render_sprite_preview_sheet.py.

Prompting Rules

Always preserve these invariants in the prompt:

  • same character
  • same facing direction
  • same palette family
  • same silhouette family
  • same readable face or key features
  • same outfit proportions
  • transparent background
  • exact frame count and slot layout

Always ask for:

  • one strip at once
  • a transparent canvas
  • no scenery, labels, or poster composition
  • crisp pixel-art clusters for pixel work
  • production asset tone, not concept art

Using Image Generation

For live asset generation or edits, use the installed imagegen skill in this workspace. This skill defines the game-specific process; imagegen handles the API-backed generation or edit execution.

Script Recipes

Create a reference canvas:

python3 scripts/build_sprite_edit_canvas.py \
  --seed output/sprites/idle-01.png \
  --out output/sprites/hurt-edit-canvas.png \
  --frames 4 \
  --slot-size 256 \
  --canvas-size 1024

Normalize a raw strip:

python3 scripts/normalize_sprite_strip.py \
  --input output/sprites/hurt-raw.png \
  --out-dir output/sprites/hurt \
  --frames 4 \
  --frame-size 64 \
  --anchor output/sprites/idle-01.png \
  --lock-frame1

Render a preview sheet:

python3 scripts/render_sprite_preview_sheet.py \
  --frames-dir output/sprites/hurt \
  --out output/sprites/hurt-preview.png \
  --columns 4

Quality Gates

  • proportions stay stable across frames
  • frame-to-frame size does not drift
  • action reads clearly at game scale
  • transparency is preserved
  • frame 01 matches the shipped sprite when lockback is enabled
  • preview looks correct before any in-engine asset index update

References

  • Detailed workflow: ../../references/sprite-pipeline.md
  • Shared frontend context: ../game-ui-frontend/SKILL.md

openai tarafından daha fazla skill

user-context
openai
Veri Analitiği eklentisinin kalıcı kaynak yönlendirme tercihlerini, kayıt mantığını, kurulum ilerlemesini ve anlamsal katman kaydını yükleyin veya yönetin.
official
notion-research-documentation
openai
Notion içeriğini araştır ve yapılandırılmış brifingler, raporlar veya alıntılarla karşılaştırmalar halinde sentezle. Hedeflenen sorguları kullanarak Notion sayfalarını ara ve getir, ardından bulguları temaya göre satır içi kaynak alıntıları ve bir referans bölümüyle düzenle. Kapsam ve kullanıcı hedefine bağlı olarak dört çıktı formatı (hızlı brifing, araştırma özeti, karşılaştırma, kapsamlı rapor) arasından seçim yap. Yerleşik şablonları kullanarak Notion sayfaları oluştur ve güncelle; kaynakları doğrudan bağla ve yeni bilgiler geldikçe değişiklik
official
rcsb-pdb-skill
openai
Temel meta veriler, Search API sorguları ve FASTA indirmeleri için kompakt RCSB PDB talepleri gönderin. Kullanıcı kısa RCSB özetleri istediğinde kullanın; ham JSON veya…
official
pdf
openai
PDF okuma, oluşturma ve doğrulama; görsel işleme ve programatik üretim ile birlikte. Teslimattan önce düzen, boşluk ve tipografinin görsel denetimi için PDF sayfalarını PNG'ye dönüştürme (Poppler / pdftoppm kullanarak). Güvenilir biçimlendirme için PDF'leri programatik olarak reportlab ile oluşturma; pdfplumber veya pypdf ile metin ve meta veri çıkarma. Kalite standartlarını uygulama: kırpılmış metin, üst üste binen öğeler, bozuk tablolar veya işleme yapaylıkları olmamalı; yalnızca ASCII tireleri, insan tarafından okunabilir alıntılar kullanılmalı...
official
test-coverage-improver
openai
Improve test coverage in the OpenAI Agents JS monorepo: run `pnpm test:coverage`, inspect coverage artifacts, identify low-coverage files and branches, propose…
official
playwright
openai
Terminal tabanlı tarayıcı otomasyonu, öğe anlık görüntüleri ve etkileşimli UI iş akışları ile çalışır. playwright-cli wrapper betiği üzerinden işler (npx gerektirir); görsel hata ayıklama için başlıksız ve başlıklı modları destekler. Temel iş akışı: sayfa açma, kararlı öğe referansları için anlık görüntü alma, referansları kullanarak etkileşim kurma, gezinme veya DOM değişikliklerinden sonra yeniden anlık görüntü alma. Form doldurma, tıklama, yazma, çoklu sekme yönetimi, ekran görüntüsü/PDF yakalama ve akış hata ayıklaması için iz kaydı içerir.
official
ukb-topmed-phewas-skill
openai
Tek varyantlar için rsID, GRCh37 veya GRCh38 girişini kabul ederek ve gerekli GRCh38 sorgusuna çözümleyerek kompakt UKB-TOPMed PheWAS özetlerini getirir. Bir…
official
code-review-context
openai
Model görünür bağlamı
official