跳到正文
Skillpedia
网站与界面(前端)7.2k · #13361

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

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

可以这样问 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 character or monster.
  • Classify delivery as catalog-only, review-only, or runtime. 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.json
  • monster-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

  1. 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.
  2. 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.
  3. 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.
  4. Build the action library.
    • Give every clip a stable id, semantic role, 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.
  5. 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, and death. 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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能