{
  "slug": "game-ui-ux",
  "skill": "game-ui-ux",
  "upstream": "gamedev-skills/awesome-gamedev-agent-skills@184b72be02884f782a0058f2eeae2ce4277453e4",
  "upstreamSha": "184b72be02884f782a0058f2eeae2ce4277453e4",
  "date": "2026-10-28",
  "engine": "Godot 4.7.2",
  "env": [
    "Node v20.19.2",
    "Godot 4.7.2-stable (linux x86_64)",
    "xvfb + OpenGL 3 (gl_compatibility): a real window, so stretch and window sizes apply"
  ],
  "trigger": "static",
  "passed": 27,
  "total": 27,
  "commands": [
    "(cd examples && xvfb-run -a -s -screen 0 2600x1400x24 {godot} --path . --rendering-driver opengl3 --audio-driver Dummy -s tests/run_tests.gd)",
    "(cd examples && xvfb-run -a -s -screen 0 1280x720x24 {godot} --path . --rendering-driver opengl3 --audio-driver Dummy --resolution 960x540 -s tests/screenshot.gd)"
  ],
  "checks": [
    {
      "criterion": "trigger",
      "name": "SKILL.md description says when to use it",
      "pass": true,
      "detail": "Design and build game UI/UX — HUDs, menus, and overlays — that survive every screen: anchor- based responsive layout, re"
    },
    {
      "criterion": "trigger",
      "name": "triggers on: \"Make my game HUD scale to any resolution and aspect ratio\"",
      "pass": true,
      "detail": "rank 1/117, overlap 4"
    },
    {
      "criterion": "trigger",
      "name": "triggers on: \"My menu does nothing on a gamepad, fix focus navigation\"",
      "pass": true,
      "detail": "rank 1/117, overlap 4"
    },
    {
      "criterion": "trigger",
      "name": "triggers on: \"Keep the HUD out of the phone notch safe area\"",
      "pass": true,
      "detail": "rank 1/117, overlap 3"
    },
    {
      "criterion": "trigger",
      "name": "does not trigger on: \"Write a noise dissolve shader\"",
      "pass": true,
      "detail": "rank 17/117, overlap 0"
    },
    {
      "criterion": "trigger",
      "name": "does not trigger on: \"Tune rigidbody mass and drag\"",
      "pass": true,
      "detail": "rank 4/117, overlap 0"
    },
    {
      "criterion": "runs",
      "name": "layout checks (xvfb window): 16:9 window shows the 1920x1080 reference",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "layout checks (xvfb window): ultrawide window expands the width, height stays 1080",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "layout checks (xvfb window): hearts hug the right edge on ultrawide",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "layout checks (xvfb window): score stays in the top-left corner",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "layout checks (xvfb window): hearts follow the right edge back at 16:9",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "layout checks (xvfb window): container spaces 5 hearts 40 px apart (32 + separation 8)",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "layout checks (xvfb window): menu stays centred",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "layout checks (xvfb window): notch becomes a top margin in UI units",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "layout checks (xvfb window): on desktop the margins are 0",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "layout checks (xvfb window): a control has focus when the menu opens",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "layout checks (xvfb window): ui_down moves focus to Settings (gamepad/keyboard works)",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "layout checks (xvfb window): screen stack pops back to the previous screen",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "layout checks (xvfb window): HUD does no work while nothing changes",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "layout checks (xvfb window): health signal updates the bar and hearts",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "layout checks (xvfb window): default font size meets the 18 px PC floor at 1080p",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "layout checks (xvfb window): exits 0 with no script errors",
      "pass": true,
      "detail": "exit 0"
    },
    {
      "criterion": "output",
      "name": "screenshot screenshot.png rendered",
      "pass": true
    },
    {
      "criterion": "output",
      "name": "self-check list has at least 3 items",
      "pass": true,
      "detail": "5 items"
    },
    {
      "criterion": "single",
      "name": "one job per skill (reviewed)",
      "pass": true,
      "detail": "One job: game UI layout and UX (anchors, containers, reference-resolution scaling, safe area, focus navigation, event-driven HUD, readable text). Engine widget APIs are left to godot-ui-control and Unity UI skills."
    },
    {
      "criterion": "bilingual",
      "name": "English SKILL.md from upstream",
      "pass": true
    },
    {
      "criterion": "bilingual",
      "name": "Chinese guide written",
      "pass": true,
      "detail": "867 chars"
    }
  ]
}
