Unity Template Generator

Community

Generate Unity C# scripts, fast and flawless.

AuthorDev-GOM
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Starting new Unity C# scripts from scratch can be repetitive and prone to missing best practices. This Skill automates the generation of production-ready script templates (MonoBehaviour, ScriptableObject, Editor, tests), ensuring consistency, performance, and adherence to Unity conventions from day one.

Core Features & Use Cases

  • Diverse Template Library: Generates templates for MonoBehaviour, ScriptableObject, Editor scripts (UGUI/UI Toolkit), and NUnit/PlayMode tests.
  • Best Practice Integration: All templates include Unity coding conventions, performance patterns (e.g., component caching), and code organization (#region).
  • Customizable Placeholders: Uses placeholders for class names, namespaces, and descriptions for easy customization.
  • Use Case: A developer needs to create a new EnemyAI MonoBehaviour script. Instead of manually typing out the basic structure, they can ask Claude to "Generate a MonoBehaviour script template for EnemyAI." The Skill will create a file with the correct class structure, lifecycle methods, and best practice comments, ready for implementation.

Quick Start

Ask Claude to generate a new Unity script

"Generate a MonoBehaviour script template named 'PlayerMovement'." "Create a ScriptableObject template for 'GameSettings'." "Generate an Editor Window script using UI Toolkit named 'LevelEditorWindow'."

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Unity Template Generator
Download link: https://github.com/Dev-GOM/claude-code-marketplace/archive/main.zip#unity-template-generator

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository