Game UI Asset Pipeline

Packs semantically named transparent game UI PNG files into an atlas, preserves component states and reviewed 9-slice metadata, and exports deterministic JSON handoff manifests for Godot, Unity, Cocos, or generic consumers. Use after sprite-sheet splitting when users ask for atlas packing, nine-patch metadata, engine delivery, Unity sprites, Godot regions, Cocos frames, or a Game UI Factory production handoff.

455 stars 66 forksFrontend & Design

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add guiguiyan930-source/game-ui-design-workflow --skill game-ui-asset-pipeline
Manual install
git clone --depth 1 https://github.com/guiguiyan930-source/game-ui-design-workflow.git /tmp/game-ui-design-workflow
mkdir -p ~/.claude/skills
cp -r /tmp/game-ui-design-workflow/skills/game-ui-asset-pipeline ~/.claude/skills/game-ui-asset-pipeline

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# 游戏 UI Atlas 与引擎交付

把已经批准的语义 PNG 转换成 Atlas 与引擎 JSON。此技能不执行像素识别,不自动猜测语义,也不声称生成原生引擎工程文件。

## 前置条件

- `sprite-contract.yaml` 状态为 `approved`
- 所有 PNG 使用语义名称
- 每个 item 关联 `component_id`、`state` 和 `slice`
- `review.text_free: true`
- 9-slice margins 已人工预览

## 切图方式

- `9-slice`:按钮、面板、弹窗、进度条
- `full`:卡片、角色、徽章、背景
- `1:1`:图标、货币
- `tile`:可重复纹理

9-slice margins 格式:

```yaml
slice:
  type: 9-slice
  margins: [left, right, top, bottom]
```

## Atlas

读取 `contracts/atlas-contract.yaml`,执行:

```bash
python3 scripts/build_sprite_atlas.py specs/<project-id> --force
```

内置打包器:

- 使用透明 PNG
- 不旋转素材
- 可补齐到 2 的幂尺寸
- 保存 region、pivot、state、component ID 和 slice
- 生成 Atlas PNG 与 JSON
- 更新 atlas contract 为 `packed`

打包完成后人工检查,再将状态改为 `approved`。

## 引擎 JSON

读取 `contracts/export-contract.yaml`,执行:

```bash
python3 scripts/export_engine_manifest.py specs/<project-id> --force
```

支持:

- Godot JSON:texture、region、patch margins
- Unity JSON:Sprite Multiple rect、pivot、border、pixels per unit
- Cocos JSON:frame rect、original size、cap insets
- Generic JSON:Atlas 与 sprite metadata

这些文件是确定性交付清单。原生 `.tres`、`.tscn`、Unity SpriteAtlas 和 Cocos 工程导入器不在内置实现范围内。

## 人工验收

- Atlas 无重叠、裁断和透明污染
- region 与源 PNG 尺寸一致
- 9-slice 留有可拉伸中心
- 所有语义名称唯一
- 引擎 JSON 引用同一 Atlas
- 禁止把 native project files 标记为已生成

## 完成定义

- `atlas-contract.yaml` 状态为 `approved`
- Atlas PNG 与 JSON 存在
- `export-contract.yaml` 状态为 `approved`
- 每个目标引擎 JSON 存在并可解析
- 项目严格校验通过
Read the full skill on GitHub

Details

Skill name
game-ui-asset-pipeline
Path
skills/game-ui-asset-pipeline/SKILL.md
License
MIT
Repo updated
5 August 2026

FAQ

What does the Game UI Asset Pipeline skill do?

Packs semantically named transparent game UI PNG files into an atlas, preserves component states and reviewed 9-slice metadata, and exports deterministic JSON handoff manifests for Godot, Unity, Cocos, or generic consumers. Use after sprite-sheet splitting when users ask for atlas packing, nine-patch metadata, engine delivery, Unity sprites, Godot regions, Cocos frames, or a Game UI Factory production handoff.

How do I install the Game UI Asset Pipeline skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add guiguiyan930-source/game-ui-design-workflow --skill game-ui-asset-pipeline. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Game UI Asset Pipeline popular?

It lives in guiguiyan930-source/game-ui-design-workflow, which has 455 GitHub stars and 66 forks.

Related skills

Game UI Component Breakdown

455

guiguiyan930-source/game-ui-design-workflow

Breaks an approved game UI page or visual style into reusable, individually generated component assets with clean edges, transparent backgrounds where appropriate, stable naming, states, dimensions, prompts, and traceable manifest records. Use for UI slicing, transparent buttons, icons, cards, modals, navigation, characters, props, frames, labels, effects, or development handoff.

Frontend & Design66

Game UI Extension

455

guiguiyan930-source/game-ui-design-workflow

Extends a game concept or partial interface into a coherent screen system, player journey, feature flow, prioritized screen inventory, states, edge cases, and implementation-ready screen contracts. Use when users ask to expand an existing game UI, add related pages, audit missing screens, or plan a complete UI ecosystem.

Frontend & Design66

Game UI Page Generator

455

guiguiyan930-source/game-ui-design-workflow

Designs and generates one complete game UI page at a time using an approved style and screen contract, producing a page brief, reproducible image prompt, negative constraints, an actual visual asset when image generation is available, and a manifest entry. Use for home, task, ranking, shop, inventory, character, event, reward, settlement, login, onboarding, HUD, or other game screens.

Frontend & Design66

Qt UI Design

551

TheQtCompanyRnD/agent-skills

Design or audit UI for Qt/QML, Qt projects, web, or embedded MPU or MCU targets. Use when creating screens, layouts, navigation, or auditing UX.

Frontend & Design56

Qt Qml Profiler

551

TheQtCompanyRnD/agent-skills

Use when the user is investigating QML / Qt Quick performance — both vague complaints ("the UI feels laggy", "this is slow", "frames are dropping", "the app stutters") and explicit asks to profile, find hotspots, or optimize bindings, signals, or rendering. Runs qmlprofiler on a 2D QML application, parses the .qtd trace, and analyzes hotspots against the source with frame-time, memory, and pixmap-cache summaries. Does NOT cover Qt Quick 3D.

Frontend & Design56

Qt Figma Token Extraction

551

TheQtCompanyRnD/agent-skills

Extract design tokens, text styles, and variables from a Figma design system and produce a design-tokens.json plus ready-to-use QML singletons. Use this skill whenever someone wants to pull their design system out of Figma — whether they say "export tokens from Figma", "get design tokens", "set up my design system", "read our Figma design system", "get Figma variables into QML", "pull our color palette from Figma", "import design tokens", "extract colors/typography/spacing from Figma", or similar. Trigger this skill at the start of any design-system workflow that involves a Figma source.

Frontend & Design56

Browse the most popular Claude skills, all frontend & design skills, or write your own with the skills generator.