Router 标志

Router

组织热门
gamedev-skills
router

Routes any game-development request to the right specialized skill(s): it detects the engine (Godot, Unity, Unreal, Bevy, Phaser, PixiJS, three.js, LÖVE, pygame, Roblox) and the task, then reads the chosen skill before acting. Use to make a game or to decide which skill applies — for players, levels, enemies, shaders, art direction, sprites, tiles, textures, 3D assets, UI/UX, cameras, game feel, physics, input, audio, saving, multiplayer, AI, dialogue, procedural generation, or performance, for genres (platformer, roguelike, RPG, FPS, tower-defense, card game, visual novel, survival-crafting, puzzle), and for shipping (game jam, Steam, itch). Start here when unsure which gamedev skill to use.

概览

发布者gamedev-skills
代码仓库awesome-gamedev-agent-skills
技能名称router
星标数
1.3K
复刻数
107
附带文件
3
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 3 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 gamedev-skills 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Router AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/gamedev-skills/awesome-gamedev-agent-skills/tree/main/router
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/gamedev-skills/awesome-gamedev-agent-skills.git /tmp/awesome-gamedev-agent-skills
mkdir -p .claude/skills
cp -r /tmp/awesome-gamedev-agent-skills/router .claude/skills/router
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Router,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Router。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Router 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Master Router — Game-Development Skill Dispatcher

The entry point for game-development work. It fingerprints the project to pick one engine, classifies the task from the request, names the minimal set of specialized skills, and tells you to read them before acting. It dispatches and composes — it does not re-teach engine APIs.

When to use

  • Use at the start of any game-development request — building or debugging a game, level, player, enemy, shader, UI, save system, multiplayer, input, audio, AI, dialogue, procedural content, or visual asset set — to decide which skill(s) to load.
  • Use when the user names an engine or genre, says "make a game", or asks "which skill should I use?".

When not to use: once the right skill is loaded and the task is squarely inside it, work from that skill — don't re-run the router every turn. Re-route only when the task pivots to a new engine or concern (router step 6).

Routing algorithm

  1. Detect engine and version — project fingerprint → at most one engine skill set (or "unknown"), then read the project's version source. §1.
  2. Classify task — phrasing → discipline(s) + at most one genre + workflow(s). §2.
  3. Resolve — the minimal set: engine skill(s) + discipline(s) + genre + workflow(s). §3.
  4. Read (disclosure) — open only the chosen SKILL.md bodies; references/ only on demand. §4.
  5. Compose — order: engine fundamentals → discipline concept → genre glue → workflow. §5.
  6. Fallback — engine unknown or no skill fits → ask or default to Godot; state any gap. §6.

1. Engine detection (project fingerprint)

Scan for the highest-confidence signal; choose exactly one engine. Stop at the first match.

#EnginePrimary signalSkill set root
1Godotproject.godotskills/godot/
2Unreal*.uprojectskills/unreal/
3UnityAssets/ and ProjectSettings/ProjectVersion.txtskills/unity/
4BevyCargo.toml with a bevy dependencyskills/other-engines/bevy-ecs/
5Phaserpackage.json dep phaserskills/web-engines/phaser-*
6PixiJSpackage.json dep pixi.jsskills/web-engines/pixijs-rendering/
7three.jspackage.json dep threeskills/web-engines/threejs-*
8LÖVEconf.lua / main.lua calling love.*skills/other-engines/love2d-core/
9pygame*.py with import pygameskills/other-engines/pygame-core/
10Roblox*.rbxl(x) / *.project.json (Rojo)skills/other-engines/roblox-*

For secondary signals, the Godot-C#/Unity/Bevy and multi-web disambiguation rules, monorepos, and plain-text engine mentions, read references/engine-detection.md.

After identifying the engine, read its version from project metadata or dependency locks before choosing APIs. Existing projects keep their pinned version unless migration is requested; the catalog baseline is only for new projects. The exact version sources are in the detection reference and ../docs/VERSION-SUPPORT.md.

2. Task classification (phrasing → category)

After the engine, read the request for task signals (three additive categories):

  • disciplines (cross-engine concepts): create-game-assets, game-ai, ai-behavior-trees-utility-ai, procedural-gen, dialogue-systems, save-systems, audio-design, shader-programming, physics-tuning, level-design, input-systems, game-feel, camera-systems, game-ui-ux, performance-optimization. Triggered by concept words ("sprite sheet", "art direction", "texture", "pathfinding", "save slots", "fragment shader", "screen shake", "camera follow", "HUD/menu", "optimize/low FPS").
  • genres (whole-game templates): platformer, roguelike, rpg, fps-shooter, tower-defense, card-game, visual-novel, survival-crafting, puzzle. Triggered by genre words ("make a roguelike", "deckbuilder").
  • workflows (process/shipping): game-jam, prototype-fast, steam-publish, itch-publish. Triggered by process words ("publish on Steam", "vertical slice").

