Skip to content
Back to skills

Code Standards

ASecurity

Unity C# coding standards, write-time performance rules and code review. Use whenever writing, editing or refactoring Unity C# scripts (MonoBehaviours, gameplay systems, UI, managers), even if the user doesn't mention performance or standards, so code is written fast and allocation-free from the start. Also use when the user mentions coding standards or conventions, writing code to spec, defining standards for a project, cohesion and coupling, design pattern selection, or naming conventions, ...

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 4, 2026
developmentgoc#refactoringcode-reviewperformance

Security analysis

A100/100

Scanned December 4, 2026

npx -y skills add MomSesImSpcl/Unity-Performance --skill code-standards --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Code Standards?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Code Standards
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/momsesimspcl-code-standards/badge)](https://www.skillsdirectory.com/skills/momsesimspcl-code-standards)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: code-standards
description: Unity C# coding standards, write-time performance rules and code review. Use whenever writing, editing or refactoring Unity C# scripts (MonoBehaviours, gameplay systems, UI, managers), even if the user doesn't mention performance or standards, so code is written fast and allocation-free from the start. Also use when the user mentions coding standards or conventions, writing code to spec, defining standards for a project, cohesion and coupling, design pattern selection, or naming conventions, or wants a code review on the design and standards dimension. A review aimed at speed, frame rate or memory belongs to unity-performance.
---

# code-standards

Knowledge lives in small topic files behind a two-level index. Read [the knowledge index](../../knowledge/INDEX.md), open only the matching category index, then only the matching topics. Do not bulk-load folders or sibling skills. Topics contain binding rules, not optional background; loading less must not omit an applicable requirement.

## Choose the task

- **Writing or editing Unity C# code:** apply the [core write rules](../../rules/unity-csharp-core.md) from the start rather than fixing the code afterwards. Open [csharp-rules](../../knowledge/csharp-rules/INDEX.md) topics for the full wording, and [algorithms](../../knowledge/algorithms/INDEX.md) or [design](../../knowledge/design/INDEX.md) topics only when the code needs that depth (collection choice, pattern choice, naming detail, reuse). When the code touches a specific area (ScriptableObjects, serialization, scenes, networking, UI, animation, physics, rendering, VFX, 2D, assets, a target platform), open only that area's category from the [knowledge index](../../knowledge/INDEX.md). Writing tasks do not load the review protocol.
- **Focused convention or design question:** read only the matching [design](../../knowledge/design/INDEX.md) or [csharp-rules](../../knowledge/csharp-rules/INDEX.md) topic. State that these are plugin defaults; project conventions take precedence.
- **Code review on the design and standards dimension, or defining standards:** follow the [code review](../../knowledge/workflows/code-review.md) or [defining standards](../../knowledge/workflows/define-standards.md) workflow.
- **Other languages:** primary scope is C#/Unity. Use the optional [other-languages](../../knowledge/other-languages/INDEX.md) rules only when writing or explicitly reviewing that language.

Conceptual answers do not constitute project findings or acceptance. Do not initiate a project review for a conceptual question. Once making project-specific findings, proposing code changes or claiming a path is clean, apply the full relevant evidence, validation and reporting rules of the matching workflow.

For performance localization, the Profiler workflow and engine-layer optimization use unity-performance; for the limits of C# micro-optimization (SIMD, unsafe, memory layout) see the [optimization ladder](../../knowledge/compiler-runtime/optimization-ladder.md); for dedicated zero-GC remediation use csharp-zero-gc.

Related skills: unity-performance covers bottlenecks and engine optimization; csharp-zero-gc covers system allocation commitments and regression guards; code-standards covers conventions, design and orchestrated reviews; unity-authoring covers content and editor how-to. Load a sibling only when that distinct workflow is needed.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.