game-ui-product-design

game-ui-product-design is a skill for Claude Code, Codex from guiguiyan930-source/game-ui-design-workflow. It costs 78 tokens per session (1,629 once invoked), scanned A, original, MIT.

A planning workflow for a game before its interface visuals are generated. It produces a game design document, product requirements document, and interaction logic document.

In plain words
What is it for?
Use it to define the game loop, systems, priorities, resources, navigation, control behavior, states, and delivery checks before making UI images.
Why use it?
It turns a loose game idea into an agreed scope, screen structure, and set of user actions. The approval step helps prevent visual work from starting with unclear requirements.

Skill for Claude CodeCodex

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 scripts/init_project.py <project-id>.

Good fit Use it to define the game loop, systems, priorities, resources, navigation, control behavior, states, and delivery checks before making UI images.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/guiguiyan930-source/game-ui-design-workflow
agentmods
npx agentmods add skills/guiguiyan930-source/game-ui-design-workflow/game-ui-product-design

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-product-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/guiguiyan930-source/game-ui-design-workflow/game-ui-product-design/github.svg)](https://agentmods.dev/skills/guiguiyan930-source/game-ui-design-workflow/game-ui-product-design)
Your own site
<a href="https://agentmods.dev/skills/guiguiyan930-source/game-ui-design-workflow/game-ui-product-design"><img src="https://agentmods.dev/badge/skills/guiguiyan930-source/game-ui-design-workflow/game-ui-product-design/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-product-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/guiguiyan930-source/game-ui-design-workflow/game-ui-product-design"><img src="https://agentmods.dev/badge/skills/guiguiyan930-source/game-ui-design-workflow/game-ui-product-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,629 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.00078 $0.01629
Opus 5 $0.00039 $0.00814
Sonnet 5 $0.00016 $0.00326
Haiku 4.5 $0.00008 $0.00163

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

Security

Grade A, and why

game-ui-product-design 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 12d 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-product-design/SKILL.md · 152 lines

How it starts

The opening of the file, as written. The whole thing — 152 lines — stays where its author put it; the contents beside it link to each section on GitHub.

游戏策划 · PRD · UI 交互(生成第一步)

本技能是完整 UI 生成流程的第一步。 在调用页面生图、风格切换或批量延展之前,必须先完成本步并请用户批准三份文档。没有批准(且用户未明确跳过)时,不得开始后续视觉生成。

输出文件

写入 specs/<project-id>/

文件 中文名 用途
gdd.md 游戏策划方案 定位、核心循环、系统清单、经济与养成(策划层)
prd.md 产品需求文档 P0/P1 需求、信息架构、交付范围、验收
interaction.md UI 交互逻辑 导航、主流程、控件行为、状态机、跨页链路

模板来源:仓库 templates/spec-kit/gdd.mdprd.mdinteraction.md。项目已初始化则直接编辑现有文件,不要另起平行文档。

何时使用

  • 任何完整生成流程的第一步(默认入口)
  • 新建 UI 项目、只有概念尚无视觉
  • 用户要求「生成之前加策划 / PRD / 交互」
  • 延展或生图前发现三文档缺失、draft 或内容空洞
  • 玩法或页面范围变更,需要回写需求与交互

输入

优先读取:

  • spec.mdresearch.mdplan.md
  • 已有的 gdd.md / prd.md / interaction.md
  • 若已有:contracts/screen-contract.yaml

信息不足时:只询问题材、平台、核心玩法、首发页面范围等阻断问题;其余给可调整默认值并标注。

工作流

复制并跟踪:

进度:
- [ ] 1. 确认或初始化项目目录
- [ ] 2. 撰写/更新 gdd.md
- [ ] 3. 撰写/更新 prd.md
- [ ] 4. 撰写/更新 interaction.md
- [ ] 5. 交叉检查三文档一致
- [ ] 6. 停在人工批准门禁

1. 项目目录

specs/<project-id>/ 不存在:

python3 scripts/init_project.py <project-id>

2. gdd.md(游戏策划方案)

必须覆盖:

  • 一句话定位、目标用户、卖点(≤3)
  • 核心循环表(回流 → 准备 → 玩法 → 成长 → 商业)
  • 系统清单与优先级(must-have / genre-specific / optional
  • 资源与经济(策划层概述,禁止假装已有服务端公式)
  • 养成与进度轴、世界观最小集、风险约束

文档状态.status 先保持 draft,待用户批准后再改 approved

3. prd.md(产品需求)

必须覆盖:

  • 产品目标与可验证成功指标
  • 非目标(明确不做)
  • P0 / P1 / P2 需求表(每条对应页面或系统)
  • 信息架构与本迭代页面交付范围
  • 数据依赖、边界异常、验收清单

每条 P0 必须能被后续某个 screen-id 承接。

4. interaction.md(UI 交互逻辑)

必须覆盖:

  • 全局交互原则、全局导航、全局状态
  • 每个 must-have 页面:目的、进出、主流程、控件表、状态机
  • 跨页链路(至少核心循环相关)
  • 「与视觉稿的约束」:首屏必露信息、禁遮挡区、主操作强调

状态名尽量与后续 screen-contract.yamlstates 一致(如 default / loading / incomplete / low-currency)。

5. 交叉检查

  • gdd 核心循环中的界面 ⊆ prd 页面范围
  • prd P0 页面 ⊆ interaction 分页面章节
  • 商业/破坏性操作在 interaction 中有确认或失败路径
  • 三文档互不矛盾;空洞模板不得标为 approved

6. 人工门禁(必须停止)

完成后输出:

当前步骤:第 1 步 · 策划与 PRD / 交互逻辑(生成第一步)
完成状态:draft,等待批准
本步产物:gdd.md、prd.md、interaction.md
需要你检查:定位与循环、P0 范围、分页面主流程与状态
可选操作:修改文案 / 增删系统 / 批准三文档 / 明确跳过门禁
进入下一步的条件:三文档 status 均为 approved,或 quickstart.md 记录跳过原因
可直接复制的下一步调用文本:
批准 @specs/<project-id>/gdd.md、prd.md、interaction.md。
批准后进入第 2 步:使用 game-ui-workflow 生成基准页原型视觉。

Read the full file on GitHub · 152 lines

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. 12d ago First seen · 152 lines · 78 tokens per session scan A b88025acc08e

Subscribe to this mod's changes

game-ui-product-design is a skill published in the GitHub repository guiguiyan930-source/game-ui-design-workflow (175 stars, last pushed 1mo ago), licensed MIT. It adds 78 tokens to every session and 1,629 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

uw-ui-toolkit-binder

Generate Unity 6+ UI Toolkit Runtime Data Binding code using MVVM pattern with [CreateProperty], DataBinding, and PropertyPath. Use when creating UI screens, HUDs, menus, inventories, settings panels, or any data-bound UI elements with UI Toolkit. Triggers on requests like "create a health bar", "build the HUD", "make…

devdavv/unity-ai-workflow · 177 tokens

uw-dependency-injection

Opt-in DI architecture using Reflex for Unity 6+. Covers container setup, scoping, injection, command pattern, update management, and class taxonomy. Use when ProjectConfig.yaml -> architecturepattern is "di-first", or when the user asks about dependency injection, inversion of control, service architecture, or…

devdavv/unity-ai-workflow · 159 tokens

uw-unity-test-runner

Generates EditMode and PlayMode tests using NUnit, mapped from GDD Gherkin scenarios. Use when writing tests, validating features, ensuring code quality, or verifying behavior after changes. Triggers on requests like "write tests for this", "test the health system", "add unit tests", "verify this works", "add PlayMode…

devdavv/unity-ai-workflow · 136 tokens

uw-network-setup

Generates networking boilerplate adapted to the project's chosen networking package (NGO, Mirror, Photon). Use when setting up multiplayer systems, syncing state, writing RPCs, building lobbies, or designing an authority matrix. Triggers on requests like "add multiplayer", "sync player health", "create an RPC", "set…

devdavv/unity-ai-workflow · 149 tokens

uw-scriptable-object-arch

Generate ScriptableObject-based systems including data containers, event channels, and runtime sets. Use when creating game data (weapons, enemies, items, abilities), cross-system events, or live object tracking. Triggers on requests like "create weapon data", "add an event system", "make a runtime set", "decouple…

devdavv/unity-ai-workflow · 139 tokens

uw-state-machine

Interface-based state machine patterns for Unity game states, character controllers, and UI flows. Use when implementing game flow (menu -> gameplay -> game over), character states (idle -> run -> jump -> fall), AI behavior states, or UI screen transitions. Triggers on "state machine", "game states", "character…

devdavv/unity-ai-workflow · 129 tokens