code-standards

Enforce C# coding standards for Unity projects, including naming, formatting, and PR rules.

23|17|Updated Apr 16, 2023
One-click install
npx skills add https://github.com/decentraland/unity-explorer --skill code-standards-decentraland
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-standards
Source: https://github.com/decentraland/unity-explorer/tree/main/.claude/skills/code-standards
Command: npx skills add https://github.com/decentraland/unity-explorer --skill code-standards-decentraland

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill ensures consistency and quality in C# code by enforcing naming conventions, member ordering, formatting rules, memory management best practices, and standardized testing and PR procedures.

Core Features & Use Cases

  • Code Consistency: Maintains uniform code style across the project.
  • Performance Optimization: Guides developers on memory and GC best practices.
  • Developer Workflow: Standardizes Git branching, commit messages, and Pull Request processes.
  • Use Case: When writing new C# systems or reviewing code, consult this Skill to ensure adherence to project-wide standards for maintainability and performance.

Quick Start

Review the C# code against the established naming conventions and member ordering rules.

Frequently Asked Questions about code-standards

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

FAQPage Schema
How do I enforce C# coding standards in a Unity project?

You enforce C# coding standards by reviewing code against naming conventions, member ordering, and formatting rules. This Skill standardizes Unity project quality by applying rules to ECS systems, controllers, tests, and utilities.

What C# memory and GC best practices should I follow for Unity development?

Follow memory and GC best practices by consulting this Skill's rules for reducing garbage collection overhead. It provides performance optimization guidance specifically for maintaining C# systems within a Unity project environment.

How do I standardize Git branching and pull request procedures for a C# team?

You standardize Git branching and PR procedures by applying this Skill's workflow guidelines for commit messages and pull requests. It enforces uniform developer processes to maintain code quality during reviews.

Does this coding standards Skill apply to Unity ECS systems and plugin development?

Yes, this Skill directly applies to Unity ECS systems and plugin development. It enforces specific C# naming conventions, member ordering, and test patterns across controllers, utilities, and plugins to ensure quality.

What are the limitations of using predefined C# coding conventions for code review?

A limitation of predefined C# coding conventions is the strict adherence required to documentation and workflow guidelines. This Skill is tailored specifically to Unity ECS systems and plugins, limiting its applicability outside that environment.