mcpField
U
unity-scene-contracts

unity-scene-contracts

github.com/besty0728Development1.9k81 installsUpdated today
Repository

About unity-scene-contracts

A documentation skill for making Unity scene setup explicit. It helps teams define scene objects, wiring, bootstrap behavior, and early validation instead of relying on hidden runtime lookups.

Key features

  1. 01Required scene objects and components
  2. 02Inspector reference assignments
  3. 03Bootstrap and runtime-spawned objects
  4. 04Early validation assumptions
  5. 05Hidden dependency risk review

Use cases

  1. 01Planning a scene bootstrap sequence
  2. 02Documenting dependencies between scene objects
  3. 03Checking assumptions before runtime

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/besty0728/unity-skills --skill unity-scene-contracts

After installing, type/unity-scene-contractsin Claude Code to confirm it loaded.

Details

From the project README

Before calling any skill in this module: if you are about to call a skill with parameters guessed from its name or description, STOP — read this file (or fetch its schema via GET /skills/recommend?includeSchema=true) first. If you already have the parameter definitions from recommend/schema, you may proceed straight to dryRun.

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.

Comments

Markdown supported