et-unitybridge
UnityBridge workflow for AI operations in Unity Editor. Use when checking UnityBridge connectivity, Unity compile or PlayMode state, running deferred UnityBridge commands, operating assets/scenes/GameObjects/Inspector/Prefabs/GameView/screenshots, running Editor tests, or troubleshooting UnityBridge responses.
npx skills add FlameskyDexive/Legends-Of-Heroes --skill et-unitybridge --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# et-unitybridge - UnityBridge / AI 操作 Unity 入口 ## 何时使用 - 查询 UnityBridge 宿主是否在线、Unity 是否正在编译、PlayMode 状态、CodeMode、Unity 版本。 - 让 AI 操作 Unity Editor:资源、场景、选择集、GameObject、Transform、Inspector、Prefab、菜单、截图、GameView、Editor 测试。 - 执行 `Compile` / `Refresh` / `RegenProject` / `EnterPlay` / `ExitPlay` / `Reload` 等会跨 Unity 状态变化的命令。 - 排查 UnityBridge 返回的 `Error` / `Message`。 ## 不要加载 - 只是普通 C# 编译(用 `et-build`) - 只是读写 Excel 或导出 Luban - 只是纯代码结构分析,不需要 Unity 编辑器参与 - 只是要解释命令协议,不实际操作 Unity 时,优先只读 proto 或 handler,不启动 UnityBridge。 ## 默认动作 1. CLI 入口为 `dotnet ./Bin/ET.UnityBridge.dll`。 2. 操作前先发 `Ping`;只有需要命令列表或详细状态时再查 `HostState`。 3. `Compile`、`Refresh`、`RegenProject`、`EnterPlay`、`ExitPlay`、`AssetImportRequest`、`AssetRefreshRequest` 等 deferred 命令必须等待最终响应。 4. `Reload` 要求 Unity 已进入 PlayMode;`EnterPlay` 前确认 Unity 未编译且未切换 PlayMode。 5. 如果 `Bin/ET.UnityBridge.dll` 尚不存在,先用 `et-build` 编译确认工具是否生成。 6. 如果桥接宿主不可用,先检查 Unity 是否已打开项目、心跳文件是否存在、桥接根目录是否一致。 ## 省 Token 规则 - 不要完整读取所有 UnityBridge proto、handler 或 `AvailableCommands`。 - 先用 `HostState` 或 `rg` 发现命令名,再只打开相关 proto 小片段和对应 handler。 - 先执行最小读命令确认目标,再做写操作;批量操作前先验证 1 个样本。 - 不要把完整 JSON 响应贴给用户;只总结 `Error`、`Message` 和关键字段。 - 优先 UnityBridge 命令,不要用 GUI 点击 Unity Editor,除非命令缺失或用户
- 何时使用
- 不要加载
- 默认动作
- 省 Token 规则
- 最小流程
- 按需补读
What does the et-unitybridge skill do?
UnityBridge workflow for AI operations in Unity Editor. Use when checking UnityBridge connectivity, Unity compile or PlayMode state, running deferred UnityBridge commands, operating assets/scenes/GameObjects/Inspector/Prefabs/GameView/screenshots, running Editor tests, or troubleshooting UnityBridge responses.
How do I install it?
Run `npx skills add FlameskyDexive/Legends-Of-Heroes --skill et-unitybridge --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From FlameskyDexive/Legends-Of-Heroes, a repository with 908 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
