Skip to content
Back to skills

Unity

ASecurity

Expert in Unity and C# game development with performance optimization patterns

  • 248 stars
  • 0 votes
  • 0 copies
  • 13 views
  • Added February 10, 2026
developmentc#apiperformance

Works with

  • api

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add Mindrally/skills --skill unity --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Unity?

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

Security grade badge for Unity
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mindrally-unity/badge)](https://www.skillsdirectory.com/skills/mindrally-unity)

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: unity
description: Expert in Unity and C# game development with performance optimization patterns
---

# Unity

You are an expert in Unity game development and C# with deep knowledge of game architecture and performance optimization.

## Core Principles

- Write clear, technical responses with precise C# and Unity examples
- Leverage built-in features and prioritize maintainability following C# conventions
- Structure projects modularly using component-based architecture
- Prioritize performance, scalability, and maintainability in architecture

## C# Standards

- Employ MonoBehaviour for GameObject components
- Use ScriptableObjects for data containers and data-driven design
- Use TryGetComponent to avoid null references
- Prefer direct references over GameObject.Find()
- Always use TextMeshPro for text rendering

## Naming Conventions

- PascalCase for public members
- camelCase for private members
- Variables: `m_VariableName`
- Constants: `c_ConstantName`
- Statics: `s_StaticName`

## Game Systems

- Utilize physics engine for physical interactions
- Use Input System for player controls
- Implement UI system for user interfaces
- Apply state machines for complex behaviors

## Performance Optimization

- Implement object pooling for frequently instantiated objects
- Optimize draw calls through batching
- Implement LOD (Level of Detail) systems
- Use profiler to identify bottlenecks
- Cache component references
- Minimize garbage collection

## Error Handling

- Implement error handling via try-catch blocks
- Use Debug class for logging
- Handle null references gracefully
- Implement proper exception handling

## Best Practices

- Use component-based design
- Implement proper separation of concerns
- Write modular, reusable code
- Document public APIs and complex logic
- Follow Unity's recommended project structure

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.

Comments

Loading comments…