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.
npx skills add guiguiyan930-source/game-ui-design-workflow --skill game-ui-specificationgit clone --depth 1 https://github.com/guiguiyan930-source/game-ui-design-workflowWrote 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-specification)<a href="https://agentmods.dev/skills/guiguiyan930-source/game-ui-design-workflow/game-ui-specification"><img src="https://agentmods.dev/badge/skills/guiguiyan930-source/game-ui-design-workflow/game-ui-specification/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-specification"><img src="https://agentmods.dev/badge/skills/guiguiyan930-source/game-ui-design-workflow/game-ui-specification.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.00063 | $0.00896 |
| Opus 5.5 | $0.00025 | $0.00358 |
| Sonnet 5.5 | $0.00013 | $0.00179 |
| Haiku 4.5 | $0.00006 | $0.00090 |
Grade A, and why
game-ui-specification 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 1mo 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.
What it actually says
游戏 UI 规范
输出能被页面延展、生图、组件拆解和开发共同读取的规则,不只描述“高级、统一、美观”。
输入
优先读取:
spec.md:玩法、平台、比例、范围和验收标准research.md:参考图抽象与版权约束contracts/style-contract.yaml:现有契约
独立调用且没有项目目录时,在回答中使用相同字段结构,并建议用户创建项目。
工作流
- 明确玩法中的高频操作和信息优先级。
- 从参考图提取风格语言,不复刻具体角色、商标或完整页面。
- 选择适配目标平台的参考尺寸、安全区和密度。
- 定义颜色、字体、几何、材质、光源、图标视角和状态。
- 更新
style-contract.yaml;未知值不得用“待定”掩盖,应给出可调整的默认值。 - 检查每条规则能否被页面和组件提示词引用。
全局值与语义别名按设计 Token 规范维护;style-contract.yaml 是单一事实来源,不另建冲突的平行 Token 文件。
必需规范
平台与布局
- 目标平台、方向、比例、参考尺寸
- 顶、右、底、左安全区
- 顶部状态区、中间内容区、底部导航和悬浮入口
- 刘海屏、长文本、横竖屏或宽屏策略
视觉语言
- 主题、情绪、复杂度、材质
- 主光方向、阴影软硬和高光语言
- 主色、辅色、强调、背景、警告、奖励、禁用色
- 对比度、饱和度和稀有度颜色规则
字体
- 标题、模块标题、正文、数字、按钮的尺寸与字重
- 中文可读性、描边、投影和小尺寸限制
- 生图文字不可靠时的后期排版策略
几何与组件
- 小组件、卡片和弹窗圆角
- 描边等级、按钮高度、图标尺寸
- 按钮、图标、卡片、弹窗、进度条、导航、奖励框、货币栏
- 默认、按下、选中、禁用、加载、锁定、已领取状态
交互
- 点击、切页、弹窗、奖励、任务、排行和购买确认反馈
- 动效持续时间建议与减少动态效果选项
- 网络错误、资源不足、冷却和过期状态
契约规则
- 使用明确色值或色相范围;颜色字段不能只写“高级金色”。
- 同一组件状态只能有一套定义。
- 所有页面共享光向、材质词汇、圆角等级和图标视角。
- 若修改已批准契约,将依赖资源标记为
stale,不要静默覆盖。 - 完成评审后把
status设为approved。
输出
- 一段说明玩法如何决定视觉规则。
- 更新后的
contracts/style-contract.yaml。 - 关键决策与风险写入
research.md。 - 受影响的任务写入
tasks.md。
检查
- 数值、范围、状态和适用场景明确
- 规则适合目标平台与触控热区
- 主操作对比强于次操作
- 文字和数字在复杂背景上可读
- 页面和组件提示词可以直接引用契约字段
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 1mo ago First seen · 88 lines · 63 tokens per session scan A 7800dec38e34
game-ui-specification is a skill published in the GitHub repository guiguiyan930-source/game-ui-design-workflow (345 stars, last pushed 2mo ago), licensed MIT. It adds 63 tokens to every session and 896 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.
Other skills, from other repositories
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…
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…
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…
component-family-consistency
Buttons, inputs, badges and pills share radius, colour logic, shadow, border and spacing. Use when building or reviewing a component library.
modular-scale-typography
Ratio-based type scale where every size relates to the others. Use when defining font sizes or type tokens, or when typography feels arbitrary.
extract-design
Extract colours, typography, spacing, components and W3C design tokens from a live website with Dembrandt. Use when you need a site's real tokens or want to seed a design system from it.