tea-x-random/unity-game-skills / skills/unity-ui-designer
unity-ui-designer
VerifiedDesign verified, screenshot-proven UI for casual iOS games in Unity. Use for HUD, menus, overlays, pause/win/lose/settings/level-select screens, title/menu, buttons, score/coin/lives/timer readouts, store/IAP placeholder, reward popups, responsive portrait layout, safe area/notch and home-indicator handling, touch controls, 44pt touch targets, thumb-reachable zones, typography, TextMeshPro, UI Toolkit (UXML/USS), uGUI Canvas/RectTransform, Canvas Scaler, and mobile portrait UI. Builds UI through the unity-mcp-bridge (manage_ui for UI Toolkit, manage_gameobject + manage_components for uGUI), never raw YAML.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 26.5 KB |
| agents/openai.yaml | config | 195 B |
| references/checklists/responsive-safe-area.md | markdown | 1.4 KB |
| references/checklists/ui-consistency.md | markdown | 3.3 KB |
| references/checklists/ui-readability.md | markdown | 1.4 KB |
| references/ui-recipes.md | markdown | 11.6 KB |
references/checklists/ui-consistency.md
View on GitHub# Checklist — UI Consistency (kill cross-screen drift)
Run AFTER the screens exist, BEFORE calling UI "done". This catches the drift that makes a menu "look cheap" and text wander between screens — separate from readability and responsiveness. Verify with code greps + side-by-side phone-resolution screenshots.
## Design tokens (single source of truth)
- [ ] **Typography scale, not literals** — labels reference a small named set (Title/Heading/Body/Caption…) on the theme. Grep the UI code for raw font-size numbers at call sites; there should be ~none. (The example game had 16 distinct magic sizes — a fail.)
- [ ] **Spacing scale** — paddings/margins/gaps come from a stepped scale (xs/s/m/l/xl), not arbitrary per-screen numbers.
- [ ] **Semantic color roles** — widgets reference roles (`textPrimary`, `panel`, `accent`, `conflict`, `success`), not raw `new Color(...)` at call sites. A re-skin is a one-place change.
- [ ] **Hexes equal art-spec** — when the project has an `art-spec.yaml`, every GameTheme/theme color hex equals an art-spec palette hex (`palette.roles` + arrays) EXACTLY; no invented UI colors. Scope: colors only — typography/spacing/radii are theme-native and have no art-spec source.
- [ ] **Radii + icon/touch sizes tokenized** — one rounded-rect language; touch-min (~88px @2x = 44pt) is a named constant.
- [ ] **Theme self-heals** — `CreateInstance` of the theme gives the real values (default fields), so a null/headless asset ref still renders; no stale `Resources` theme asset shadows the `.cs` defaults.
## Shared component library
- [ ] **One factory per widget** — Label/Button/Card/IconButton/Pill each created by ONE shared UI-kit function used by every screen.
- [ ] **No inline-styled widgets** — no screen news up a raw `TextMeshProUGUI`/`Image`/`Button` and styles it ad hoc.
- [ ] **No forked factories** — there is a single `Label`/`Button` implementation, not per-screen copies (the example game had three `Label`s → drift).
- [ ] **Restyle propagates** — changing one factory (e.g. glossy→flat) visibly updates every screen; proven by re-screenshotting after a one-line change.
## Strings (single source of truth)
- [ ] **One provider per repeated label** — every string shown on 2+ screens routes through one method/table (e.g. `DifficultyRules.DisplayName`); no duplicated user-facing literals.
- [ ] **Localization seam exists** — user-facing text is externalizable (one place to swap per locale), not scattered literals.
## Fonts / international text
- [ ] **Glyph coverage decided up front** — the chosen font covers every required script (CJK etc.); verified, not assumed.
- [ ] **Project TMP default font set** — all runtime text inherits it; no per-label font assignment drift.
- [ ] **No tofu** — a screenshot of any required non-Latin script shows real glyphs, not □ boxes.
- [ ] **Crisp SDF** — dynamic-atlas TMP asset with adequate sampling/atlas/padding (e.g. 110 / 2048² / 11, SDFAA); text is sharp at its display size on a phone-resolution capture.
## Cross-screen visual match
- [ ] **Side-by-side screenshots** of menu / HUD / overlays show identical buttons, cards, headers, radii, and type roles — they look like one product, not N screens.
- [ ] **Safe-area + touch targets hold on EVERY screen**, not just the first one built.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |