By jinda-li
Unity C# code review standards shared across projects, referenced rather than vendored into each repo.
npx claudepluginhub jinda-li/code-review-unityReview Unity C# against the official Unity 6 style guide.
Claude Code skill for reviewing Unity C# code against Unity's Official C# Style Guide (Unity 6 Edition).
git diff, or a GitHub PR by URL.GetComponent in Update, CompareTag, non-alloc physics, pooling).SendMessage, Invoke, FindObjectOfType in hot paths).npx code-review-unity
npx skills add https://github.com/jinda-li/code-review-unity --skill code-review-unity
Copy .claude/skills/code-review-unity/ to ~/.claude/skills/
/code-review-unity Assets/Scripts/PlayerController.cs
Or review git changes:
/code-review-unity
or Just ask claude code:
"Review this Unity script"
Claude will automatically invoke this skill and review your code.
## Code Review: PlayerController.cs
### Critical Issues
1. **SRP Violation - God Class** (lines 15-89)
- Handles input, movement, audio, and inventory
- Unity Style Guide: "Each MonoBehaviour should have one responsibility"
- Split into: PlayerInput, PlayerMovement, PlayerAudio, PlayerInventory
2. **GetComponent in Update** (line 34)
- Caching pattern not used - causes unnecessary overhead every frame
- Use `[SerializeField]` or cache in `Awake()`
### Style Violations
3. **Poor Variable Naming** (line 23)
- `int d` should be `int elapsedTimeInDays` - be specific about units
- `bool dead` should be `bool isDead` - booleans ask questions
MIT
7-day visitors to each marketplace page
Anthropic example skills
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
Ultra-compressed communication mode. Shortens prose while preserving technical terms, code, commands, and exact errors.