sprite-pipeline
Generate and normalize 2D sprite animations. Use when the user asks for full-strip generation from approved source frames, consistent anchor and scale normalization, or preview assets for browser-game animation.
DeepseekModel
官方收录技能
质量 优秀 · 90
v1.0.0
获取
https://deepseekmodel.com/api/download.php?id=openai-plugins-plugins-game-studio-skills-sprite-pipeline-skill-md&format=skill
下载 .skill
标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name sprite-pipeline description Generate and normalize 2D sprite animations. Use when the user asks for full-strip generation from approved source frames, consistent anchor and scale normalization, or preview assets for browser-game animation. 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 Start from an approved in-game seed frame. The seed frame should already reflect the right silhouette, palette, costume, and proportions. Build a larger transparent reference canvas around that frame. Use ../../scripts/build_sprite_edit_canvas.py . Ask for the full animation strip in one edit request. Do not generate each frame independently unless the user explicitly accepts lower consistency. 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. 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. 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
Agent 识别该技能的关键词,点击任意一个即可复制。
该技能未提供触发词。
下载的 .skill 包内含以下字段。
| 字段 | 说明 |
|---|---|
| format | 格式标识(skill/v1) |
| skill_id | 技能唯一 ID |
| name | 技能名称 |
| version | 版本号 |
| description | 技能描述 |
| category | 所属分类(数组) |
| trigger_words | 触发词列表 |
| tags | 标签列表 |
| source | 来源标识 |
| source_url | 来源链接(本页地址) |
| exported_at | 导出时间(每次下载生成) |
| system_prompt | 系统提示词正文 |
| model_config | 模型参数:provider / model / temperature / max_tokens / top_p |
| examples | 示例 |
| install_guide | 各平台导入说明(Coze / Dify / Claude / 自定义框架) |