Agent Skills
› Besty0728/Unity-Skills
› unity-scene-contracts
unity-scene-contracts
GitHub为Unity场景装配提供契约建议,明确必备对象、组件依赖、启动逻辑及引用连线。适用于界定场景内容、规划启动流程或记录依赖关系,替代隐式运行时查找,确保显式配置与早期验证。
Trigger Scenarios
用户询问场景里要有什么
用户询问引用怎么连
需要定义场景必备对象和组件依赖
规划Bootstrap或启动逻辑
文档化场景依赖关系
Install
npx skills add Besty0728/Unity-Skills --skill unity-scene-contracts -g -y
SKILL.md
Frontmatter
{
"name": "unity-scene-contracts",
"description": "Advises on Unity scene composition contracts — required scene objects, component dependencies, bootstrap logic, and reference wiring. Use when defining what a scene must contain, planning bootstrap\/wiring, or documenting scene dependencies, even if the user just says \"场景里要有什么\" or \"引用怎么连\". 为 Unity 场景装配契约提供建议(场景必备对象、组件依赖、bootstrap 逻辑、引用连线);当用户要界定场景必须包含什么、规划启动\/装配、或记录场景依赖时使用。"
}
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.
Version History
- ec9f870 Current 2026-07-05 14:40


