Performs an architectural and quality code review on a specified Unity C# file or set of files. Checks for coding standard compliance, Unity best practices, SOLID principles, testability, and performance concerns.
When this skill is invoked:
Read the target file(s) in full.
Read .claude/docs/coding-standards.md for project coding standards.
Identify the system category (engine, gameplay, AI, networking, UI, tools)
and apply category-specific rules from .claude/rules/.
Evaluate against coding standards:
[SerializeField] private used instead of public for inspector fieldsGetComponent<T>() in Update() — all cached in Awake()Find(), FindObjectOfType(), SendMessage() in production codeOnEnableOnDisableCheck Unity best practices:
NonAlloc physics APIs used where applicableUpdate() (check for string concatenation, new in loops)StopCoroutine called where neededCheck architectural compliance:
Check SOLID compliance:
Check KISS and DRY compliance:
Output the review in this format:
## Code Review: [File/System Name]
### Unity Standards: [X/7 passing]
[List any failures with line references]
### Architecture: [CLEAN / MINOR ISSUES / VIOLATIONS FOUND]
[List specific architectural concerns]
### SOLID: [COMPLIANT / ISSUES FOUND]
[List specific violations — check all 5 principles: SRP, OCP, LSP, ISP, DIP]
### KISS & DRY: [COMPLIANT / ISSUES FOUND]
[List over-engineering, unnecessary complexity, or duplicated logic]
### Performance Concerns
[List allocations, GC issues, hot path problems]
### Positive Observations
[What is done well — always include this section]
### Required Changes
[Must-fix items before approval]
### Suggestions
[Nice-to-have improvements]
### Verdict: [APPROVED / APPROVED WITH SUGGESTIONS / CHANGES REQUIRED]