Unity development standards — MUST be included in load_skills for all Unity task delegations. Triggers when writing, reviewing, debugging, testing, or planning Unity C# code.
Resources
1Install
npx skillscat add cuozg/oh-my-unity/unity-standards Install via the SkillsCat registry.
SKILL.md
unity-standards
Unity C# development standards — naming, formatting, lifecycle, events, DI, serialization, null-safety, async, and more.
When This Skill Triggers
- Writing or refactoring Unity C# code
- Implementing Unity features
- Working with events and signals
- Accessing or modifying game data
- Reviewing code changes or pull requests
- Setting up project architecture
Usage
Delegation rule: Always include unity-standards in load_skills when delegating any Unity task.
Load references on demand via read_skill_file("unity-standards", "references/<file>").
Reference Catalog
Code Standards (19)
code-standards/naming.md— casing, prefixes, namespace, file namingcode-standards/formatting.md— braces, spacing, line length, regionscode-standards/comments.md— XML docs, inline comments, TODO formatcode-standards/access-modifiers.md— visibility, sealed, readonly, constcode-standards/null-safety.md— null checks, TryGet, nullable patternscode-standards/serialization.md— SerializeField, field:, JsonUtility, SO datacode-standards/lifecycle.md— Awake/Start/OnEnable order, coroutine rulescode-standards/events.md— C# events, UnityEvent, SO channels, Actioncode-standards/error-handling.md— try/catch, Debug.LogException, assertionscode-standards/collections.md— List vs array, Dictionary, ReadOnlyCollectioncode-standards/async.md— UniTask, async/await, cancellation tokenscode-standards/linq.md— when to use, allocation warnings, hot path rulescode-standards/dependencies.md— DI, service locator, constructor injectioncode-standards/code-patterns.md— MonoBehaviour, SO data, interface, UnityEvent templatescode-standards/architecture-patterns.md— state machine, MVC/MVP, command patterncode-standards/multi-file-workflow.md— dependency ordering, namespace strategy, asmdef awarenesscode-standards/refactoring-patterns.md— extract class, introduce interface, decompose, migratecode-standards/unity-attributes.md— RequireComponent, Inspector, serialization, debug attributescode-standards/object-pooling.md— Unity 2021+ ObjectPool, IPoolable, generic pool, pre-2021 fallback
Review (12)
review/logic-checklist.md— correctness, edge cases, state, data flowreview/unity-lifecycle-risks.md— order-of-execution, null timing, scene loadreview/serialization-risks.md— missing fields, type changes, prefab overridesreview/performance-checklist.md— allocations, Update, physics, renderingreview/security-checklist.md— input validation, injection, data exposurereview/concurrency-checklist.md— threading, race conditions, main threadreview/architecture-checklist.md— coupling, SOLID, assembly boundariesreview/asset-checklist.md— texture, shader, animation, import settingsreview/prefab-checklist.md— missing scripts, variants, nested prefabsreview/comment-format.md— inline review comment syntax and severityreview/pr-submission.md— gh api format, comment batching, approval flowreview/parallel-review-criteria.md— subagent delegation, criteria table, prompt template, aggregation
Quality (6)
quality/grading-criteria.md— A-F scale definitions, evidence requirementsquality/architecture-audit.md— coupling, layering, assembly structurequality/performance-audit.md— profiler markers, memory, frame budgetquality/best-practices-audit.md— Unity API usage, deprecated callsquality/tech-debt-audit.md— TODO density, code duplication, complexityquality/html-report-format.md— report structure, CSS, no JavaScript
Plan (6)
plan/sizing-guide.md— XS/S/M/L/XL definitions, hour rangesplan/risk-assessment.md— risk levels, mitigation strategiesplan/task-structure.md— subject/description format, skill routingplan/investigation-workflow.md— codebase scan steps before planningplan/dependency-mapping.md— blockedBy, parallel vs sequentialplan/output-quick.md— inline report format for quick plans
Debug (3)
debug/diagnosis-workflow.md— symptom parsing, multi-angle analysisdebug/common-unity-errors.md— NRE, serialization, lifecycle, physicsdebug/log-format.md— [DBG] prefix, color tags, UNITY_EDITOR guard
Test (5)
test/edit-mode-patterns.md— [Test], Assert, mocking, setup/teardowntest/play-mode-patterns.md— [UnityTest], yield, scene loadingtest/test-case-format.md— HTML output structure, severity, coveragetest/coverage-strategy.md— what to test, boundary values, edge casestest/naming-conventions.md— MethodName_Scenario_Expected format
Other (3)
other/mermaid-syntax.md— flowchart, sequence, state, class diagramsother/flatbuffers-guide.md— schema definition, codegen, serializationother/skill-authoring.md— SKILL.md rules, ref limits, progressive disclosure
UI Toolkit (6)
ui-toolkit/setup.md— UIDocument, PanelSettings, scale modes, multi-panel, file orgui-toolkit/performance.md— pooling, visibility cost, selectors, UsageHints, profiler markersui-toolkit/uxml-patterns.md— UXML structure, templates, BEM naming, reusable snippetsui-toolkit/uss-styling.md— USS selectors, variables, responsive patterns, themingui-toolkit/csharp-bindings.md— UQuery, event callbacks, data binding, focus managementui-toolkit/custom-controls.md— UxmlElement, UxmlAttribute, custom VisualElement creation