跳到正文
Skillpedia
通用编程6.6k · #13790

router

它能做什么

该技能会对游戏开发请求进行分类,并将其交给适合该引擎和任务的专业技能。适合不确定哪份指南适用于自己问题的游戏制作者。

适用场景

  • ✓当你开始一款新游戏,想为你的引擎和类型找到合适的技能时。
  • ✓当你询问哪项技能涵盖着色器、敌人或界面等主题时。
  • ✓当游戏项目切换到不同的引擎或遇到新问题,需要新的指导时。

技能链接

https://github.com/gamedev-skills/awesome-gamedev-agent-skills/blob/main/router/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/gamedev-skills/awesome-gamedev-agent-skills/blob/main/router/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我正在用 Godot 制作一款 2D 游戏。请问你应该使用哪些技能来帮我制作敌人和 HUD?”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会检查项目文件以确定引擎,阅读任务描述,并选出最少且合适的一组专业技能。然后在开始工作前先阅读这些技能。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

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 — preserve existing engines, including custom/proprietary ones; bind missing APIs from project evidence and state any gap. For a new project with no engine preference, see §6.

1. Engine detection (project fingerprint)

Scan for the highest-confidence signal; choose exactly one engine for the target project. An explicitly identified custom/proprietary engine is a valid result even without a catalog skill. Check the target's build and runtime entry point before treating a bundled library/tool as its engine.

# Engine Primary signal Skill set root
1 Godot project.godot skills/godot/
2 Unreal *.uproject skills/unreal/
3 Unity Assets/ and ProjectSettings/ProjectVersion.txt skills/unity/
4 Ebitengine go.mod requiring github.com/hajimehoshi/ebiten/v2 skills/ebitengine/
5 Bevy Cargo.toml with a bevy dependency skills/other-engines/bevy-ecs/
6 Phaser package.json dep phaser skills/web-engines/phaser-*
7 PixiJS package.json dep pixi.js skills/web-engines/pixijs-rendering/
8 three.js package.json dep three skills/web-engines/threejs-*
9 Defold game.project skills/other-engines/defold-core/
10 LÖVE conf.lua / main.lua calling love.* skills/other-engines/love2d-core/
11 pygame *.py with import pygame skills/other-engines/pygame-core/
12 Roblox *.rbxl(x) / *.project.json (Rojo) skills/other-engines/roblox-*

For secondary signals, the Godot-C#/Unity/Bevy, Defold/LÖVE/Lua 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; each engine skill states its new-project baseline, and the catalog-wide table is docs/VERSION-SUPPORT.md in the source repository (it is not installed with the router).

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-defe
常见问题

它能识别哪些引擎?

该技能列出了 Godot、Unity、Unreal、Ebitengine、Bevy、Phaser、PixiJS、three.js、Defold、LOVE、pygame 和 Roblox。

它本身会教引擎代码吗?

不会。它只负责选择和组合专业技能,具体的详细指导由那些技能提供。

什么时候不需要使用它?

一旦加载了正确的技能,且工作仍在该技能范围内,就不再需要路由器。

详情

作者的原始描述

Routes any game-development request to the right specialized skill(s): it detects the engine (Godot, Unity, Unreal, Ebitengine, Bevy, Phaser, PixiJS, three.js, Defold, 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,

repo: gamedev-skills/awesome-gamedev-agent-skills

热度

GitHub 星标
6.6k
排名
#13790
许可证
Apache-2.0
更新时间
2026/10/28

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能