Tooluck logoTooluck
SKILL.md

unity-debug

Agent skill fromBesty0728/Unity-Skills

Inspect debug, diagnostics and compile state

How to install unity-debug

install unity-debug
# install the Unity-Skills pack with the skills CLI
npx skills add Besty0728/Unity-Skills

# or add only this skill to Claude Code: copy the folder

SkillsForUnity/unity-skills~/skills/debug/

# into

~/.claude/skills/debug/ (all projects)

.claude/skills/debug/ (one project)

SkillsForUnity/unity-skills~/skills/debug/SKILL.md

MITFull file
1> **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.
2
3## Triggers
4- Diagnosing compile failures
5- Checking errors after a change
6- Forcing recompilation
7- Gathering system diagnostics
8- 诊断编译失败、改动后检查报错、强制重编、收集系统诊断
9
10# Debug Skills
11
12Debug utilities for error checking and diagnostics.
13
14## Operating Mode
15
16- **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 后一步执行返结果。
17- **Auto / Bypass**: 直接执行。
18- **本模块含 Reload 类高危 skill**:`debug_force_recompile`(标 `MayTriggerReload=true`)必然触发 Domain Reload;`debug_set_defines` 修改 `PlayerSettings` 的 scripting defines 也会触发重编译 —— 这些 skill 在 Approval / Auto 下会被 `IsForbiddenInSemi` 自动拦截,**仅 Bypass 或 Allowlist 命中可执行**,调用后服务端会短暂不可用。
19
20**DO NOT** (common hallucinations):
21- `debug_compile` / `debug_recompile` do not exist → use `debug_force_recompile`
22- `debug_run` does not exist → use `editor_play` (editor module)
23- `debug_clear` does not exist → use `console_clear` (console module)
24…

Excerpt shown under the repository's MIT license.

More skills in Unity-Skills

Keep exploring

Similar skill repositories

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates