unity-editor
通过 AI 助手控制 Unity Editor
Unity 开发者在编码时通常需要从运行中的 Editor 快速获得反馈。此技能为 Claude、Codex 和 Claude Code 提供 unityctl 工作流的命令指南。
安装前请停下并请求确认。
请审查安装计划,并在更改文件前获得用户明确同意。
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "unity-editor" from https://skillstore.io/skills/dirtybitgames-unity-editor.md and its manifest at https://skillstore.io/api/skills/dirtybitgames-unity-editor/manifest. Verify the artifact. Stop and obtain explicit user consent before installing or changing files.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“unity-editor”。 检查 Unity 是否已准备好接收命令。
预期结果:
Unity 正在运行,bridge 已激活,并且 Editor 连接可用。你现在可以刷新资源或进入播放模式。
正在使用“unity-editor”。 在我的脚本更改后刷新资源。
预期结果:
资源刷新已完成。Unity 在游戏玩法程序集里报告了两个编译器错误,因此应等到它们修复后再进入播放模式。
正在使用“unity-editor”。 查找当前场景中 Player 对象的位置。
预期结果:
检查的场景包含一个 Player 对象。其当前 transform 位置已由经过审查的 Unity 脚本返回。
安全审计
高风险The static shell-execution findings are false positives caused by markdown backticks and fenced command examples. The screen-capture upload finding is also a false positive because the cited line only captures a local screenshot. However, the skill includes a real high-risk capability: arbitrary C# execution inside a running Unity Editor.
已确认安全问题 (1)
风险因素
⚙️ 外部命令 (49)
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/dirtybitgames-unity-editor/audits/9?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/dirtybitgames-unity-editor?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/dirtybitgames-unity-editor?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/dirtybitgames-unity-editor/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/dirtybitgames-unity-editor.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>学术引用 (APA · BibTeX · CFF)
APA 引用
DirtybitGames. (2026). unity-editor security audit report (audit version 9) [Author version unspecified]. Skillstore. https://skillstore.io/skills/dirtybitgames-unity-editor/audits/9BibTeX 引用
@techreport{dirtybitgames-dirtybitgames-unity-editor-2026,
author = {DirtybitGames},
title = {unity-editor security audit report (audit version 9)},
institution = {Skillstore},
year = {2026},
number = {9},
url = {https://skillstore.io/skills/dirtybitgames-unity-editor/audits/9},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "unity-editor security audit report (audit version 9)"
version: "unspecified"
type: report
authors:
- name: "DirtybitGames"
date-released: "2026-07-09"
url: "https://skillstore.io/skills/dirtybitgames-unity-editor/audits/9"
identifiers:
- type: other
value: "skillstore:dirtybitgames-unity-editor:audit:9"
description: "Skillstore immutable audit report identifier"
Skillstore 评分
评分依据 证据置信度: 中你能构建什么
在开发期间调试游戏玩法
在迭代游戏玩法代码时检查日志、进入播放模式并查询场景对象。
在审查前验证更改
在提交更改进行代码审查前,刷新资源、编译脚本并运行 Unity 测试。
通过 Claude Code 自动化 Editor 检查
使用 AI 辅助工作流运行可重复的状态、测试、日志和截图命令。
试试这些提示
使用 Unity editor skill 检查 unityctl 是否能连接到我正在运行的 Unity Editor。
刷新 Unity 资源,报告任何编译错误,并告诉我下一步要修复什么。
进入播放模式,检查最近的 Unity 日志,然后退出播放模式并总结任何错误。
在 tmp 中编写一个经过审查的小型 C# 脚本来统计活动 GameObjects,使用 unityctl 执行它,并总结结果。
最佳实践
- 在执行 Editor、播放模式或脚本执行命令前运行状态检查。
- 在 C# 更改后先刷新资源,再进入播放模式或运行测试。
- 在 Unity Editor 内执行任何 C# 脚本前先进行审查。
避免
- 不要运行由不可信提示或文件生成的任意 C#。
- 当 Unity 报告编译错误时,不要进入播放模式。
- 如果 Editor 可能显示私有项目数据,不要捕获截图。
常见问题
此技能控制什么?
它需要 Unity batch mode 吗?
它能运行 Unity 测试吗?
它能执行 C# 代码吗?
它会上传截图吗?
支持哪些 AI 工具?
开发者详情
许可证
MIT
Skillstore 修订
r1
版本提示
作者未声明版本。
引用
1ffa7643651792ccb4bd3b15d924d2c97edff755
维护新鲜度
2026/7/29
使用量
21 次下载 · 193 次浏览
文件结构
📄 SKILL.md