一键导入
unity-script-validator
Validates C# scripts for best practices, performance, and Unity patterns. Use when reviewing scripts or checking code quality.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Validates C# scripts for best practices, performance, and Unity patterns. Use when reviewing scripts or checking code quality.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
每 5 分钟自动审查一次当前未提交的代码变更(git diff),在当前会话期间循环执行。 会话结束或 Claude 进程被终止时循环自动失效(session-only,不写入磁盘、不跨会话残留)。 当用户说“定时审查代码 / 每5分钟审查一次 / 开始审查循环 / 停止审查循环”时激活。
Use this skill when implementing complex programming tasks that benefit from multi-agent collaboration. This skill coordinates a Master LLM (orchestrator) with specialized agents (Requirements Agent, Code Agent, Review Agent) to deliver high-quality software through a structured development workflow.
这个skill专门用于监控GitHub上的热门AI项目,获取项目的简述信息和不同时间范围的更新状态。当用户需要了解GitHub AI项目动态时使用此skill。通过智能分析项目的活跃度、星标增长、提交频率等指标,为用户提供AI领域最具潜力和活跃度的开源项目洞察。
Analyzes scenes for performance bottlenecks (draw calls, batching, textures, GameObjects). Use when optimizing scenes or investigating performance issues.
Generates production-ready C# script templates (MonoBehaviour, ScriptableObject, Editor, tests). Use when creating new scripts or setting up project structure.
Execute and analyze Unity Test Framework tests from the command line. This skill automates test execution for Unity projects by detecting the Unity Editor, configuring test parameters (EditMode/PlayMode), running tests via CLI, parsing XML results, and generating detailed failure reports. Use this when running Unity tests, validating game logic, or debugging test failures.
| name | Unity Script Validator |
| description | Validates C# scripts for best practices, performance, and Unity patterns. Use when reviewing scripts or checking code quality. |
| allowed-tools | Read, Grep, Glob |
Validates Unity C# scripts against best practices and performance patterns specific to Unity game development.
[SerializeField] private instead of public fields<summary> tags on public methodsProvides: Issues found, specific fixes, performance impact estimates, refactored code examples.
Applies to Unity 2019.4 LTS and later (including Unity 6).
See patterns.md and examples.md for detailed optimization techniques.
Use this Skill when: Quick validation of existing Unity scripts for best practices and common issues
Use @unity-scripter agent when: Writing new code or implementing Unity features from scratch
Use @unity-refactor agent when: Improving code quality, applying design patterns, or modernizing legacy code
Use @unity-performance agent when: Deep performance profiling, memory optimization, or platform-specific tuning
Use /unity:new-script command when: Creating new scripts from production-ready templates