game-ui-page-generator

game-ui-page-generator is a skill for Claude Code, Codex from guiguiyan930-source/game-ui-design-workflow. It costs 84 tokens per session (978 once invoked), scanned A, original, MIT.

A workflow for designing and generating one complete game interface screen at a time from approved visual and interaction rules.

In plain words
What is it for?
Use it to create home, task, ranking, shop, inventory, character, or other game screens, including their layout brief, image prompt, visual asset, and asset-manifest entry.
Why use it?
It keeps screens in the same visual system and checks that required planning documents and screen details exist before creating the page design.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create home, task, ranking, shop, inventory, character, or other game screens, including their layout brief, image prompt, visual asset, and asset-manifest entry.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/guiguiyan930-source/game-ui-design-workflow/game-ui-page-generator
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add guiguiyan930-source/game-ui-design-workflow --skill game-ui-page-generator
Clone the repo
git clone --depth 1 https://github.com/guiguiyan930-source/game-ui-design-workflow

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for game-ui-page-generator

README.md
[![agentmods](https://agentmods.dev/badge/skills/guiguiyan930-source/game-ui-design-workflow/game-ui-page-generator/github.svg)](https://agentmods.dev/skills/guiguiyan930-source/game-ui-design-workflow/game-ui-page-generator)
Your own site
<a href="https://agentmods.dev/skills/guiguiyan930-source/game-ui-design-workflow/game-ui-page-generator"><img src="https://agentmods.dev/badge/skills/guiguiyan930-source/game-ui-design-workflow/game-ui-page-generator/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for game-ui-page-generator

Your own site · 80×15
<a href="https://agentmods.dev/skills/guiguiyan930-source/game-ui-design-workflow/game-ui-page-generator"><img src="https://agentmods.dev/badge/skills/guiguiyan930-source/game-ui-design-workflow/game-ui-page-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 978 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00084 $0.00978
Opus 5 $0.00042 $0.00489
Sonnet 5 $0.00017 $0.00196
Haiku 4.5 $0.00008 $0.00098

Measured 11d ago against content hash a3058c32aa08, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

game-ui-page-generator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/game-ui-page-generator/SKILL.md · 101 lines

What it actually says

游戏 UI 单页视觉生成

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

前置条件

读取:

  • 策划三文档须已由 game-ui-product-design 完成:gdd.mdprd.mdinteraction.mdstatus: approved,或 quickstart.md 已记录跳过策划门禁)
  • spec.mdresearch.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,结构必须为:

# <页面名称>

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

正向提示词必须包含:

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

反向限制至少包含:

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

图片生成

图片工具可用时:

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

图片工具不可用时:

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

页面批准

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

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

输出

  • 页面说明与提示文件
  • 实际视觉稿或明确的待生成状态
  • 更新后的 screen-contract.yaml
  • 更新后的 asset-manifest.yaml
  • 后续组件拆解建议
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 101 lines · 84 tokens per session scan A a3058c32aa08

Subscribe to this mod's changes

game-ui-page-generator is a skill published in the GitHub repository guiguiyan930-source/game-ui-design-workflow (175 stars, last pushed 1mo ago), licensed MIT. It adds 84 tokens to every session and 978 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

design-dna

Extract, define, and apply design DNA across three dimensions: design system (tokens), design style (qualitative feel), and visual effects (Canvas, WebGL, 3D, particles, shaders, scroll effects, etc.). Use this skill when: (1) a user wants to see the full 3-dimension design structure/schema, (2) a user provides…

zanwei/design-dna · 192 tokens

roblox-ui

Build production Roblox interfaces with ScreenGui/PlayerGui lifecycle, responsive UDim2 layouts, safe insets, reusable editable Instances, cross-device input and selection, restrained motion, cleanup, and multi-viewport verification. Use for Roblox HUDs, inventories, shops, settings, ability bars, ScrollingFrames…

gamedev-skills/awesome-gamedev-agent-skills · 101 tokens

game-ui-ux

Design and build game UI/UX — HUDs, menus, and overlays — that survive every screen: anchor- based responsive layout, resolution/aspect scaling and safe areas, keyboard/gamepad focus navigation, a screen/menu state stack, and event-driven (not polled) HUD updates. Engine- neutral patterns that pair with the detected…

gamedev-skills/awesome-gamedev-agent-skills · 123 tokens

extract-design-system

Extract design primitives from a public website and generate starter token files for your project.

arvindrk/extract-design-system · 20 tokens

biome-creation

A workflow for placing rocks, trees, plants, and other reusable scene objects into a Unity biome, a themed area of a game world. It also covers regenerating the biome and checking the result with screenshots.

moorestech/moorestech · 170 tokens

component-family-consistency

Buttons, inputs, pills, badges, calendars, and other interactive components form a visual family — they share the same border-radius, colour logic, shadow scale, border style, and spacing rhythm. Inconsistency between them breaks the sense of a coherent product. Use when building or reviewing a component library…

dembrandt/dembrandt-skills · 76 tokens