{"data":{"slug":"github-donchitos-claude-code-game-studios-claude-skills-ux-design-2ae7c10c1f40","title":"UX Spec Authoring for Game Screens, HUDs, and Accessibility Requirements","summary":"Create structured UX specifications for game screens, HUDs, or project-wide accessibility requirements with context-aware guidance and section-by-section authoring.","url":"https:\/\/skillshunter.net\/skills\/github-donchitos-claude-code-game-studios-claude-skills-ux-design-2ae7c10c1f40","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-donchitos-claude-code-game-studios-claude-skills-ux-design-2ae7c10c1f40","markdown_url":"https:\/\/skillshunter.net\/skills\/github-donchitos-claude-code-game-studios-claude-skills-ux-design-2ae7c10c1f40.md","download_url":"https:\/\/skillshunter.net\/skills\/github-donchitos-claude-code-game-studios-claude-skills-ux-design-2ae7c10c1f40\/download","category":{"slug":"product-design","name":"Product & Design"},"editor_note":"The accessibility mode writes to `design\/accessibility-requirements.md` and must not be moved under `design\/ux\/` as it is required by project gates and checks.","instructions":"---\nname: ux-design\ndescription: \"Section-by-section UX spec authoring for a screen, flow or HUD. Reads the player journey to provide context; also project-wide accessibility.\"\nargument-hint: \"[screen\/flow name] or 'hud' or 'patterns' or 'accessibility'\"\nuser-invocable: true\nallowed-tools: Read, Glob, Grep, Write, Edit, AskUserQuestion, Agent, Bash(bash \"*\/.claude\/skills\/ux-design\/..\/..\/hooks\/yaml-helper.sh\" resolve_config *)\nmodel: sonnet\n---\n\n!`bash \"${CLAUDE_SKILL_DIR}\/..\/..\/hooks\/yaml-helper.sh\" resolve_config --keys automation,workflow,docs.density`\n\nResolved above \u2014 use as-is. No block \u2192 defaults in\n`.claude\/docs\/config-resolution.md`.\n\n# UX Design\n\nWhen this skill is invoked:\n\nEvery `AskUserQuestion` call follows `.claude\/docs\/automation-modes.md`\n(collaborative asks always \u00b7 guided major-only \u00b7 autonomous logs and proceeds;\n`automation_always_ask` categories always prompt).\n\n**Authoring guidance**: the skeletons below are self-contained \u2014 author from them\ndirectly. When a section needs depth (worked examples, pattern catalogs,\naccessibility criteria), the matching guide has it:\n\n| Producing | Guide |\n|---|---|\n| UX spec | `.claude\/docs\/templates\/guidance\/ux-spec-guide.md` |\n| HUD design | `.claude\/docs\/templates\/guidance\/hud-design-guide.md` |\n| Interaction patterns | `.claude\/docs\/templates\/guidance\/interaction-pattern-library-guide.md` (routes to three topic files) |\n| Accessibility requirements | `.claude\/docs\/templates\/guidance\/accessibility-requirements-guide.md` |\n\n**Load a guide per-section, never whole** \u2014 each is organised by section and the\npointers in the templates name the exact section to read.\n\n**`workflow`** (see `.claude\/docs\/workflow-modes.md`):\n- `full` \u2014 a UX spec is required per screen.\n- `standard` \u2014 core screens only (main menu, HUD, primary game loop).\n- `minimal` \u2014 not required. Can still be run voluntarily.\n\n**`docs.density`** \u2014 it controls per-section *depth*, where `workflow`\ncontrols which screens are specced. `modes.rigor` sets both together; set\n`docs.density` explicitly to vary depth alone: `terse` (the default, via `rigor: minimal`) = wireframe descriptions +\ninteraction bullets; `balanced` = wireframes + paragraph descriptions of flows\n(`rigor: standard`); `thorough` = full prose including user-research summaries and\nalternative flow considerations. Apply it to every section you author.\n\n## 1. Parse Arguments & Determine Mode\n\nFour authoring modes exist based on the argument:\n\n| Argument | Mode | Output file |\n|----------|------|-------------|\n| `hud` | HUD design | `design\/ux\/hud.md` |\n| `patterns` | Interaction pattern library | `design\/ux\/interaction-patterns.md` |\n| `accessibility` | Project-wide accessibility requirements | `design\/accessibility-requirements.md` |\n| Any other value (e.g., `main-menu`, `inventory`) | UX spec for a screen or flow | `design\/ux\/[argument].md` |\n| No argument | Ask the user | (see below) |\n\n> **`accessibility` is the only mode that writes outside `design\/ux\/`.** Its\n> output is a project-wide standard the per-screen specs consult, not a spec for\n> one screen \u2014 `.claude\/docs\/workflow-catalog.yaml`, the Pre-Production and\n> Polish gates, and `\/architecture-review` all check\n> `design\/accessibility-requirements.md` at that exact path. Do not \"tidy\" it\n> under `design\/ux\/`: every one of those checks would stop matching, and the\n> Technical Setup \u2192 Pre-Production gate would become unpassable.\n\n**If no argument is provided**, do not fail \u2014 ask instead. Use `AskUserQuestion`:\n- \"What are we designing today?\"\n  - Options: \"A specific screen or flow (I'll name it)\", \"The game HUD\", \"The interaction pattern library\", \"The project-wide accessibility requirements\", \"I'm not sure \u2014 help me figure it out\"\n\nIf the user selects \"I'll name it\" or types a screen name, normalize it to kebab-case\nfor the filename (e.g., \"Main Menu\" becomes `main-menu`).\n\n---\n\n## 2. Gather Context (Read Phase)\n\n**Read `references\/2-gather-context.md` now and follow it** \u2014 this phase's steps are in that file, not here. Read it again if the conversation was compacted or resumed during this phase.\n\n## 3. Create File Skeleton\n\n**Read `references\/3-file-skeleton.md` now and follow it** \u2014 this phase's steps are in that file, not here. Read it again if the conversation was compacted or resumed during this phase.\n\n## 4. Section-by-Section Authoring\n\n**Read `references\/4-authoring.md` now and follow it** \u2014 this phase's steps are in that file, not here. Read it again if the conversation was compacted or resumed during this phase.\n\n### Section guidance \u2014 read the ONE file for the active mode\n\nPer-section authoring guidance lives in its own file per mode. **When you reach\nPhase 4, read only the file matching the mode resolved in Section 1; never load\nthe other two.**\n\n| Mode | Guidance file |\n|------|---------------|\n| UX Spec (screen or flow) | `references\/sections-ux-spec.md` |\n| HUD Design | `references\/sections-hud.md` |\n| Interaction Pattern Library | `references\/sections-patterns.md` |\n| Accessibility Requirements | `.claude\/docs\/templates\/guidance\/accessibility-requirements-guide.md` |\n\n> The accessibility guidance lives under `templates\/guidance\/` rather than this\n> skill's `references\/` because the template it documents\n> (`.claude\/docs\/templates\/accessibility-requirements.md`) is consumed by\n> `\/ux-review` and the gate files too. Same rule applies: load only the part\n> covering the section you are authoring, never the whole file.\n\nApply `docs.density` (Section 1) to whatever that file tells you to author \u2014 it\ncontrols the depth of each section, not which sections exist.\n\n## 5. Cross-Reference Check\n\n**Read `references\/5-crossref-handoff.md` now and follow it** \u2014 this phase's steps are in that file, not here. Read it again if the conversation was compacted or resumed during this phase.\n\n## 7. Recovery & Resume\n\nIf the session is interrupted (compaction, crash, new session):\n\n1. Read `production\/session-state\/active.md` \u2014 it records the current screen\n   and which sections are complete.\n2. Read `design\/ux\/[filename].md` \u2014 sections with real content are done;\n   sections with `[To be designed]` still need work.\n3. Resume from the next incomplete section \u2014 no need to re-discuss completed ones.\n\nThis is why incremental writing matters: every approved section survives any\ndisruption.\n\n---\n\n## 8. Specialist Agent Routing\n\nThis skill uses `ux-designer` as the primary agent (set in frontmatter). For\nspecific sub-topics, additional context or coordination may be needed:\n\n| Topic | Coordinate with |\n|-------|----------------|\n| Visual aesthetics, color, layout feel | `art-director` \u2014 UX spec defines zones; art defines how they look |\n| Implementation feasibility (engine constraints) | `ui-programmer` \u2014 before finalizing component inventory |\n| Gameplay data requirements | `game-designer` \u2014 when data ownership is unclear |\n| Narrative\/lore visible in the UI | `narrative-director` \u2014 for flavor text, item names, lore panels |\n| Accessibility tier decisions | Recorded by this session (`\/ux-design accessibility`; the user picks the tier) against the criteria `accessibility-specialist` defines and audits \u2014 consult it when a requirement's criterion is unclear |\n\nWhen delegating to another agent via the `Agent` tool:\n- Provide: screen name, game concept summary, the specific question needing expert input\n- The agent returns analysis to this session\n- This session presents the agent's output to the user\n- The user decides; this session writes to file\n- Agents do NOT write to files directly \u2014 this session owns all file writes\n\n---\n\n## Collaborative Protocol\n\n**In `collaborative` mode (the default).** For `guided` and `autonomous` modes,\nsee the per-mode rules in `.claude\/docs\/automation-modes.md` \u2014 the steps below\ndescribe what collaborative mode requires, not what applies universally.\n\nThis skill follows the collaborative design principle at every step:\n\n1. **Question -> Options -> Decision -> Draft -> Approval** for every section\n2. **AskUserQuestion** at every decision point (Explain -> Capture pattern):\n   - Phase 2: \"Ready to start, or need more context?\"\n   - Phase 3: \"May I create the skeleton?\"\n   - Phase 4 (each section): design questions, approach options, draft approval\n   - Phase 5: \"Run cross-reference check? What's next?\"\n3. **\"May I write to [filepath]?\"** before the skeleton and before each section write\n4. **Incremental writing**: Each section is written to file immediately after approval\n5. **Session state updates**: After every section write\n\n**Aesthetic deference**: When layout or visual choices come down to personal taste,\npresent the options and ask. Do not select a layout because it is \"standard\" \u2014 always\nconfirm. The user is the creative director.\n\n**Conflict surfacing**: When a GDD requirement and the available screen real estate\nconflict, surface the conflict and present resolution options. Never silently drop\na requirement. Never silently expand the layout without flagging it.\n\n**Never** auto-generate the full spec and present it as a fait accompli.\n**Never** write a section without user approval.\n**Never** contradict an existing approved UX spec without flagging the conflict.\n**Always** show where decisions come from (GDD requirements, player journey, user choices).\n\nVerdict: **COMPLETE** \u2014 UX spec written and approved section by section.\n\n---\n\n## Recommended Next Steps\n\n- Run `\/ux-review [filename]` to validate this spec before it enters the implementation pipeline\n- Run `\/ux-design [next-screen]` to continue designing remaining screens or flows\n- Run `\/gate-check production` once all key screens have approved UX specs\n","use_cases":["Designing the main menu UX spec","Creating HUD design documentation","Authoring project-wide accessibility requirements"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/Donchitos\/Claude-Code-Game-Studios\/blob\/abc0de79d6ceb0b5d7aa693945849b3937afbe6a\/.claude\/skills\/ux-design\/SKILL.md","source_commit":"abc0de79d6ceb0b5d7aa693945849b3937afbe6a","license":null,"version":null,"listing_approved_at":"2026-11-18","created_at":"2026-11-17T21:06:18.000000Z","updated_at":"2026-11-18T18:54:36.000000Z","seo_title":"UX Spec Authoring for Game Screens, HUDs, and Accessibility","seo_description":"Create structured UX specs for game screens, HUDs, and project-wide accessibility requirements with context-aware guidance and section-by-section authoring.","seo_keywords":["UX spec authoring","game screen design","HUD documentation","accessibility requirements","UX flow design"]}}