返回 Skill 列表
extension
分类: 开发与工程无需 API Key

unity-scene-contracts

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

person作者: jakexiaohubgithub

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: Both (Semi-Auto + Full-Auto) — advisory only, no REST skills

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