File signals sharpen this: *.yarn/*.ink → dialogue-systems/visual-novel; steam_appid.txt → steam-publish; *.inputactions → unity-input-system.

3. Routing table (task → category → skill)

3a. Engine skills — read the one matching the detected engine + sub-task

  • Godot (skills/godot/): language godot-gdscript / godot-csharp; structure godot-nodes-scenes, godot-signals-groups; 2D godot-2d-movement, godot-tilemap; 3D godot-3d-essentials; physics godot-physics; UI godot-ui-control; animation godot-animation; shaders godot-shaders; data godot-resources; audio godot-audio; netcode godot-multiplayer; headless CLI tests godot-gdscript-headless-testing; ship godot-export.
  • Unity (skills/unity/): scripting unity-csharp-scripting; input unity-input-system; physics unity-physics; animation unity-animation; data unity-scriptableobjects; 2D unity-tilemap-2d; AI nav unity-navmesh; ship unity-build-pipeline.
  • Unreal (skills/unreal/): visual scripting unreal-blueprints; C++ gameplay unreal-cpp-gameplay; input unreal-enhanced-input; AI unreal-behavior-trees; VFX unreal-niagara; ship unreal-packaging.
  • Web (skills/web-engines/): phaser-core, phaser-arcade-physics; pixijs-rendering; threejs-scene-setup, threejs-gltf-loading, threejs-materials-lighting.
  • Other (skills/other-engines/): bevy-ecs, pygame-core, love2d-core; Roblox foundation roblox-luau, persistence roblox-datastores, UI roblox-ui, remotes/security roblox-networking, character lifecycle roblox-characters, simulation/queries roblox-physics, and in-Studio operation roblox-studio-workflow.

3b. Disciplines — load with the engine skill (concept ↔ engine API)

Concept (says:)Discipline skillPairs with (engine API)
art direction, game assets, sprites, tilesets, textures, icons, 3D propscreate-game-assetsengine importer/rendering skill; imagegen when available
enemy AI, behavior tree, pathfinding, steeringgame-aiunity-navmesh / unreal-behavior-trees / Godot nav
BT runtime, blackboard, decorator, selector/sequence, utility AI, response curve, considerationai-behavior-trees-utility-aigame-ai (model choice) / unreal-behavior-trees (engine assets)
procedural, noise, seed, dungeon generatorprocedural-genengine tilemap/grid skill
dialogue, Yarn, Ink, conversation treedialogue-systemsengine UI skill
save/load, slots, persistencesave-systemsroblox-datastores / engine IO
adaptive music, mixer, ducking, SFXaudio-designgodot-audio / Unity AudioMixer
shader, fragment, dissolve/outlineshader-programminggodot-shaders / engine material
jitter, tunneling, fixed timestepphysics-tuninggodot-physics / unity-physics
whitebox, blockout, tile layout, pacinglevel-designgodot-tilemap / unity-tilemap-2d
rebind, gamepad, input bufferinginput-systemsunity-input-system / unreal-enhanced-input / Godot InputMap
screen shake, hit-stop, juice, squash & stretch, "make it punchy"game-feelengine animation/tween + camera-systems (shake)
camera follow, deadzone, look-ahead, orbit, first-personcamera-systemsgodot-2d-movement / godot-3d-essentials / Cinemachine
HUD, menu, UI layout, scaling, safe area, focus navgame-ui-uxgodot-ui-control / Unity UI (UGUI/UI Toolkit)
low FPS, optimize, draw calls, GC spike, pooling, profilerperformance-optimizationengine profiler + physics-tuning

For Roblox, compose cross-engine concepts with the focused engine skill: HUD/menu requests use roblox-ui + game-ui-ux (+ input-systems for gameplay bindings); remote exploit or replication requests use roblox-networking + roblox-luau; respawn/rig requests use roblox-characters; physical simulation/query requests use roblox-physics (+ physics-tuning for stability); direct place editing also uses roblox-studio-workflow.

3c. Genres — compose engine + disciplines (bind * to the detected engine)

Genre (says:)composes
platformer, jump, double jumpgodot-2d-movement (or engine physics) + godot-tilemap/unity-tilemap-2d + level-design + camera-systems + game-feel
roguelike, procedural dungeon, permadeathprocedural-gen + godot-tilemap/unity-tilemap-2d + game-ai + save-systems + game-feel
RPG, stats, inventory, questsgodot-resources/unity-scriptableobjects + dialogue-systems + save-systems + game-ui-ux
FPS, first-person, hitscangodot-3d-essentials/unreal-cpp-gameplay + input-systems + game-ai + camera-systems + game-feel
tower defense, waves, lanesgame-ai + engine movement + level-design + game-ui-ux
card game, deckbuilder, TCGgodot-resources/unity-scriptableobjects + game-ui-ux (+ engine UI)
visual novel, branching storydialogue-systems + save-systems + game-ui-ux
survival, crafting, gatheringsave-systems + godot-resources/unity-scriptableobjects + procedural-gen + game-ui-ux
puzzle, match-3, grid logicgodot-tilemap/unity-tilemap-2d + level-design + game-feel

3d. Workflows — engine-independent process & shipping

game-jam (jam, 48-hour, Ludum Dare/GMTK) · prototype-fast (vertical slice, MVP, greybox) · steam-publish (Steam, Steamworks, depot; steam_appid.txt) · itch-publish (itch.io, butler; .itch.toml).

For the exhaustive per-skill trigger list and every engine binding, read references/routing-table.md.

4. Read protocol (progressive disclosure)

  1. Preloaded: only each skill's name + description are in context. Decide from those plus the fingerprint — do not pre-read bodies.
  2. On selection: read the body of each chosen skills/<category>/<name>/SKILL.md — and only those. Never bulk-load a whole category.
  3. On demand: read a skill's bundled references/ files only when the subtask needs that depth (the skill body says when).
  4. Re-route on pivot: if the task changes (movement → saving), select and read the newly relevant skill instead of keeping everything loaded.

Announce what you load and why, e.g.: "Detected Godot (project.godot). Loading godot-2d-movement for the controller and platformer for jump feel; will open the platformer skill's feel-tuning.md reference if you want coyote-time/buffering."

5. Composition rules

  • One engine set, additive concepts. Exactly one engine skill set; add the disciplines the task needs and usually at most one genre. Workflows attach independently.
  • Order: engine fundamentals → discipline concept → genre orchestration → workflow. For asset production, approve the visual target before generating a family, then finish with the engine import settings and an in-context capture.
  • Ownership on overlap: the engine skill owns API/syntax; the discipline skill owns the portable concept/algorithm and defers to the engine skill for code; the genre skill owns structure/glue and links out instead of re-teaching a primitive.
  • Hand-offs: when a genre's composes names a slot like *-2d-movement, bind it to the detected engine. If that engine lacks the exact skill, see §6 and references/routing-table.md ("Binding gaps").

6. Unknown-engine & no-skill fallback

Engine unknown (no fingerprint, no engine named):

  1. Check the request for a plain-text engine name ("in Unity", "using Phaser"). If found, adopt it.
  2. If the task is a pure concept/genre/workflow question, route straight to the engine-agnostic discipline/genre/workflow skill — no engine needed ("what's a good save format?" → save-systems).
  3. Only if engine choice actually blocks the answer, ask one targeted question ("Which engine — Godot, Unity, Unreal, or a web/other engine?"). If the user has no preference and one is needed, default to Godot (the most fully covered engine here) and say so.
  4. Never invent an engine or load an engine skill on a guess.

Engine known but no skill covers the subtask: load the closest engine skill plus the relevant discipline and state the gap plainly (e.g. "no dedicated Unity 2D-movement skill; using unity-csharp-scripting + unity-physics"). Never fabricate a skill name.

Conflicting/multiple genres: pick the dominant genre from the phrasing; mention the secondary and offer to load it if the user confirms.

Worked examples

RequestDetected engineSkills loaded (in order)
"add a double jump to my Godot player"Godot (project.godot)godot-2d-movement → platformer
"make an inventory for my Unity RPG"Unity (Assets/+ProjectSettings/)unity-scriptableobjects → rpg → save-systems
"procedural dungeon roguelike in Godot"Godotgodot-tilemap → procedural-gen → roguelike
"branching dialogue from a .yarn file"(none required)dialogue-systems (+ engine UI skill if an engine is detected)
"how do I design save slots with migration?"(none)save-systems only
"publish my game on itch with butler"(any/none)itch-publish only
"I want to make a game but don't know what to use"unknown → ask, default Godotrouter asks once; then e.g. godot-nodes-scenes
"make hits feel punchy in my Godot game"Godot (project.godot)game-feel (+ camera-systems for shake)
"the camera should follow my player smoothly"(detected engine)camera-systems (+ engine movement skill)
"my Unity game drops to 30 FPS, optimize it"Unity (Assets/+ProjectSettings/)performance-optimization (profile first) → engine skill
"make a cohesive pixel-art player and enemy set"(detected engine)create-game-assets → relevant engine import/rendering skill

References

  • Full engine fingerprints, secondary signals, and disambiguation: references/engine-detection.md.
  • Exhaustive per-skill trigger words, engine bindings, and binding gaps: references/routing-table.md.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Router AI 技能有什么作用?

Routes any game-development request to the right specialized skill(s): it detects the engine (Godot, Unity, Unreal, Bevy, Phaser, PixiJS, three.js, LÖVE, pygame, Roblox) and the task, then reads the chosen skill before acting. Use to make a game or to decide which skill applies — for players, levels, enemies, shaders, art direction, sprites, tiles, textures, 3D assets, UI/UX, cameras, game feel, physics, input, audio, saving, multiplayer, AI, dialogue, procedural generation, or performance, for genres (platformer, roguelike, RPG, FPS, tower-defense, card game, visual novel, survival-craftin...

为什么在 TypingMind 中使用 Router?

因为您只需安装一次,就能搭配任何模型使用。Router 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Router?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/gamedev-skills/awesome-gamedev-agent-skills/tree/main/router。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Router?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Router 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Router 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Router AI 技能免费吗?

是的。gamedev-skills 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