← 返回 Skill 列表
extension
分类: 开发与工程API Key 暂未确认

unity-scene-contracts

用于Unity的场景组合契约顾问。当用户想要定义所需的场景对象、组件依赖、启动场景对象、引用连线和验证规则,以使场景保持明确且可维护时使用。触发词:场景契约, 场景装配, 必要引用, 场景连线, 安装器对象, 启动场景。

person作者: jakexiaohubgithub

Triggers

  • Defining required scene objects
  • Planning bootstrap/wiring
  • Documenting scene dependencies
  • 界定场景必备对象、规划启动/装配、记录场景依赖

Unity Scene Contracts

Use this skill when scene setup needs to be explicit instead of relying on hidden runtime lookups.

Define

  • Required root objects
  • Required components on each root
  • Which references are assigned in Inspector
  • Which objects act as bootstrap/installers
  • Which objects are runtime-spawned
  • Which assumptions should be validated early

Output Format

  • Scene object contract
  • Bootstrap sequence
  • Inspector wiring rules
  • Validation rules
  • Hidden dependency risks

Guardrails

Mode: Documentation only — no REST skills to gate; load freely under any operating mode (Approval / Auto / Bypass).

  • Prefer explicit scene wiring over chains of runtime Find.
  • Keep bootstrap objects small and focused.