---
name: jewel_tile.aiimage
description: 宝石牌面贴图组封包 - 光泽宝石精灵图集，适合三消/数字合成的高品质牌面素材
triggers: 宝石,jewel,gem,钻石,diamond,红宝石,ruby,牌面,tile,三消,match3,闪光,shiny
---

# jewel_tile.aiimage

宝石主题牌面贴图组封包。提供光泽感宝石精灵图，适合高品质三消、数字合成类游戏。

## Recipe

- **基础 prompt**：`shiny gemstone icons sprite sheet, ruby diamond emerald sapphire amethyst topaz pearl, flat design with gloss, vibrant colors, transparent background, game assets`
- **宽高比**：1:1
- **风格**：cartoon + gloss
- **需包含宝石种类**：红宝石、钻石、祖母绿、蓝宝石、紫水晶、黄玉、珍珠（共 7 种）
- **可 fork 变体**：
  - 暗黑宝石：深色光晕，神秘感
  - 8bit 像素风：像素宝石图标

**生成步骤：**
1. 生成 512×512 精灵图集，7 种宝石水平排列
2. 写入 `tiles.png`，更新 manifest

## Result

- **产物文件**：`tiles.png`
- **格式**：PNG（透明背景），最小 512×512

## Binding

- **Binding Role**：`tileTextureSet`
- **挂载目标**：`scene://entities/Board/tileRenderer/tileAtlas`
- **引用类型**：`sprite-atlas-reference`

## 生成方式

Platform Skill: `playcraft-image-generation`

```bash
# 1. 生成图片（参考 ref/ 中的参考图）
playcraft tools generate-image \
     --prompt "shiny gemstone icons sprite sheet, ruby diamond emerald sapphire amethyst topaz pearl, flat design with gloss, vibrant colors, transparent background, game assets" \
     --aspect-ratio 1:1 \
     --image-model google/imagen-3.0-generate-002 \
     --output ta-workspace/raw.png

# 2. 后处理（去白底 + 格式转换）
playcraft image remove-background --input ta-workspace/raw.png --output ta-workspace/trimmed.png
playcraft image convert --input ta-workspace/trimmed.png --output ta-workspace/tiles.webp --quality 85

# 3. 将产物写入 sandbox 对应路径（见 binding.target）
```
## Skill Definition

tools:
  - bash
  - write
  - read
prompt_extension: |
  You are generating a jewel/gem tile sprite sheet for a match-3 or merge game.
  Follow the Recipe to generate 7 distinct gem icons as a sprite atlas.
  Apply the Binding to wire the atlas into the board renderer.
