smithery/Dev-GOM

Unity Script Validator

Validates C# scripts for best practices, performance, and Unity patterns. Use when reviewing scripts or checking code quality.

Installation

$ npx skills add smithery/Dev-GOM --skill unity-script-validator

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery/Dev-GOM · top by installs.

npx skills add smithery/Dev-GOM

Browse all from smithery/Dev-GOM

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Allowed toolsRead, Grep, Glob

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,930 B
  • docs SUMMARY.md 156 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

Unity Script Validator

Validates Unity C# scripts against best practices and performance patterns specific to Unity game development.

What This Skill Checks

  • Field declarations: [SerializeField] private instead of public fields
  • Component caching: GetComponent in Awake/Start, not Update (~100x faster)
  • String operations: StringBuilder for frequent concatenation
  • GameObject.Find: Cache references, avoid in Update (O(n) operation)
  • Code organization: #region directives, consistent ordering
  • XML documentation: <summary> tags on public methods
  • Update vs FixedUpdate: Appropriate usage for physics/non-physics
  • Coroutines: Prefer for intermittent tasks over Update

Provides: Issues found, specific fixes, performance impact estimates, refactored code examples.

Compatibility

Applies to Unity 2019.4 LTS and later (including Unity 6).

See [patterns.md](patterns.md) and [examples.md](examples.md) for detailed optimization techniques.

When to Use vs Other Components

Use this Skill when: Quick validation of existing Unity scripts for best practices and common issues

Use @unity-scripter agent when: Writing new code or implementing Unity features from scratch

Use @unity-refactor agent when: Improving code quality, applying design patterns, or modernizing legacy code

Use @unity-performance agent when: Deep performance profiling, memory optimization, or platform-specific tuning

Use /unity:new-script command when: Creating new scripts from production-ready templates

Related Skills

  • unity-scene-optimizer: For scene-level performance analysis
  • unity-template-generator: For generating validated script templates