Agent Skills
› Besty0728/Unity-Skills
› unity-scene-contracts
unity-scene-contracts
GitHub为Unity场景装配提供契约建议,明确根对象、组件、Inspector绑定及启动流程,替代隐式运行时查找,确保依赖显式化与可验证性。
Trigger Scenarios
界定场景必备对象
规划启动/装配
记录场景依赖
Install
npx skills add Besty0728/Unity-Skills --skill unity-scene-contracts -g -y
SKILL.md
Frontmatter
{
"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.
Version History
-
25d511e
Current 2026-08-13 09:15
优化描述长度并移入触发说明,正文无实质变更。
- ec9f870 2026-07-05 14:40


