Game AI Skills — 26 Skills de IA para Jogos
Being09/game-ai-design-master
Expert game AI distilado em 26 skills Python com referências acionáveis
Ver no GitHubConjunto de 26 skills que destilam conhecimento expert de IA para games em referências acionáveis com implementações Python. Cobre desde arquiteturas de decisão (FSM, Behavior Trees, HTN, GOAP) até buscas em árvores de jogo, pathfinding avançado, percepção, tática e sistemas de simulação. Cada skill vem com código Python executável e matriz de decisão arquitetural.
Instalação
npx convez-ai Being09/game-ai-design-master1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.
Métricas
Casos de uso
- Implementar sistemas de IA decisória em jogos (comportamento NPC, inimigos, companheiros)
- Escolher e implementar arquiteturas de IA (Behavior Trees, HTN, Utility Theory, MCTS)
- Otimizar pathfinding e movimentação com A*, JPS, NavMesh e steering behaviors
- Desenvolver tática e estratégia com game tree search, constraint solving e mapas de influência
- Criar simulações complexas com dinâmica social, procedural generation e lógica emergente
Veredito

Recurso técnico denso e bem estruturado para game developers. As 26 skills com implementações Python referenciáveis aceleram decisões arquiteturais e evitam anti-patterns; o repositório carece de documentação em português, mas o código é autoexplicativo. Recomendado para equipes com experiência em gamedev que buscam consolidar conhecimento de IA aplicado em production.
README
A tradução para o português deste README ainda está na fila.
Game AI Skills
26 skills distilling expert game AI into actionable Claude Code references with Python implementations.
让 AI 代理直接掌握游戏 AI 开发所需的全部核心知识——不再需要反复解释基础概念。
它能帮你做什么
- 快速生成游戏 AI 代码 — 告诉 Claude "实现行为树 NPC",它立刻理解节点类型、黑板、遍历机制
- 获得正确的架构建议 — 不再纠结"该用 FSM 还是行为树",决策矩阵直接给答案
- 避免常见陷阱 — 每个 Skill 内置反模式列表,少走弯路
- 从伪代码到实现 — 7 个核心算法附带完整 Python 参考实现
安装
# 安装总纲(推荐,一次获得全部知识导航)
npx skills add Being09/game-ai-design-master/skills/game-ai-design-master
# 或安装单个技能
npx skills add Being09/game-ai-design-master/skills/game-ai-behavior-trees
npx skills add Being09/game-ai-design-master/skills/game-ai-pathfinding
npx skills add Being09/game-ai-design-master/skills/game-ai-utility-theory
技能一览
核心 — 决策与架构
| 技能 | 一句话 |
|---|---|
game-ai-design-master | 总纲:决策矩阵、技术选型、全景导航 |
game-ai-behavior-trees | 行为树:节点类型、黑板系统、遍历机制 |
game-ai-utility-theory | 效用理论:评分曲线、多因素融合、与BT融合 |
game-ai-htn-planner | HTN规划器:层次任务网络、递归分解 |
game-ai-architecture | AI架构选型:FSM/BT/Utility/HTN/GOAP 对比 |
核心 — 寻路与移动
| 技能 | 一句话 |
|---|---|
game-ai-pathfinding | A*优化、JPS、NavMesh、预计算寻路 |
game-ai-formation-movement | 转向圆编队、阵型切换、碰撞避免 |
game-ai-perception | 视锥检测、听觉感知、知识表示 |
核心 — 战术与策略
| 技能 | 一句话 |
|---|---|
game-ai-tactical-reasoning | 战术位置选择、攻击管理、Killzone分层 |
game-ai-game-tree-search | Minimax、Alpha-Beta、MCTS 博弈搜索 |
game-ai-constraint-solving | CSP约束求解、回溯搜索、调度算法 |
深度 — 完整技术体系
| 技能 | 覆盖范围 |
|---|---|
game-ai-systems-architecture | 全部AI架构技术,从决策选型到生产级模块化 |
game-ai-character-behavior | NPC行为全谱系,从敌人AI到同伴交互 |
game-ai-movement-pathfinding | 寻路全技术栈,A*→JPS+→流场→Context Steering |
game-ai-tactics-strategy | 战术策略体系,影响地图→MCTS→Petri网 |
进阶 — 专业主题
| 技能 | 一句话 |
|---|---|
game-ai-npc-social | 社交动力学、日程系统、Alibi生成 |
game-ai-procedural-generation | PCG方法论、随机游走、标签内容选择 |
game-ai-dwarf-fortress-simulation | 世界模拟、动机系统、涌现叙事 |
game-ai-dialogue-communication | 战斗对话系统、队友通信 |
game-ai-analytics-player-perception | 数据驱动AI优化、玩家感知偏见 |
game-ai-debugging-robustness | AI日志可视化、工厂模式、静态检查 |
game-ai-experience-management | 叙事节奏、动态难度、个性化推荐 |
game-ai-illusion-intelligence | AI设计哲学——让玩家觉得"聪明" |
game-ai-vision-reaction | 视觉区域划分、识别置信度、反应时间 |
game-ai-animation-blackboard | 防止Animation Twinning的动画黑板 |
game-ai-procedural-tools | RNG算法选择、似然排序数据压缩 |
附带代码示例
7 个核心算法附带完整 Python 实现:
scripts/
├── behavior_tree.py # 行为树框架(节点、黑板、遍历)
├── astar.py # A* 寻路(网格、8方向、障碍物)
├── utility_system.py # Utility评分(曲线、加权、决策)
├── vision_cone.py # 视锥检测(角度、距离、遮挡)
├── steering_behaviors.py # 转向行为+编队(Seek/Flee/V-Formation)
├── influence_map.py # 影响地图(辐射、扩散、战术选址)
└── htn_planner.py # HTN规划器(分解、状态、计划)
每个脚本可直接运行:python behavior_tree.py
License
MIT