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.
git clone --depth 1 https://github.com/guiguiyan930-source/game-ui-design-workflownpx agentmods add skills/guiguiyan930-source/game-ui-design-workflow/game-ui-product-designWrote 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.
[](https://agentmods.dev/skills/guiguiyan930-source/game-ui-design-workflow/game-ui-product-design)<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.
<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>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00078 | $0.01629 |
| Opus 5.5 | $0.00031 | $0.00652 |
| Sonnet 5.5 | $0.00016 | $0.00326 |
| Haiku 4.5 | $0.00008 | $0.00163 |
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 2mo 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.
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.md、prd.md、interaction.md。项目已初始化则直接编辑现有文件,不要另起平行文档。
何时使用
- 任何完整生成流程的第一步(默认入口)
- 新建 UI 项目、只有概念尚无视觉
- 用户要求「生成之前加策划 / PRD / 交互」
- 延展或生图前发现三文档缺失、
draft或内容空洞 - 玩法或页面范围变更,需要回写需求与交互
输入
优先读取:
spec.md、research.md、plan.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.yaml 的 states 一致(如 default / loading / incomplete / low-currency)。
5. 交叉检查
gdd核心循环中的界面 ⊆prd页面范围prdP0 页面 ⊆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 生成基准页原型视觉。
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.
- 2mo ago First seen · 152 lines · 78 tokens per session scan A b88025acc08e
game-ui-product-design is a skill published in the GitHub repository guiguiyan930-source/game-ui-design-workflow (396 stars, last pushed 3mo ago), licensed MIT. It adds 78 tokens to every session and 1,629 once invoked, about $0.0003 per session on Opus 5.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.
game-ui-product-design compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| game-ui-product-designguiguiyan930-source/game-ui-design-workflow | Skill | 396 | 3mo ago | MIT | A | 78 | Claude Code, Codex |
| uw-ui-toolkit-binderdevdavv/unity-ai-workflow | Skill | 46 | 7mo ago | MIT | A | 177 | Claude Code |
| uw-dependency-injectiondevdavv/unity-ai-workflow | Skill | 46 | 7mo ago | MIT | A | 159 | Claude Code |
| uw-network-setupdevdavv/unity-ai-workflow | Skill | 46 | 7mo ago | MIT | A | 149 | Claude Code |
| uw-state-machinedevdavv/unity-ai-workflow | Skill | 46 | 7mo ago | MIT | A | 129 | Claude Code |
| uw-unity-test-runnerdevdavv/unity-ai-workflow | Skill | 46 | 7mo ago | MIT | A | 136 | Claude Code |
| uw-game-feel-integratordevdavv/unity-ai-workflow | Skill | 46 | 7mo ago | MIT | A | 150 | Claude Code |