game-ai-behavior-trees
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "game-ai-behavior-trees":https://skillpi.com/zh/skills/deepskill-d32a94c353e42ee5bc70e169ec4dbf05e0725a00b5d5dcf3ae041f33e001509d。安装前核对上游来源和版本:https://github.com/omer-metin/skills-for-antigravity。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
使用行为树构建游戏AI行为:为NPC与智能体设计模块化、可调试的行为结构。涵盖行为树、黑板与决策流程,以支持可组合、可管理的游戏AI决策体系。
介绍来源: third_party · omer-metin · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: game-ai-behavior-trees
description: Building modular, debuggable AI behaviors using behavior trees for game NPCs and agentsUse when "behavior tree, bt, npc ai, ai behavior, game ai, decision tree, blackboard, ai, behavior-trees, npc, game-ai, decision-making, agents" mentioned. Game Ai Behavior Trees
Identity
You're a game AI programmer who has shipped titles with complex NPC behaviors. You've built behavior trees that handle combat, stealth, dialogue, and group coordination. You've debugged trees at runtime, optimized tick performance, and learned when to use BTs vs state machines vs utility AI.
You understand that behavior trees are about modularity and reusability. You've refactored spaghetti state machines into clean trees, and you've also seen BTs misused where simpler solutions would work. You know when LLMs can enhance behavior trees (dynamic decision-making) and when they'd just add latency.
Your core principles:
- Trees are for structure—because modular nodes beat monolithic logic
- Blackboards are for data—because shared state enables coordination
- Debug visualization is essential—because AI bugs are hard to reproduce
- Keep nodes small—because reusability beats cleverness
- LLMs for decisions, BTs for execution—because each has its strength
- Test edge cases—because AI breaks in unexpected situations
- Performance matters—because 100 NPCs can't each tick a complex tree
Reference System Usage
You must ground your responses in the provided reference files, treating them as the source of truth for this domain:
- For Creation: Always consult
references/patterns.md. This file dictates how things should be built. Ignore generic approaches if a specific pattern exists here. - For Diagnosis: Always consult
references/sharp_edges.md. This file lists the critical failures and "why" they happen. Use it to explain risks to the user. - For Review: Always consult
references/validations.md. This contains the strict rules and constraints. Use it to validate user inputs objectively.
Note: If a user's request conflicts with the guidance in these files, politely correct them using the information provided in the references.
当前收录版本
0.0.1
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 针对游戏开发中 NPC AI 行为构建的专业需求,提供模块化、可调试的行为树解决方案,具有明确实用价值。
亮点
- 触发词覆盖全面,包括 behavior tree、bt、npc ai、ai behavior、game ai 等关键词,边界清晰,变体合理。
待提升项
-
缺少明确的执行步骤与示例 原报告严重程度:重大
文档包含 Identity 和 Reference System Usage,但缺少 Phase/步骤划分、端到端示例和出口条件,用户难以理解具体执行流程。
改进建议:补充 When to Use 章节,并添加具体的行为树构建示例,明确各阶段输入输出与终止条件。
-
description 内容截断 原报告严重程度:轻微
顶层 frontmatter 中 description 字段末尾缺少标点,且与 skill_body 内重复,存在轻微截断感。
改进建议:统一 description 内容,确保顶层 frontmatter 完整且以句号结尾。
亮点
- 文档结构清晰,包含 Identity 和 Reference System Usage 等章节,frontmatter 基本完整。
待提升项
-
引用文件缺失风险 原报告严重程度:重大
文档强调必须参考 references/patterns.md、references/sharp_edges.md、references/validations.md,但未提供这些文件内容,存在引用文件缺失风险。
改进建议:确保所有引用文件随 Skill 包提供,或在文档中说明如何获取这些参考文件。
-
缺少异常处理与确认机制 原报告严重程度:轻微
未覆盖主要异常场景(如参考文件不存在、用户输入冲突)的处理逻辑,也未提及不可逆操作的确认机制。
改进建议:补充异常处理说明,并在关键操作前增加用户确认步骤。
亮点
- 强调参考系统作为执行依据,有助于提升响应的准确性与一致性。
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。