一键导入
code-review
Performs architectural and quality code review on Unity C# files. Checks coding standards, SOLID, Unity best practices, and performance.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Performs architectural and quality code review on Unity C# files. Checks coding standards, SOLID, Unity best practices, and performance.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Rapid prototyping workflow for Unity. Quickly validates a mechanic or concept with throwaway code and a structured report.
Load a saved plan from ProjectSettings/GameDeck/plans/ and execute it step-by-step.
Save a plan to ProjectSettings/GameDeck/plans/ — captures the most recent plan from this conversation, or a plan you provide directly.
Plan a feature implementation with tasks, architecture, and file list.
Generate a complete Unity system — MonoBehaviour + ScriptableObject config from structured input.
Analyze and refactor a file or system with before/after comparison.
| name | code-review |
| description | Performs architectural and quality code review on Unity C# files. Checks coding standards, SOLID, Unity best practices, and performance. |
| argument-hint | [path-to-file-or-directory] |
| user-invocable | true |
| allowed-tools | Read, Glob, Grep, Bash |
When this skill is invoked:
Read the target file(s) in full.
Read CLAUDE.md for project coding standards.
Identify the system category (Tools, Resources, Prompts, ChatUI, Runtime, Agent SDK Server) and apply category-specific standards.
Evaluate against coding standards:
GameDeck.Editor.* pattern[McpToolType] and [McpTool] attributes[Description]MainThreadDispatcher.Execute()System.Linq — manual for loops alwayscatch must log or return ToolResponse.Error()"Assets/"TryParse instead of Parse for user input — never let FormatException propagatefloat.TryParse uses CultureInfo.InvariantCultureCheck Unity-specific issues:
Find(), FindObjectOfType(), SendMessage() in production codeGetComponent<>() in Update()[SerializeField] private instead of public fieldsCheck architecture:
Output the review:
## Code Review: [File/System Name]
### Standards Compliance: [X/7 passing]
[List failures with line references]
### Unity Best Practices: [CLEAN / ISSUES FOUND]
[List specific concerns]
### Architecture: [CLEAN / ISSUES FOUND]
[List specific violations]
### Positive Observations
[What is done well]
### Required Changes
[Must-fix items]
### Suggestions
[Nice-to-have improvements]
### Verdict: [APPROVED / APPROVED WITH SUGGESTIONS / CHANGES REQUIRED]