unity-script

Create and manage Unity C# scripts from templates with namespaces.

1.6k|152|Updated Jan 18, 2026
One-click install
npx skills add https://github.com/Besty0728/Unity-Skills --skill unity-script
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-script
Source: https://github.com/Besty0728/Unity-Skills/tree/main/unity-skills/skills/script
Command: npx skills add https://github.com/Besty0728/Unity-Skills --skill unity-script

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates the repetitive boilerplate work of creating and organizing Unity C# scripts, reducing manual setup and errors across projects.

Core Features & Use Cases

  • Single script creation from templates (MonoBehaviour, ScriptableObject, Editor, EditorWindow) with optional namespace, and default folder Assets/Scripts.
  • Batch script creation with script_create_batch to minimize Domain Reloads.
  • Script management operations: read, delete, find_in_file, and append to existing scripts across the project.

Quick Start

To create a single script, use a sample command like: unity_skills.call_skill("script_create", scriptName="PlayerController", folder="Assets/Scripts/Player", template="MonoBehaviour")

Frequently Asked Questions about unity-script

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Unity C# script creation from templates?

You can automate Unity C# script creation by calling script_create with parameters like scriptName, folder, template, and namespace. It generates scripts from templates such as MonoBehaviour or ScriptableObject and returns a structured result with the path and class name.

Can I batch create Unity scripts to minimize Domain Reloads?

Yes, you can batch create Unity scripts using the script_create_batch operation. This minimizes Domain Reloads by generating multiple scripts across project folders in a single action rather than creating them individually.

What Unity script templates are available for automated generation?

The available Unity script templates include MonoBehaviour, ScriptableObject, Editor, and EditorWindow. You can specify the desired template when creating a script, along with an optional namespace and target folder.

How do I manage existing Unity C# scripts across a project?

You can manage existing Unity C# scripts using built-in operations to read, delete, find_in_file, and append content. These actions help you organize and modify scripts across your project folders.

Does automated Unity script generation require a specific folder structure?

Automated Unity script generation defaults to the Assets/Scripts folder but supports custom folder paths. You can specify any target folder parameter to organize scripts according to your project's specific directory structure.