unity-scene-contracts

Define explicit scene composition contracts and bootstrap wiring rules for Unity projects.

Updated Aug 31, 2026
One-click install
npx skills add https://github.com/pikachu0310/codex-agent-ops-public --skill unity-scene-contracts-pikachu0310
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-scene-contracts
Source: https://github.com/pikachu0310/codex-agent-ops-public/tree/main/.agents/skills/unity-skills/skills/scene-contracts
Command: npx skills add https://github.com/pikachu0310/codex-agent-ops-public --skill unity-scene-contracts-pikachu0310

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Unity scenes often rely on hidden runtime lookups like chains of Find calls, making dependencies implicit and fragile. This Skill makes scene setup explicit by documenting required objects, wiring, and bootstrap sequences. ## Core Features & Use Cases - Scene Object Contracts: Define required root objects, their components, and which references are assigned in the Inspector. - Bootstrap Planning: Identify bootstrap/installer objects, runtime-spawned objects, and the correct initialization sequence. - Validation Rules: Document assumptions to validate early and surface hidden dependency risks. - Use Case: When onboarding a new Unity scene, use this Skill to produce a contract listing every required object, its Inspector wiring, and the bootstrap order so the scene fails fast on missing dependencies instead of breaking silently at runtime. ## Quick Start Ask the assistant to define a scene contract for your Unity scene, listing required root objects, Inspector wiring, and the bootstrap sequence.

Frequently Asked Questions about unity-scene-contracts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I document required objects in a Unity scene?

Define a scene contract listing required root objects, the components each must have, and which references are assigned in the Inspector. This makes dependencies explicit instead of relying on runtime Find calls.

What is a bootstrap object in Unity scene setup?

A bootstrap or installer object initializes the scene by wiring dependencies and spawning runtime objects. Keep bootstrap objects small and focused, and document their initialization sequence in the scene contract.

Why avoid GameObject.Find in Unity scene wiring?

Runtime Find chains create hidden dependencies that break silently when scenes change. Explicit Inspector wiring and documented contracts make missing references fail fast and keep scene assumptions visible.

When should I use scene contracts in a Unity project?

Use them when scene setup needs to be explicit, such as multi-scene projects, team collaboration, or scenes with complex bootstrap logic. They are documentation-only guidance and load under any operating mode.