unity-code-reviewer

Detect Unity C# anti-patterns and performance leaks via regex-based diagnostics.

Updated Feb 13, 2026
One-click install
npx skills add https://github.com/MuharremTozan/Ohm-Yura --skill unity-code-reviewer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-code-reviewer
Source: https://github.com/MuharremTozan/Ohm-Yura/tree/main/.agents/skills/unity-code-reviewer
Command: npx skills add https://github.com/MuharremTozan/Ohm-Yura --skill unity-code-reviewer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve?

Unity projects often accumulate inefficient patterns that degrade performance and maintainability. This Skill provides automated detection and guidance to fix Unity C# anti-patterns, memory leaks, and architecture violations.

Core Features & Use Cases

  • Regex-based diagnostics flag heavy Update loops, serialization pitfalls, and problematic event patterns.
  • Pillar-driven review protocols (Performance, Memory, Modernity, Architecture, Minimalism) to guide fixes.
  • Actionable corrections mapped to preferred methods and patterns (TryGetComponent, unity-event-bus, etc.).
  • Use Case: A mobile Unity game with tight frame rates and memory constraints can benefit from automated scans and prioritized fixes.

Quick Start

Run a scan on your Unity project to generate a prioritized report of performance and architecture issues with suggested fixes.

Frequently Asked Questions about unity-code-reviewer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find Unity C# performance leaks in my game codebase?

To find Unity C# performance leaks, scan your project to detect heavy Update loops, serialization pitfalls, and problematic event patterns. The scan generates a prioritized report using regex-based diagnostics to surface anti-patterns and memory issues.

What are common Unity C# anti-patterns that degrade mobile game performance?

Common Unity C# anti-patterns include heavy Update loops, inefficient serialization, and problematic event handling. These patterns degrade frame rates and memory usage, requiring regex-based diagnostics to identify and map corrections to preferred methods.

Can I use this to fix architecture violations in Unity projects?

Yes, you can fix architecture violations in Unity projects by running pillar-driven review protocols. These protocols evaluate Performance, Memory, Modernity, Architecture, and Minimalism to guide actionable corrections for your codebase.

How do I scan Update loops for Unity C# anti-patterns?

You scan Update loops for Unity C# anti-patterns by running a project scan that applies regex-based diagnostics. This process flags heavy loops and maps them to suggested fixes like TryGetComponent and unity-event-bus patterns.

Does this work for mobile Unity games with tight memory constraints?

It works for mobile Unity games with tight memory constraints by providing automated scans that identify memory leaks and performance issues. The resulting prioritized report offers actionable fixes mapped to preferred architectural methods.

What is the best way to fix Unity serialization pitfalls and event handling issues?

The best way to fix Unity serialization pitfalls and event handling issues is through pillar-driven review protocols. These protocols surface explicit severity levels and suggest specific methods to resolve the detected anti-patterns.