ai-code-reviewer

Scan Unity C# scripts for SOLID violations, GC allocation, and architectural issues.

71|11|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/nlelouche/Unity-SkillForge --skill ai-code-reviewer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ai-code-reviewer
Source: https://github.com/nlelouche/Unity-SkillForge/tree/main/.agent/skills/07-tools-pipeline/ai-code-reviewer
Command: npx skills add https://github.com/nlelouche/Unity-SkillForge --skill ai-code-reviewer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the initial code review process for Unity C# scripts, catching common errors and anti-patterns before human review, saving valuable developer time.

Core Features & Use Cases

  • Automated Code Analysis: Scans C# scripts for violations of SOLID principles, GC allocation issues, and architectural smells.
  • Structured Reporting: Generates a clear report categorizing findings into CRITICAL, WARNING, and INFO.
  • Use Case: Before committing a new feature, run this Skill on your scripts to ensure they adhere to project standards and avoid common Unity pitfalls, reducing the burden on senior reviewers.

Quick Start

Review the C# script located at Assets/Scripts/PlayerController.cs for quality issues.

Frequently Asked Questions about ai-code-reviewer

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

FAQPage Schema
How do I automate C# code review for Unity scripts?

Automated C# code review for Unity scripts is performed by scanning files against predefined checklists to identify SOLID violations, GC allocation anti-patterns, and architectural smells. It generates a structured report categorizing findings into critical, warning, and informational issues.

What issues does an automated Unity C# code analysis catch?

Automated Unity C# code analysis catches SOLID principle violations, garbage collection allocation anti-patterns, and architectural smells. It scans scripts to catch common errors and anti-patterns before human review, reducing the burden on senior reviewers.

Do I need Unity MCP tools to run a C# code quality check?

Yes, you need Unity MCP tools to run this C# code quality check. The Skill requires Unity MCP tools specifically for file analysis and validation to perform its agentic code reviews on your scripts.

How do I check my Unity project for GC allocation anti-patterns?

To check your Unity project for GC allocation anti-patterns, run an agentic code review on your C# scripts. The review scans against predefined checklists to detect these specific memory issues and reports them as critical or warning findings.

Can I use this to find SOLID principle violations in C# scripts?

Yes, you can use this to find SOLID principle violations in C# scripts. The automated code review analyzes your Unity scripts specifically for SOLID violations, categorizing them into a structured report of critical, warning, and informational issues.

What is the best way to ensure Unity code adheres to project standards before commit?

The best way to ensure Unity code adheres to project standards before commit is running an automated agentic code review. It scans C# scripts against predefined checklists for critical issues and architectural smells, generating a structured report to catch errors early.