game-ui-specification

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

A rulebook for a game's user interface, covering its colors, fonts, layouts, components, and interaction states. It keeps these visual rules in one shared file for designers, image tools, and developers.

In plain words
What is it for?
Use it to define or maintain a game UI design system, including platform layouts, safe areas, typography, component states, feedback, accessibility options, and image-generation limits.
Why use it?
It prevents screens and components from drifting into inconsistent styles or conflicting rules. It also makes decisions specific enough to reuse and review.

Skill for Claude CodeCodex

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

Good fit Use it to define or maintain a game UI design system, including platform layouts, safe areas, typography, component states, feedback, accessibility options, and image-generation limits.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/guiguiyan930-source/game-ui-design-workflow/game-ui-specification
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-specification
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-specification

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

agentmods 80×15 button for game-ui-specification

Your own site · 80×15
<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>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 896 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.00063 $0.00896
Opus 5 $0.00032 $0.00448
Sonnet 5 $0.00013 $0.00179
Haiku 4.5 $0.00006 $0.00090

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

Security

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 9d 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-specification/SKILL.md · 88 lines

What it actually says

游戏 UI 规范

输出能被页面延展、生图、组件拆解和开发共同读取的规则,不只描述“高级、统一、美观”。

输入

优先读取:

  • spec.md:玩法、平台、比例、范围和验收标准
  • research.md:参考图抽象与版权约束
  • contracts/style-contract.yaml:现有契约

独立调用且没有项目目录时,在回答中使用相同字段结构,并建议用户创建项目。

工作流

  1. 明确玩法中的高频操作和信息优先级。
  2. 从参考图提取风格语言,不复刻具体角色、商标或完整页面。
  3. 选择适配目标平台的参考尺寸、安全区和密度。
  4. 定义颜色、字体、几何、材质、光源、图标视角和状态。
  5. 更新 style-contract.yaml;未知值不得用“待定”掩盖,应给出可调整的默认值。
  6. 检查每条规则能否被页面和组件提示词引用。

全局值与语义别名按设计 Token 规范维护;style-contract.yaml 是单一事实来源,不另建冲突的平行 Token 文件。

必需规范

平台与布局

  • 目标平台、方向、比例、参考尺寸
  • 顶、右、底、左安全区
  • 顶部状态区、中间内容区、底部导航和悬浮入口
  • 刘海屏、长文本、横竖屏或宽屏策略

视觉语言

  • 主题、情绪、复杂度、材质
  • 主光方向、阴影软硬和高光语言
  • 主色、辅色、强调、背景、警告、奖励、禁用色
  • 对比度、饱和度和稀有度颜色规则

字体

  • 标题、模块标题、正文、数字、按钮的尺寸与字重
  • 中文可读性、描边、投影和小尺寸限制
  • 生图文字不可靠时的后期排版策略

几何与组件

  • 小组件、卡片和弹窗圆角
  • 描边等级、按钮高度、图标尺寸
  • 按钮、图标、卡片、弹窗、进度条、导航、奖励框、货币栏
  • 默认、按下、选中、禁用、加载、锁定、已领取状态

交互

  • 点击、切页、弹窗、奖励、任务、排行和购买确认反馈
  • 动效持续时间建议与减少动态效果选项
  • 网络错误、资源不足、冷却和过期状态

契约规则

  • 使用明确色值或色相范围;颜色字段不能只写“高级金色”。
  • 同一组件状态只能有一套定义。
  • 所有页面共享光向、材质词汇、圆角等级和图标视角。
  • 若修改已批准契约,将依赖资源标记为 stale,不要静默覆盖。
  • 完成评审后把 status 设为 approved

输出

  1. 一段说明玩法如何决定视觉规则。
  2. 更新后的 contracts/style-contract.yaml
  3. 关键决策与风险写入 research.md
  4. 受影响的任务写入 tasks.md

检查

  • 数值、范围、状态和适用场景明确
  • 规则适合目标平台与触控热区
  • 主操作对比强于次操作
  • 文字和数字在复杂背景上可读
  • 页面和组件提示词可以直接引用契约字段
Files

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.

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. 9d ago First seen · 88 lines · 63 tokens per session scan A 7800dec38e34

Subscribe to this mod's changes

game-ui-specification is a skill published in the GitHub repository guiguiyan930-source/game-ui-design-workflow (168 stars, last pushed 1mo ago), licensed MIT. It adds 63 tokens to every session and 896 once invoked, about $0.0003 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

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

modular-scale-typography

Typography feels cohesive and intentional when font sizes follow a modular scale — a ratio-based sequence where every size is mathematically related to the others. Use when defining type scales, setting up design tokens, reviewing font size choices, or when typography feels inconsistent or arbitrary.

dembrandt/dembrandt-skills · 59 tokens

use-widget-asset

Use when consuming a widget slice (panel, button, slider, progress bar, or toggle pair) from a create-asset-sheet pack in a Summer Engine scene. The pack's metadata.sliceMeta carries 9-slice margins, fill rects, and on/off pair links per slice. This skill explains how to wire those into NinePatchRect…

SummerEngine/summer-engine-agent · 99 tokens