HELLO, CREATORSGood work starts with a great skill.Find yours

Game AI & Pathfinding

gamedev-skills/awesome-gamedev-agent-skills

Choose and implement state machines, behavior trees, steering, and A-star pathfinding for enemies and NPCs.

Latest update at:

3,581Stars327ForksRepository last pushed

About this Skill

Choose and implement state machines, behavior trees, steering, and A-star pathfinding for enemies and NPCs.

Why we picked it

Provides a focused workflow, implementation patterns, and common failure checks for game ai & pathfinding. Pair it with the detected engine and any related systems required by the task.

What it helps with

  • Use when your game task needs game ai & pathfinding.

What this skill helps you build

Choose and implement state machines, behavior trees, steering, and A-star pathfinding for enemies and NPCs.

Original game-ai instructions

Patterns in the upstream playbook

The entrypoint covers: Finite state machine (one state object, explicit transitions); Behavior tree tick (composite nodes return a status); Steering: seek and arrive (smooth, frame-rate independent); A* heuristic must not overestimate (or paths stop being shortest).

Original game-ai instructions

Use it in your project

  1. Inspect the existing project

    Describe the desired behavior and share the relevant project files, engine version, and current failure or target result.

  2. Apply the focused playbook

    Choose and implement state machines, behavior trees, steering, and A-star pathfinding for enemies and NPCs.

  3. Verify in the matching runtime

    Run the project or workflow with its actual dependencies and check the changed behavior before accepting the result.

Original game-ai instructionsEngine versions and upgrade policy

Shared collection installation

Install the complete upstream collection with its router and keep each skill’s bundled references, scripts, and assets. The dispatcher selects an engine and the smallest relevant task set; a member listing is a focused entry into that shared package.

CommandWhat it helps with
npx skills add gamedev-skills/awesome-gamedev-agent-skillsKeep the router and supporting skill folders available together.

Upstream installation guide

Before you use it

  • An existing or planned game and an Agent Skills-compatible coding agent. Pair engine-neutral concepts with the engine-specific entrypoints when writing code.

Supported agents

Claude CodeCodex CLICursorGitHub CopilotDeepSeek HarnessGemini CLIGrok BuildHermes AgentOpenCodePiKiroRovo DevQoderMistral VibeGoogle Antigravity

Sources & references

Original sources are linked below. Practical starting points are editorial suggestions from SkillHey.