AgentSkillsCN

compose

通过组合现有资源——模型、特效、脚本与组件——打造一个经过配置的预制件,构建全新的复合GameObject。

SKILL.md
--- frontmatter
name: compose
description: Create a new composite GameObject by combining existing assets — models, VFX, scripts, and components — into a configured prefab.
allowed-tools: Bash, Read, Write, Edit, Glob, Grep
argument-hint: <composite description, e.g. "treasure goblin with sparkle VFX and loot bag">

Compose a new game entity from existing assets: $ARGUMENTS

Process

  1. Parse the description — identify the base model, VFX needs, scripts, and behavioral components
  2. Search asset database for each component:
    • Models: Search by keyword, try Synty naming patterns (SM_Chr_, SM_Prop_, SM_Env_*)
    • VFX: Search for particle systems, visual effects (FX_, VFX_)
    • Audio: Search for relevant sound effects (SFX_*)
  3. Design the composite:
    • Root GameObject with descriptive name
    • Model as child (with proper scale and pivot)
    • VFX attached at logical points (hands, feet, center)
    • Colliders sized to model bounds
    • Required scripts generated or referenced
  4. Build via MCP:
    • Create root GameObject
    • Instantiate model as child
    • Add VFX components
    • Add colliders and triggers
    • Generate and attach behavior script
    • Configure component references
  5. Save as prefab
  6. Screenshot for visual verification
  7. Report composition details and usage instructions

Synty Asset Naming Patterns

  • Characters: SM_Chr_[Name]_[Variant]_01
  • Props: SM_Prop_[Name]_01
  • Environment: SM_Env_[Name]_01
  • Weapons: SM_Wep_[Name]_01
  • Icons: SM_Icon_[Name]_01
  • Effects: FX_[Name]
  • Materials: Mat_[Name]