game-ui-page-generator
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "game-ui-page-generator" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-c11e990b2620f9320babd55d23446184d3dc440edd3f3e9655e21ce3185b5ed8. Verify the upstream source and version against https://github.com/guiguiyan930-source/game-ui-design-workflow before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Design and generate a complete game UI page each time, following approved style and screen specifications. Outputs include: a page brief, reproducible image prompts, negative constraint conditions, actual visual assets (provided when image generation is supported), and checklist items. Applicable to home, quests, leaderboards, store, inventory, character, events, rewards, settlement, login, tutorials, HUD, or other game interfaces.
Introduction source: third_party · guiguiyan930-source · 0.0.1 Reference
SkillPi interpretation
- Tasks
- 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.
- Inputs and outputs
- Translation pending; see source documentation.
- Software, accounts and paid services
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: game-ui-page-generator
description: 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.游戏 UI 单页视觉生成
一次只完成一个页面,继承项目契约,不把连续页面做成互不相关的风格稿。
前置条件
读取:
- 策划三文档须已由
game-ui-product-design完成:gdd.md、prd.md、interaction.md(status: approved,或quickstart.md已记录跳过策划门禁) spec.md与research.mdcontracts/style-contract.yaml- 目标页面在
contracts/screen-contract.yaml中的条目 - 已批准的基准页面及
asset-manifest.yaml
若策划三文档缺失或仍为 draft 且用户未明确跳过,停止生图,改调生成第一步 game-ui-product-design。
若样式契约仍为 draft,可以生成探索稿,但资源不得标记为已批准。
页面步骤
- 确认页面 ID、目的、主操作、状态和比例;核对
interaction.md中该页主流程。 - 建立信息层级:主视觉、主操作、资源状态、导航、次级入口。
- 具体说明顶部、中部、底部和悬浮区域,不只写通用布局名称。
- 列出按钮、卡片、图标、角色、状态栏、导航、气泡和装饰。
- 从样式契约注入色值、材质、光向、圆角、描边和字体策略。
- 生成完整正向提示词和反向限制。
- 图片工具可用时实际生图;不可用时保留提示词并降级。
- 保存提示与图片,更新页面契约和资源清单。
提示文件
保存为 prompts/pages/<screen-id>.md,结构必须为:
# <页面名称>
## 页面定位
## 视觉约束
## 布局与组件
## 状态
## 图像生成提示词
## 反向限制
## 验收记录
正向提示词必须包含:
- 页面名称、游戏类型、平台、比例和参考尺寸
- 顶中底及辅助区域的具体内容
- 主角色、场景或核心玩法焦点
- 契约中的色彩、材质、光源、圆角、描边和图标语言
- 可点击质感、信息层级、中文策略、画面质量
- 与已批准基准页保持一致的要求
反向限制至少包含:
- 乱码、错误文字、商标和未经授权角色
- 按钮变形、错误透视、元素粘连、主体遮挡
- 信息层级混乱、过度复杂、低清晰度
- 违反契约的色调、光向、材质或圆角
图片生成
图片工具可用时:
- 使用工具支持的最接近比例。
- 文件名使用
<screen-id>-v<数字>.<ext>。 - 将结果保存到
assets/pages/。 - 在 manifest 记录真实路径、尺寸、状态和版本来源。
- 生图中文字不可读时,不通过验收;生成无文字底板或安排后期排字。
图片工具不可用时:
- 不创建假图片
status: pending-generationapproved: false- 提示词路径必须有效
页面批准
只有同时满足以下条件才把 approved 设为 true:
- 主操作清楚,页面目的成立
- 比例、安全区和导航合理
- 契约中的视觉语言一致
- 关键状态有对应方案
- 文字可读或已明确采用后期排版
- 用户确认或项目验收规则明确通过
输出
- 页面说明与提示文件
- 实际视觉稿或明确的待生成状态
- 更新后的
screen-contract.yaml - 更新后的
asset-manifest.yaml - 后续组件拆解建议
Version history
-
v0.3.1
GitHub ↗
Original release notes
为 Factory v2 商店案例补充用户提供的三张实际参考图片: - 组件拆解板 - 商店页面视觉 - 完整 UI 系统板 案例文档已加入图片展示、来源说明与版权边界。仓库重构稿继续作为独立示意,不冒充或直接复制参考图片。 24 个自动化测试与 GitHub Actions 全部通过。 SHA-256: `c86787109c0c0f130bc9b4418ee4a9dcc9fbb34a3dafe10cc4e8e938cf8105b7`
-
v0.3.0
GitHub ↗
Original release notes
把公开分享中的欧美卡通商店案例加入仓库,并将可验证的优化落地为 Game UI Factory v2 资产交付流水线。 ## Highlights - 新增欧美卡通生存商店完整案例与重构视觉稿 - 新增设计 Token、组件语义命名和 ordered mapping - 雪碧图直接输出稳定语义 PNG,而不是 element-001 - 新增人工审核 9-slice 元数据与合法性校验 - 新增确定性、无旋转 Atlas PNG + JSON 打包器 - 新增 Godot、Unity、Cocos JSON handoff 导出器 - 新增 game-ui-asset-pipeline Skill - 新增 atlas / export contracts、JSON Schema 与配置 - 明确区分已实现能力和 Grounding DINO、SAM2、自动去字、原生引擎插件等路线图 - 24 个自动化测试;两个完整案例通过严格校验 原始 ChatGPT 分享不包含用户上传图片,本仓库案例按公开文字描述重构,不冒充原图。 SHA-256: `ca701ab4f952e61b7c583416a3b12ee9df554f249a24b5edce20b8ea8cd7086f`
-
v0.2.1
GitHub ↗
Original release notes
雪碧图中的每个拆分元素现在必须去掉全部文字。 - 去掉标题、按钮文案、数字标签、占位文字、水印和说明编号 - 自动切割前优先重新生成无文字雪碧图,或使用蒙版修复补回底板纹理 - 禁止通过简单裁字留下透明洞、色块或文字残影 - 新增 `text_policy: remove-all` - 批准雪碧图包必须满足 `review.text_free: true` - 19 个自动化测试和 GitHub Actions 全部通过 SHA-256: `d52ee0c0d1a74c88f7462f97841592e30fc241c858eb094007d0fe442b6d7a67`
-
v0.2.0
GitHub ↗
Original release notes
新增完整的第五步交付流程:组件雪碧图拆分、单元素透明 PNG 导出和 ZIP 打包。 ## Highlights - 新增 `game-ui-sprite-sheet-splitter` Cursor Agent Skill - 自动识别透明背景或近似纯色背景 - 连通元素检测、噪点过滤、安全边距和阈值调整 - 独立透明 PNG、坐标尺寸 manifest 和 ZIP 压缩包 - 新增可选 `sprite-contract.yaml` 与项目级严格校验 - 检查 ZIP 可解压性、缺失切片、PNG 尺寸和 Alpha 通道 - 月宫列传雪碧图、9 个独立切片和可下载示例包 - 18 个自动化测试,GitHub Actions 已通过 ## Install 下载压缩包后运行: ```bash ./install.sh --project /path/to/your-game ``` SHA-256: `24c1dc5f26137e14d7acf53b099b70fdb8411d0ce0115fd59444b00343c44cf4`
-
v0.1.0
GitHub ↗
Original release notes
首个公开版本,提供可分步执行的游戏 UI 设计技能工作流。 ## Highlights - 原型生成视觉、UI 风格切换、页面延展和组件拆解四步指引 - 1 个总控技能与 4 个独立 Cursor Agent Skills - Spec-Kit 项目文档和四类跨阶段视觉契约 - PNG 实际尺寸、Alpha 通道和 SVG 尺寸校验 - 8 个自动化测试和 GitHub Actions 持续验证 - 月宫列传完整示例及三个分阶段操作示例 - 中文调用指南、贡献指南和协作模板 ## Install 下载 `game-ui-design-workflow-v0.1.0.zip`,将 `skills/*` 复制到项目 `.cursor/skills/` 或个人 `~/.cursor/skills/`。 SHA-256: `904d75399cb6ed2d96cce242c6f45fa3bfded9439ad06ad149b73857c4143f9d`
Current listing version
0.0.1
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 面向游戏开发中的高频刚需场景,提供端到端的 UI 页面生成能力
- 支持多种页面类型并强调风格一致性,显著提升设计效率
Highlights
- 触发描述清晰完整,覆盖多种页面类型和约束条件,边界明确
Highlights
- Phase 划分清晰,包含前置条件、执行步骤、输出规范和验收标准
- 文档结构完整,frontmatter 规范,示例详尽
Areas to improve
-
前置文件依赖未处理 Reported severity: Major
流程强依赖多个外部文件(gdd.md、prd.md、style-contract.yaml 等),但未说明文件缺失时的降级策略或默认处理逻辑
Recommendation: 增加对前置文件缺失的容错机制,例如提供默认模板、跳过检查的显式选项,或在文档中明确告知用户需提前准备
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Translation pending; see source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.