build-rigged-game-assets
它能做什么
这个技能指导 AI 智能体为网页游戏构建一个 3D 角色或怪物。内容涵盖模型、骨架、动画、装备和预览页面。适合导入或生成 3D 角色的游戏团队。
适用场景
- ✓你需要为游戏创建或导入一个 3D 角色或怪物的时候。
- ✓你想把剑、盾牌或其他装备附着在角色手上的时候。
- ✓你需要一个经过检查、游戏可以加载和测试的素材包的时候。
技能链接
https://github.com/MengTo/Skills/blob/main/agent-skills/game-development/build-rigged-game-assets/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我为游戏设置一个 3D 怪物,包括动画、剑的装备位,以及一个预览页面。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会先检查项目的素材规则,然后填写一份清单,列出模型、动作和装备。验证脚本会在素材被标记为就绪之前检查文件。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Build Rigged Game Assets
Build one truthful actor package from source reference through gameplay and catalog proof.
Establish the contract first
Inspect repository truth before generating or editing files:
- Locate the source image/model, runtime loader, skeleton conventions, action API, equipment system, collision system, catalog schema, review routes, budgets, and tests.
- Classify the actor as
characterormonster. - Classify delivery as
catalog-only,review-only, orruntime. Do not call an asset implemented until gameplay loads it. - Preserve immutable source artifacts separately from optimized runtime files.
- Decide target formats before using a credit-bearing generator.
Copy the matching template from assets/, fill it in, and keep it beside the implementation or in the project’s asset metadata location:
character-asset-manifest.template.jsonmonster-asset-manifest.template.json
Run scripts/validate_asset_manifest.py <manifest> before building. Re-run with --root <repo> for shipped-file checks and --require-verified only after every acceptance check has actually passed.
Read references/requirements.md before creating the model, rig, actions, equipment, sockets, or collision data. Read references/catalog-and-testing.md when adding the catalog card, inspector, moveset route, telemetry, or release tests.
Build the common actor package
- Preserve the source.
- Record reference images, source tasks, imported files, licenses, generator/model, and material provenance.
- Never overwrite the high-detail source with the runtime optimization.
- Produce the main model.
- Normalize scale, Y-up, forward axis, pivot, ground contact, materials, textures, and triangle budget.
- Ground from feet or authored contact sockets, never a weapon tip, cloth tail, shadow, or VFX.
- Remove isolated triangles, non-manifold fragments, duplicate surfaces, hidden generator debris, and unused nodes.
- Build one stable rig.
- Name root, hips/center mass, head, limbs, feet, and attachment sockets explicitly.
- Keep at most four normalized skin influences per vertex unless the engine contract says otherwise.
- Preserve a deterministic bind pose, finite transforms, positive usable scale, and compatible skeleton identity across every clip.
- Build the action library.
- Give every clip a stable
id, semanticrole, loop policy, root-motion policy, duration, contact events, and source. - Prefer animation-only GLBs for separate clips. They must not smuggle duplicate meshes, materials, or textures.
- Make non-looping actions restartable and return to the intended locomotion/idle state.
- Give every clip a stable
- Build runtime integration.
- Use one asset-specific loader/factory with disposal for geometry, materials, textures, mixers, events, observers, renderers, and animation frames.
- Publish source, model, rig, socket, action, equipment, collider, triangle, material, and status metadata.
- Keep a truthful rollback path when replacing a shipped runtime asset.
Apply the character profile
Treat the main model as the persistent body/base layer. Do not fuse swappable equipment into it.
- Declare every canonical slot: headgear, vestment, gloves, leggings, boots, main hand, offhand, and back/ranged.
- Mark unsupported slots explicitly instead of silently omitting them.
- Store supported swords, shields, bows, helmets, armor, and accessories as separate assets or independently addressable roots.
- Bind equipment to named sockets. Declare active and stowed sockets when an item changes state.
- Toggling a slot off must leave no floating trim, grip, one-triangle shards, duplicate baked weapon, or incidental gameplay prop.
- When the source contains no body beneath occluded equipment, create a fitted rig-following underlayer and record that limitation. Do not invent invisible anatomy claims.
- Require the character action roles
idle,walk,run,primary-attack,hit,dodge, anddeath. Add block/ward, charged attack, cast, bow aim/shoot, jump, interaction, or class actions when gameplay exposes them. - Keep equipment visibility independent from action selection unless the action deliberately changes active/stowed state.
Apply the monster profile
Treat a monster as one authored combat actor, not a player wardrobe.
- Do not require wearable slots. Separate only weapons, breakable parts, dropped parts, projec
常见问题
它使用哪些文件类型?
技能提到 FBX 和 GLB 3D 文件。它会把原始文件与为游戏制作的较小文件分开保存。
文件做好了,素材就算完成了吗?
不算。技能说明,只有在游戏加载了素材并且所有检查都通过之后,素材才算就绪。
我需要特殊的模板吗?
技能包含角色和怪物的清单模板,智能体会复制它们并填写内容。
详情
作者的原始描述
Create, integrate, or audit production-ready rigged 3D characters and monsters with a main model, skeleton, animation library, sockets, collision contracts, separate character equipment, optimized runtime files, catalog media, and an interactive moveset inspector. Use when generating or importing FBX/GLB game actors; defining character-versus-monster asset requirements; separating swords, shields, helmets, armor, or stowed gear; adding idle, walk, run, attack, hit, dodge, block, cast, or death clips; wiring an asset into gameplay; or adding action and equipment controls plus deterministic test
repo: MengTo/Skills
热度
- GitHub 星标
- 7.2k
- 排名
- #13361
- 许可证
- MIT
- 更新时间
- 2026/11/1
评论
- …
同一仓库的更多技能
3d-cloth-material
7.2k帮你的智能体在 Three.js 中制作逼真的编织织物,包括纱线编织纹理、柔和光泽、自然褶皱、下摆和缝线。
3d-falling-leaves
7.2k帮你的智能体在 3D 场景中添加逼真的飘落树叶,树叶会翻滚、随风飘动,并在镜头移动时循环利用。
3d-four-seasons
7.2k帮你的智能体为 3D 场景添加春夏秋冬四季效果,无需重建场景即可改变植被、光线、天空和积雪。
3d-high-poly-models
7.2k帮你的智能体构建形状平滑、边缘可信的精细 3D 模型,然后制作在网页上运行流畅的轻量版本。