unity-coder

Enforce Unity C# coding guidelines, naming conventions, and member ordering.

6|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/DmitriyYukhanov/claude-plugins --skill unity-coder
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-coder
Source: https://github.com/DmitriyYukhanov/claude-plugins/tree/main/plugins/unity-dev/skills/unity-coder
Command: npx skills add https://github.com/DmitriyYukhanov/claude-plugins --skill unity-coder

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill ensures your Unity C# code adheres to industry best practices, Unity-specific conventions, and performance guidelines, leading to more maintainable and robust game development.

Core Features & Use Cases

  • Coding Standards: Enforces Microsoft C# naming conventions and member sorting.
  • Unity Best Practices: Guides on component usage, Inspector attributes, and editor code.
  • Performance & Safety: Provides recommendations on async patterns, error handling, and avoiding common pitfalls.
  • Use Case: When implementing a new player controller script, use this Skill to ensure it follows all Unity lifecycle method ordering, uses appropriate SerializeField attributes, and adheres to naming conventions for clarity and consistency.

Quick Start

Use the unity-coder skill to refactor the provided C# code snippet to follow Unity best practices.

Frequently Asked Questions about unity-coder

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

FAQPage Schema
What are the Unity C# coding guidelines for member ordering and naming conventions?

Unity C# coding guidelines require strict application of Microsoft naming conventions, member sorting rules, and component usage patterns to improve code quality and maintainability across game projects.

How do I refactor a Unity C# script to follow best practices for performance?

Refactor Unity C# scripts by enforcing component usage patterns, applying appropriate `SerializeField` attributes, and following recommended async patterns and error handling guidelines to optimize performance.

Does this Unity coding standard support editor code and Inspector attributes?

Yes, Unity coding standards apply to editor code and Inspector attributes, providing specific guidelines for component usage, editor scripting, and serialization to ensure robust game development.

What is the best way to structure a Unity player controller script for maintainability?

The best way to structure a Unity player controller script is by enforcing Unity lifecycle method ordering, using `SerializeField` attributes, and adhering to established C# naming conventions for clarity.

Why does my Unity C# code fail to meet performance and safety best practices?

Unity C# code often fails performance and safety standards by ignoring common pitfalls in async patterns, error handling, and component usage, which established coding guidelines aim to prevent.

Can I use these C# coding guidelines for non-Unity game projects?

These coding guidelines are tailored for Unity-specific API usage, component lifecycle, and editor code, meaning they are not optimized for non-Unity C# game projects.