AI Bridge Unity Skill
Invocation
Run from Unity project root. $CLI is the platform AIBridge CLI; on Windows PowerShell prefer:
& "./.aibridge/cli/AIBridgeCLI.exe" <command> [action] [options]
Common options: --timeout, --raw, --pretty, --json, --stdin, --help, --on-dialog. Installed command references live under references/ after Skill install
Harness Snapshot
Project-side capabilities are in Root Rule / workflow rules. $CLI harness status is optional diagnosis only — not enablement/freshness preflight
Operating Rules
- Unity validation:
compile unity.compile dotnetis an extra check, not a Unity fallback - Imported asset path discovery:
asset search/find --format pathswhen Editor is available - Edit order:
inspector set_property/set_properties→aibridge-prefab-patch→ Editor scripts →unity-yaml-editingonly for unsupported YAML structure - Prefab asset edits:
assetPath + objectPath + componentName/componentIndex;componentInstanceIdis scene-only focusWindows-only;dialogCLI-only;inputneeds Play Mode + EventSystemruntime: quicklist_targetsfirst;--probe trueonly for port scan; UI start withruntime.ui.snapshot- Code Index: only when Root Rule declares enabled — load
aibridge-code-indexfor declaration-name lookup - Do not proactively clean
.aibridgecache unless the user asks for maintenance