unity-script

Create, read, and edit Unity C# scripts with templates.

1|Updated Feb 22, 2024
One-click install
npx skills add https://github.com/Stardust-liu/EDC_Framework --skill unity-script-stardust-liu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-script
Source: https://github.com/Stardust-liu/EDC_Framework/tree/main/Assets/AI/Unity-Skills-1.5.5/unity-skills/skills/script
Command: npx skills add https://github.com/Stardust-liu/EDC_Framework --skill unity-script-stardust-liu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates creating, reading, and editing Unity C# scripts across projects.

Core Features & Use Cases

  • Create single or multiple scripts with templates like MonoBehaviour or ScriptableObject.
  • Read, delete, find_in_file, and append content to existing scripts to streamline iteration.
  • Batch operations to minimize domain reloads and keep project structure organized.

Quick Start

Create a new script by calling script_create with a scriptName and optional folder, then read or modify it using script_read or script_append as your workflow requires.

Frequently Asked Questions about unity-script

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

FAQPage Schema
How do I automate creating Unity C# scripts across multiple projects?

Automating Unity C# script creation involves using a script management tool to generate single or multiple scripts with templates like MonoBehaviour, returning structured results including the script path and class name.

Can I batch create MonoBehaviour and ScriptableObject scripts to minimize domain reloads?

Yes, batch script creation supports templates like MonoBehaviour and ScriptableObject, organizing project structure and minimizing Unity domain reloads during automated workflows.

What is the best way to read and append content to existing Unity C# scripts?

The best way to manage existing Unity C# scripts is using automated read and append functions, streamlining iteration by finding specific content and appending changes directly.

Does automated Unity script management validate inputs like script names and folders?

Automated Unity script management validates inputs like scriptName and folder paths before creating or editing scripts, ensuring correct project structure and preventing invalid file operations.

What structured results do I get after creating a Unity C# script?

Creating a Unity C# script returns structured results including the exact script path and the generated class name, allowing immediate integration into your development workflow.