{
  "slug": "godot-ui-integration",
  "skill": "godot-ui-integration",
  "upstream": "zimo-xiao-zheng/godot-ui-integration@346fa1718d6c6b8558a68d7b25158b04fd4bf881",
  "upstreamSha": "346fa1718d6c6b8558a68d7b25158b04fd4bf881",
  "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 1920x1080 window for input, focus and captures",
    "Python 3.13 + Pillow 12.3 for the skill scripts"
  ],
  "trigger": "static",
  "passed": 46,
  "total": 46,
  "commands": [
    "(cd examples && xvfb-run -a -s -screen 0 2000x1200x24 {godot} --path . --rendering-driver opengl3 --audio-driver Dummy -s tests/run_tests.gd)",
    "(cd examples && env GODOT={godot} python3 tests/run_tools.py)",
    "(cd examples && env GODOT={godot} bash tests/screenshot.sh)"
  ],
  "checks": [
    {
      "criterion": "trigger",
      "name": "SKILL.md description says when to use it",
      "pass": true,
      "detail": "Build or revise Godot UI from an approved design, separated art, or a visual reference when scene structure, gameplay bi"
    },
    {
      "criterion": "trigger",
      "name": "triggers on: \"Implement this approved shop UI mockup in Godot and verify it matches at runtime\"",
      "pass": true,
      "detail": "rank 2/117, overlap 3"
    },
    {
      "criterion": "trigger",
      "name": "triggers on: \"Build a Godot menu from separated art with gameplay binding and visual verification\"",
      "pass": true,
      "detail": "rank 1/117, overlap 7"
    },
    {
      "criterion": "trigger",
      "name": "triggers on: \"Make my Godot UI match the reference design pixel-close\"",
      "pass": true,
      "detail": "rank 2/117, overlap 3"
    },
    {
      "criterion": "trigger",
      "name": "does not trigger on: \"Export my Blender character to Unreal\"",
      "pass": true,
      "detail": "rank 45/117, overlap 0"
    },
    {
      "criterion": "trigger",
      "name": "does not trigger on: \"Find balance outliers in my weapon data\"",
      "pass": true,
      "detail": "rank 13/117, overlap 0"
    },
    {
      "criterion": "runs",
      "name": "scene, binding, focus and exit checks (xvfb): shop.tscn opens with ShopPanel, title, coins and 3 cards before _ready",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "scene, binding, focus and exit checks (xvfb): cards show representative state in the scene file (name, price, Buy)",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "scene, binding, focus and exit checks (xvfb): entry",
      "pass": true,
      "detail": "the open button has focus on start"
    },
    {
      "criterion": "runs",
      "name": "scene, binding, focus and exit checks (xvfb): entry",
      "pass": true,
      "detail": "pressing Open shop adds the overlay"
    },
    {
      "criterion": "runs",
      "name": "scene, binding, focus and exit checks (xvfb): binding adds no nodes (layout not built in code)",
      "pass": true,
      "detail": "22 vs 22"
    },
    {
      "criterion": "runs",
      "name": "scene, binding, focus and exit checks (xvfb): binding does not move the panel",
      "pass": true,
      "detail": "[P: (280.0, 150.0), S: (1360.0, 780.0)]"
    },
    {
      "criterion": "runs",
      "name": "scene, binding, focus and exit checks (xvfb): dynamic text comes from data, not baked art",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "scene, binding, focus and exit checks (xvfb): unaffordable item is disabled with its own label",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "scene, binding, focus and exit checks (xvfb): focus lands on the first Buy button",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "scene, binding, focus and exit checks (xvfb): ui_right moves focus to the next card",
      "pass": true,
      "detail": "BuyButton:<Button#30467425794>"
    },
    {
      "criterion": "runs",
      "name": "scene, binding, focus and exit checks (xvfb): ui_accept buys the Shield",
      "pass": true,
      "detail": "300 - 90 = 210 coins: 210"
    },
    {
      "criterion": "runs",
      "name": "scene, binding, focus and exit checks (xvfb): buying the Sword leaves 90 and disables it (90 < 120)",
      "pass": true,
      "detail": "90"
    },
    {
      "criterion": "runs",
      "name": "scene, binding, focus and exit checks (xvfb): decorative nodes use mouse_filter IGNORE",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "scene, binding, focus and exit checks (xvfb): a click in the middle of a Buy button reaches the button",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "scene, binding, focus and exit checks (xvfb): runs at the 1920x1080 target",
      "pass": true,
      "detail": "(1920.0, 1080.0)"
    },
    {
      "criterion": "runs",
      "name": "scene, binding, focus and exit checks (xvfb): exit",
      "pass": true,
      "detail": "ui_cancel closes the overlay"
    },
    {
      "criterion": "runs",
      "name": "scene, binding, focus and exit checks (xvfb): exit",
      "pass": true,
      "detail": "focus returns to the Open shop button"
    },
    {
      "criterion": "runs",
      "name": "scene, binding, focus and exit checks (xvfb): exits 0 with no script errors",
      "pass": true,
      "detail": "exit 0"
    },
    {
      "criterion": "runs",
      "name": "the skill scripts on the example: white_bg_to_alpha",
      "pass": true,
      "detail": "exits 0 and writes RGBA: Wrote out/coin.png"
    },
    {
      "criterion": "runs",
      "name": "the skill scripts on the example: white_bg_to_alpha",
      "pass": true,
      "detail": "corners become transparent"
    },
    {
      "criterion": "runs",
      "name": "the skill scripts on the example: white_bg_to_alpha",
      "pass": true,
      "detail": "the white highlight inside the coin stays opaque: (255, 255, 255, 255)"
    },
    {
      "criterion": "runs",
      "name": "the skill scripts on the example: the committed assets/coin.png matches a fresh run",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "the skill scripts on the example: alpha_audit --strict passes the cutout",
      "pass": true,
      "detail": "{'mode': 'RGBA'}"
    },
    {
      "criterion": "runs",
      "name": "the skill scripts on the example: alpha_audit --strict fails the white-background source",
      "pass": true,
      "detail": "['image mode is not RGBA', 'image has no alpha channel']"
    },
    {
      "criterion": "runs",
      "name": "the skill scripts on the example: stretch_audit passes shop.tscn",
      "pass": true,
      "detail": "Audited 1 TextureRect/NinePatchRect/TextureButton nodes."
    },
    {
      "criterion": "runs",
      "name": "the skill scripts on the example: stretch_audit passes item_card.tscn (audit instanced scenes on their own)",
      "pass": true,
      "detail": "Audited 2 TextureRect/NinePatchRect/TextureButton nodes."
    },
    {
      "criterion": "runs",
      "name": "the skill scripts on the example: stretch_audit fails a 300x80 banner scaled into 900x400",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "the skill scripts on the example: stretch_audit fails nine-slice margins larger than half the texture",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "the skill scripts on the example: contact_sheet writes a sheet for 4 assets",
      "pass": true,
      "detail": "Wrote out/contact.png"
    },
    {
      "criterion": "runs",
      "name": "the skill scripts on the example: Godot captures reference, runtime and shifted at 1920x1080",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "the skill scripts on the example: parity audit",
      "pass": true,
      "detail": "bound runtime vs authored reference exits 0: Diagnostics: aspect_delta=0.0000%, mean_absolute_error=0.0022, rms_difference=0.0277"
    },
    {
      "criterion": "runs",
      "name": "the skill scripts on the example: parity audit",
      "pass": true,
      "detail": "a 40 px panel drift scores clearly worse than text-only changes: 0.0022 vs 0.0276"
    },
    {
      "criterion": "runs",
      "name": "the skill scripts on the example: parity audit refuses a 5:4 capture against a 16:9 reference",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "the skill scripts on the example: the positional form shown in SKILL.md is rejected (flags --reference/--runtime are required)",
      "pass": true,
      "detail": "reference_parity_audit.py: error: the following arguments are required: --reference, --runtime"
    },
    {
      "criterion": "runs",
      "name": "the skill scripts on the example: 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: taking an approved UI design all the way into Godot scenes, data binding and a runtime visual check. Isolated node or layout questions are handed to ordinary Godot UI guidance."
    },
    {
      "criterion": "bilingual",
      "name": "English SKILL.md from upstream",
      "pass": true
    },
    {
      "criterion": "bilingual",
      "name": "Chinese guide written",
      "pass": true,
      "detail": "1357 chars"
    }
  ]
}
