{
  "slug": "ai-behavior-trees-utility-ai",
  "skill": "ai-behavior-trees-utility-ai",
  "upstream": "gamedev-skills/awesome-gamedev-agent-skills@184b72be02884f782a0058f2eeae2ce4277453e4",
  "upstreamSha": "184b72be02884f782a0058f2eeae2ce4277453e4",
  "date": "2026-10-28",
  "engine": ".NET 8 (C#)",
  "env": [
    "Node v20.19.2",
    ".NET SDK 8.0.427 (linux x86_64)",
    "the C# blocks from the skill references, copied unchanged by extract.py",
    "Pillow to plot the screenshot"
  ],
  "trigger": "static",
  "passed": 40,
  "total": 40,
  "commands": [
    "(cd examples && bash tests/run.sh)",
    "(cd examples && bash tests/screenshot.sh)"
  ],
  "checks": [
    {
      "criterion": "trigger",
      "name": "SKILL.md description says when to use it",
      "pass": true,
      "detail": "Build a production behavior-tree runtime (Blackboard, action/condition leaves, sequence/selector/parallel composites, de"
    },
    {
      "criterion": "trigger",
      "name": "triggers on: \"Build a behavior tree with a blackboard, selector and sequence\"",
      "pass": true,
      "detail": "rank 1/117, overlap 5"
    },
    {
      "criterion": "trigger",
      "name": "triggers on: \"Score NPC actions with utility AI response curves\"",
      "pass": true,
      "detail": "rank 1/117, overlap 5"
    },
    {
      "criterion": "trigger",
      "name": "triggers on: \"Add a cooldown decorator to my enemy behavior tree\"",
      "pass": true,
      "detail": "rank 1/117, overlap 4"
    },
    {
      "criterion": "trigger",
      "name": "does not trigger on: \"Export my Godot game for Linux\"",
      "pass": true,
      "detail": "rank 31/117, overlap 0"
    },
    {
      "criterion": "trigger",
      "name": "does not trigger on: \"Make a level gap ladder from jump metrics\"",
      "pass": true,
      "detail": "rank 19/117, overlap 0"
    },
    {
      "criterion": "runs",
      "name": "compile and run the reference C#: blackboard returns typed values and a fallback for a missing or wrong type",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "compile and run the reference C#: Sequence resumes at the Running child and succeeds when all succeed",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "compile and run the reference C#: Sequence stops at the first failure",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "compile and run the reference C#: Selector returns the first success and skips the rest",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "compile and run the reference C#: ReactiveSelector lets a higher-priority branch preempt and resets the running one",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "compile and run the reference C#: ReactiveSequence aborts the running child when an earlier condition fails",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "compile and run the reference C#: Parallel RequireOne succeeds when one child succeeds",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "compile and run the reference C#: Parallel fails on one failure with failure policy RequireOne",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "compile and run the reference C#: Inverter flips Success and Failure",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "compile and run the reference C#: ForceSuccess swallows failure",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "compile and run the reference C#: Repeat(3) runs the child three times, then succeeds",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "compile and run the reference C#: Cooldown blocks a second attack within 0.8 s, even after a branch Reset",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "compile and run the reference C#: Wait runs for its duration, then succeeds",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "compile and run the reference C#: MoveToTarget arrives within the arrive radius in about distance/speed",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "compile and run the reference C#: CanSeeTarget uses the squared range",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "compile and run the reference C#: GuardAgent attacks a visible player in range, rate-limited by the 0.8 s cooldown",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "compile and run the reference C#: curves map 0..1 to 0..1 at the ends",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "compile and run the reference C#: Sigmoid crosses 0.5 at mid",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "compile and run the reference C#: InverseLerp01 handles inverted ranges (near = 1)",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "compile and run the reference C#: Exponential reaches 0 and 1 at the ends",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "compile and run the reference C#: compensation keeps a 0 as a veto and lifts multi-factor scores",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "compile and run the reference C#: the proximity consideration is 1 at 2 m",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "compile and run the reference C#: a hungry villager eats and a tired one at night sleeps",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "compile and run the reference C#: hysteresis keeps the current action through a small dip",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "compile and run the reference C#: softmax picks the higher score more often but not always",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "compile and run the reference C#: softmax with temperature 0.0001 does not overflow",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "compile and run the reference C#: hybrid tree picks melee up close and ranged at 10 m",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "compile and run the reference C#: the core reference's fluent assembly builds and ticks",
      "pass": true
    },
    {
      "criterion": "runs",
      "name": "compile and run the reference C#: 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: the runtime for behavior trees and utility AI (nodes, composites, decorators, blackboard, curves, evaluators, hybrids). Choosing between FSM, BT and steering is handed to game-ai."
    },
    {
      "criterion": "bilingual",
      "name": "English SKILL.md from upstream",
      "pass": true
    },
    {
      "criterion": "bilingual",
      "name": "Chinese guide written",
      "pass": true,
      "detail": "929 chars"
    }
  ]
}
