Skip to content
Development
Skill

/scene-contracts

Advise on Unity scene composition contracts. 为 Unity 场景装配契约提供建议。

From plugin
unity-skills
1.6k74 skills5 commands
Install
$ npx -y skills add Besty0728/Unity-Skills --skill scene-contracts --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/scene-contracts

Context preview

The summary Claude sees to decide when to auto-load this skill.

Advise on Unity scene composition contracts. 为 Unity 场景装配契约提供建议。

SKILL.md

scene-contracts.SKILL.md
name: unity-scene-contracts
description: Advise on Unity scene composition contracts. 为 Unity 场景装配契约提供建议。

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.
Ships withunity-skills

REST API-based AI-driven Unity Editor Automation Engine Let AI control Unity scenes directly through Skills 🎉 We are now indexed by DeepWiki! Got questions? Check out the AI-generated docs → The current official maintenance baseline is Unity 2022.3+.

Get the whole plugin