---
name: candy_tile.aiimage
description: 糖果牌面贴图组封包 - 卡通糖果甜品精灵图集，适合休闲三消/对对碰的可爱风格牌面
triggers: 糖果,candy,甜品,sweet,棒棒糖,lollipop,牌面,tile,三消,可爱,cute,pastel
---

# candy_tile.aiimage

糖果主题牌面贴图组封包。可爱的糖果甜品图标精灵集，适合女性向休闲游戏。

## Recipe

- **基础 prompt**：`cute candy sweet icons sprite sheet, lollipop gummy bear chocolate cake cupcake cookie ice cream, flat design, pastel colors, transparent background, game assets`
- **宽高比**：1:1
- **风格**：cartoon / pastel
- **图标种类**：棒棒糖、小熊软糖、巧克力、蛋糕、杯子蛋糕、饼干、冰淇淋（共 7 种）
- **可 fork 变体**：
  - 节日糖果：圣诞/万圣节主题甜品
  - 高端甜品：精致马卡龙风格

**生成步骤：**
1. 生成 512×512 精灵图集
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 "cute candy sweet icons sprite sheet, lollipop gummy bear chocolate cake cupcake cookie ice cream, flat design, pastel 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 candy/sweet tile sprite sheet for a casual match-3 game.
  Follow the Recipe to generate cute candy icons as a sprite atlas. Apply the Binding.
