unity-debug
Installation
SKILL.md
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
- Diagnosing compile failures
- Checking errors after a change
- Forcing recompilation
- Gathering system diagnostics
- 诊断编译失败、改动后检查报错、强制重编、收集系统诊断
Debug Skills
Debug utilities for error checking and diagnostics.
Operating Mode
- Approval: 只读类 skill(
unity_diagnose/debug_get_errors/debug_get_logs/debug_check_compilation/debug_get_system_info/debug_get_stack_trace/debug_get_assembly_info/debug_get_defines/debug_get_memory_info,全部标SkillMode.SemiAuto)直接执行;debug_force_recompile/debug_set_defines默认SkillMode.FullAuto,需用户 grant,grant 后一步执行返结果。 - Auto / Bypass: 直接执行。
- 本模块含 Reload 类高危 skill:
debug_force_recompile(标MayTriggerReload=true)必然触发 Domain Reload;debug_set_defines修改PlayerSettings的 scripting defines 也会触发重编译 —— 这些 skill 在 Approval / Auto 下会被IsForbiddenInSemi自动拦截,仅 Bypass 或 Allowlist 命中可执行,调用后服务端会短暂不可用。