Game UI Page Generator

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.

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-page-generator
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-page-generator ~/.claude/skills/game-ui-page-generator

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 单页视觉生成

一次只完成一个页面,继承项目契约,不把连续页面做成互不相关的风格稿。

## 前置条件

读取:

- 策划三文档须已由 `game-ui-product-design` 完成:`gdd.md`、`prd.md`、`interaction.md`(`status: approved`,或 `quickstart.md` 已记录跳过策划门禁)
- `spec.md` 与 `research.md`
- `contracts/style-contract.yaml`
- 目标页面在 `contracts/screen-contract.yaml` 中的条目
- 已批准的基准页面及 `asset-manifest.yaml`

若策划三文档缺失或仍为 `draft` 且用户未明确跳过,停止生图,改调生成第一步 `game-ui-product-design`。
若样式契约仍为 `draft`,可以生成探索稿,但资源不得标记为已批准。

## 页面步骤

1. 确认页面 ID、目的、主操作、状态和比例;核对 `interaction.md` 中该页主流程。
2. 建立信息层级:主视觉、主操作、资源状态、导航、次级入口。
3. 具体说明顶部、中部、底部和悬浮区域,不只写通用布局名称。
4. 列出按钮、卡片、图标、角色、状态栏、导航、气泡和装饰。
5. 从样式契约注入色值、材质、光向、圆角、描边和字体策略。
6. 生成完整正向提示词和反向限制。
7. 图片工具可用时实际生图;不可用时保留提示词并降级。
8. 保存提示与图片,更新页面契约和资源清单。

## 提示文件

保存为 `prompts/pages/<screen-id>.md`,结构必须为:

```markdown
# <页面名称>

## 页面定位
## 视觉约束
## 布局与组件
## 状态
## 图像生成提示词
## 反向限制
## 验收记录
```

正向提示词必须包含:

- 页面名称、游戏类型、平台、比例和参考尺寸
- 顶中底及辅助区域的具体内容
- 主角色、场景或核心玩法焦点
- 契约中的色彩、材质、光源、圆角、描边和图标语言
- 可点击质感、信息层级、中文策略、画面质量
- 与已批准基准页保持一致的要求

反向限制至少包含:

- 乱码、错误文字、商标和未经授权角色
- 按钮变形、错误透视、元素粘连、主体遮挡
- 信息层级混乱、过度复杂、低清晰度
- 违反契约的色调、光向、材质或圆角

## 图片生成

图片工具可用时:

1. 使用工具支持的最接近比例。
2. 文件名使用 `<screen-id>-v<数字>.<ext>`。
3. 将结果保存到 `assets/pages/`。
4. 在 manifest 记录真实路径、尺寸、状态和版本来源。
5. 生图中文字不可读时,不通过验收;生成无文字底板或安排后期排字。

图片工具不可用时:

- 不创建假图片
- `status: pending-generation`
- `approved: false`
- 提示词路径必须有效

## 页面批准

只有同时满足以下条件才把 `approved` 设为 `true`:

- 主操作清楚,页面目的成立
- 比例、安全区和导航合理
- 契约中的视觉语言一致
- 关键状态有对应方案
- 文字可读或已明确采用后期排版
- 用户确认或项目验收规则明确通过

## 输出

- 页面说明与提示文件
- 实际视觉稿或明确的待生成状态
Read the full skill on GitHub

Details

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

FAQ

What does the Game UI Page Generator skill do?

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.

How do I install the Game UI Page Generator skill?

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

Is Game UI Page Generator popular?

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

Related skills

Game UI Asset Pipeline

455

guiguiyan930-source/game-ui-design-workflow

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.

Frontend & Design66

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 Product Design

455

guiguiyan930-source/game-ui-design-workflow

Writes and maintains game design docs (GDD), product requirements (PRD), and UI interaction logic before any page image generation. Use when users ask for 游戏策划方案、PRD、产品需求、UI交互逻辑、交互流程、状态机, or say to finish planning before generating UI visuals / 生图前先做策划.

Frontend & Design66

Game UI Specification

455

guiguiyan930-source/game-ui-design-workflow

Creates and maintains production-oriented game UI specifications and shared visual contracts covering color, typography, layout, geometry, components, interaction states, adaptation, and image-generation constraints. Use when users ask for a game UI design system, visual rules, standardization, or consistent downstream page and asset generation.

Frontend & Design66

Game UI Sprite Sheet Splitter

455

guiguiyan930-source/game-ui-design-workflow

Splits a generated game UI sprite sheet or component board into individual transparent PNG elements, writes crop metadata, validates dimensions and alpha channels, and packages all PNG files into a ZIP archive. Use after component breakdown when users ask to cut a combined sprite sheet, isolate every button/icon/card/effect, export single elements, remove a solid background, or deliver a downloadable PNG asset pack.

Frontend & Design66

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