{
  "slug": "godot4-guard",
  "skill": "godot4-guard",
  "upstream": "GameSkill original (onsite/<slug>/original)",
  "sourceHash": "3cbe7141d46be5fd8e6531e588de8b9d6953d88d0597dfd275f8d8d1672478ca",
  "date": "2026-11-09",
  "engine": "Godot 4.7.2 (headless import, script load, scene run, Movie Maker)",
  "env": [
    "Node v22.23.4",
    "Python 3 standard library only",
    "Godot 4.7.2-stable headless: --import, --script, --quit-after",
    "xvfb + OpenGL 3 (opengl3) and --write-movie for the screenshot"
  ],
  "trigger": "static",
  "passed": 25,
  "total": 25,
  "commands": [
    "(cd ../original && env GODOT={godot} python3 test/run_tests.py)",
    "(cd . && env GODOT={godot} python3 ../original/test/screenshot.py screenshot.png)"
  ],
  "checks": [
    {
      "criterion": "trigger",
      "name": "SKILL.md description says when to use it",
      "pass": true,
      "detail": "Stop Godot 3 code and silent script errors from landing in a Godot 4 project - one command lints every .gd, .tscn and pr"
    },
    {
      "criterion": "trigger",
      "name": "triggers on: \"Check my Godot 4 project for Godot 3 GDScript like yield, export var and KinematicBody2D before I commit\"",
      "pass": true,
      "detail": "rank 1/129, overlap 7"
    },
    {
      "criterion": "trigger",
      "name": "triggers on: \"Port this Godot 3 script to Godot 4 and make sure every script loads headless without errors\"",
      "pass": true,
      "detail": "rank 1/129, overlap 7"
    },
    {
      "criterion": "trigger",
      "name": "triggers on: \"My Godot game exits 0 but scripts fail to load, add a headless check that catches script errors\"",
      "pass": true,
      "detail": "rank 1/129, overlap 7"
    },
    {
      "criterion": "trigger",
      "name": "does not trigger on: \"Design a skill tree for my RPG\"",
      "pass": true,
      "detail": "rank 36/129, overlap 0"
    },
    {
      "criterion": "trigger",
      "name": "does not trigger on: \"Make a pixel art tileset for a forest level\"",
      "pass": true,
      "detail": "rank 37/129, overlap 0"
    },
    {
      "criterion": "runs",
      "name": "Beacon Keeper clean; Godot 3 habits copy: 15 findings, 3 parse errors, --fix 10 renames; runtime-error copy caught in the run: Beacon Keeper (Godot 4)",
      "pass": true,
      "detail": "lint, parse, 600-frame run and expect all PASS - exit 0"
    },
    {
      "criterion": "runs",
      "name": "Beacon Keeper clean; Godot 3 habits copy: 15 findings, 3 parse errors, --fix 10 renames; runtime-error copy caught in the run: --json report",
      "pass": true,
      "detail": "3 scripts, none bad, no run errors"
    },
    {
      "criterion": "runs",
      "name": "Beacon Keeper clean; Godot 3 habits copy: 15 findings, 3 parse errors, --fix 10 renames; runtime-error copy caught in the run: Godot 3 habits copy",
      "pass": true,
      "detail": "exactly the 15 expected lint findings - change-scene, connect-3, deg2rad, empty, engine-3-config, export-var, move-and-slide-args, node-renames, node-renames, onready-var, os-ticks, rand_range, setget, update-redraw, yield"
    },
    {
      "criterion": "runs",
      "name": "Beacon Keeper clean; Godot 3 habits copy: 15 findings, 3 parse errors, --fix 10 renames; runtime-error copy caught in the run: Godot 4.7 itself refuses all 3 scripts (parse errors shown)",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "Beacon Keeper clean; Godot 3 habits copy: 15 findings, 3 parse errors, --fix 10 renames; runtime-error copy caught in the run: the game never reaches \"all 3 beacons lit\"; every lint FAIL has a fix line - 16 fix lines",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "Beacon Keeper clean; Godot 3 habits copy: 15 findings, 3 parse errors, --fix 10 renames; runtime-error copy caught in the run: each lint FAIL is followed by its fix",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "Beacon Keeper clean; Godot 3 habits copy: 15 findings, 3 parse errors, --fix 10 renames; runtime-error copy caught in the run: --fix rewrites the 10 mechanical renames and leaves the 5 that need a person - engine-3-config, move-and-slide-args, node-renames, node-renames, setget",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "Beacon Keeper clean; Godot 3 habits copy: 15 findings, 3 parse errors, --fix 10 renames; runtime-error copy caught in the run: --fix output",
      "pass": true,
      "detail": "await ... .timeout, change_scene_to_file, signal.connect(method), queue_redraw()"
    },
    {
      "criterion": "runs",
      "name": "Beacon Keeper clean; Godot 3 habits copy: 15 findings, 3 parse errors, --fix 10 renames; runtime-error copy caught in the run: --fix is idempotent (second run changes nothing)",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "Beacon Keeper clean; Godot 3 habits copy: 15 findings, 3 parse errors, --fix 10 renames; runtime-error copy caught in the run: runtime-error copy",
      "pass": true,
      "detail": "lint and parse pass, the 600-frame run catches the null node (Godot itself exits 0)"
    },
    {
      "criterion": "runs",
      "name": "Beacon Keeper clean; Godot 3 habits copy: 15 findings, 3 parse errors, --fix 10 renames; runtime-error copy caught in the run: comments are ignored and lint-only mode works without Godot - PASS lint",
      "pass": true,
      "detail": "no Godot 3 API found"
    },
    {
      "criterion": "runs",
      "name": "Beacon Keeper clean; Godot 3 habits copy: 15 findings, 3 parse errors, --fix 10 renames; runtime-error copy caught in the run: a folder without project.godot exits 2",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "Beacon Keeper clean; Godot 3 habits copy: 15 findings, 3 parse errors, --fix 10 renames; runtime-error copy caught in the run: 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": "3 items"
    },
    {
      "criterion": "single",
      "name": "one job per skill (reviewed)",
      "pass": true,
      "detail": "One job: keep a Godot 4 project free of Godot 3 API and script errors (lint with fixes, headless load, headless run with an expected line). Writing the game code itself stays with the Godot engine and mechanic skills."
    },
    {
      "criterion": "bilingual",
      "name": "English SKILL.md",
      "pass": true
    },
    {
      "criterion": "bilingual",
      "name": "Chinese SKILL.zh.md shipped next to SKILL.md",
      "pass": true,
      "detail": "2981 chars"
    },
    {
      "criterion": "bilingual",
      "name": "Chinese guide written",
      "pass": true,
      "detail": "1472 chars"
    }
  ]
}
