router
Skill này làm gì
Skill này phân loại các yêu cầu phát triển game và chuyển đến skill chuyên biệt phù hợp với engine và công việc. Nó dành cho người làm game chưa chắc hướng dẫn nào áp dụng cho câu hỏi của mình.
Khi nào nên dùng
- ✓Khi bạn bắt đầu một game mới và muốn có đúng skill cho engine và thể loại của mình.
- ✓Khi bạn hỏi skill nào bao quát một chủ đề như shader, kẻ thù hoặc UI.
- ✓Khi một dự án game chuyển sang engine hoặc vấn đề khác và cần hướng dẫn mới.
Liên kết skill
https://github.com/gamedev-skills/awesome-gamedev-agent-skills/blob/main/router/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tôi đang làm một game 2D bằng Godot. Những skill nào bạn nên dùng để giúp tôi xây dựng kẻ thù và HUD?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent kiểm tra các file của dự án để tìm engine, đọc cách diễn đạt của công việc, rồi chọn bộ skill chuyên biệt nhỏ nhất phù hợp. Sau đó nó đọc các skill đó trước khi làm việc.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
- Detect engine and version — project fingerprint → at most one engine skill set (or "unknown"), then read the project's version source. §1.
- Classify task — phrasing → discipline(s) + at most one genre + workflow(s). §2.
- Resolve — the minimal set: engine skill(s) + discipline(s) + genre + workflow(s). §3.
- Read (disclosure) — open only the chosen
SKILL.mdbodies;references/only on demand. §4. - Compose — order: engine fundamentals → discipline concept → genre glue → workflow. §5.
- 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
Câu hỏi thường gặp
Skill này nhận diện những engine nào?
Skill liệt kê Godot, Unity, Unreal, Ebitengine, Bevy, Phaser, PixiJS, three.js, Defold, LOVE, pygame và Roblox.
Skill có tự dạy code của engine không?
Không. Nó chỉ chọn và kết hợp các skill chuyên biệt, là nơi chứa hướng dẫn chi tiết.
Khi nào tôi không nên dùng nó?
Khi skill phù hợp đã được tải và công việc nằm gọn trong skill đó, không cần dùng router nữa.
Chi tiết
Mô tả gốc của tác giả
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,
Độ phổ biến
- Sao GitHub
- 6.6k
- Vị trí xếp hạng
- #13790
- Giấy phép
- Apache-2.0
- Cập nhật
- 28/10/2026
Bình luận
- …
Thêm skill từ kho mã này
ai-behavior-trees-utility-ai
6.6kGiúp agent của bạn xây dựng behavior tree và hệ thống utility AI cho kẻ thù và nhân vật trong game, chọn hành động theo độ ưu tiên và điểm số.
audio-design
6.6kDạy agent cách trộn âm thanh game: bus, âm lượng theo decibel, hạ nhạc khi có thoại, nhạc thích ứng và biến thể hiệu ứng âm thanh.
camera-systems
6.6kGiúp agent của bạn xây dựng camera game bám theo mượt, giữ trong phạm vi màn chơi, và xoay quanh hoặc nhìn quanh trong 3D.
create-game-assets
6.6kGiúp agent của bạn lập kế hoạch và kiểm tra một bộ hình ảnh game nhất quán, từ hướng dẫn phong cách và danh sách sprite đến quy tắc kích thước và đặt tên.
Skill tương tự
diffs
394kGiúp agent của bạn tạo một diff có thể chia sẻ về các chỉnh sửa, dưới dạng liên kết xem hoặc file ảnh, thay vì một bản tóm tắt viết tay.
coding-agent
394kGiúp agent của bạn giao một việc lập trình lớn cho Codex, Claude Code hoặc OpenCode chạy nền, rồi theo dõi tiến độ của nó.
gh-issues
394kGiúp agent của bạn tìm issue trên GitHub, chọn những issue cần xử lý và mở pull request với bản sửa, kể cả theo dõi nhận xét đánh giá.