hatayama

uloop-compile

@hatayama/uloop-compile
hatayama
113
10 forks
Updated 1/18/2026
View on GitHub

Compile Unity project via uloop CLI. Use when you need to: (1) Verify C# code compiles successfully after editing scripts, (2) Check for compile errors or warnings, (3) Validate script changes before running tests.

Installation

$skills install @hatayama/uloop-compile
Claude Code
Cursor
Copilot
Codex
Antigravity

Details

Path.claude/skills/uloop-compile/SKILL.md
Branchmain
Scoped Name@hatayama/uloop-compile

Usage

After installing, this skill will be available to your AI coding assistant.

Verify installation:

skills list

Skill Instructions


name: uloop-compile description: Compile Unity project via uloop CLI. Use when you need to: (1) Verify C# code compiles successfully after editing scripts, (2) Check for compile errors or warnings, (3) Validate script changes before running tests.

uloop compile

Execute Unity project compilation.

Usage

uloop compile [--force-recompile]

Parameters

ParameterTypeDescription
--force-recompilebooleanForce full recompilation (triggers Domain Reload)

Examples

# Check compilation
uloop compile

# Force full recompilation
uloop compile --force-recompile

Output

Returns JSON:

  • Success: boolean
  • ErrorCount: number
  • WarningCount: number

Troubleshooting

If CLI hangs or shows "Unity is busy" errors after compilation, stale lock files may be preventing connection. Run the following to clean them up:

uloop fix

This removes any leftover lock files (compiling.lock, domainreload.lock, serverstarting.lock) from the Unity project's Temp directory.