unity-script

Create, read, replace, and analyze Unity C# scripts with structured results.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/mandexonla/Top-Down-Template --skill unity-script-mandexonla
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-script
Source: https://github.com/mandexonla/Top-Down-Template/tree/main/.codex/skills/unity-skills/skills/script
Command: npx skills add https://github.com/mandexonla/Top-Down-Template --skill unity-script-mandexonla

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Unity projects often suffer from scattered script management tasks: creating, reading, replacing, and analyzing C# scripts manually, which slows iteration and risks inconsistencies.

Core Features & Use Cases

  • Create new C# scripts from templates with optional namespaces and folders.
  • Batch create multiple scripts to minimize domain reloads and streamline setup.
  • Read, modify, and replace script content, read compile feedback, and analyze APIs.
  • Use in refactoring, scaffolding new gameplay systems, and auditing code quality across a project.

Quick Start

Create a new MonoBehaviour script named PlayerController in Assets/Scripts and wait for Unity to recompile.

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 to minimize domain reloads?

Batch create multiple Unity C# scripts to minimize domain reloads by grouping scaffolding tasks. This approach streamlines project setup and reduces compilation overhead during deterministic script generation.

Can I get compile feedback after modifying C# scripts in Unity?

Yes, you can read compile feedback after replacing or appending to Unity C# scripts. The system returns structured results including compilation status to verify code integrity after edits.

What is the best way to scaffold new MonoBehaviour scripts in Unity programmatically?

Create new Unity C# scripts from templates with optional namespaces and folders. This deterministic scaffolding ensures consistent script management for new gameplay systems or refactoring tasks.

How do I refactor and analyze existing C# script files in Unity?

Read, modify, and replace Unity C# script content to refactor code. You can also find text within files, rename, and move scripts to audit code quality across a project.

Does Unity script management support batch creation for refactoring multiple files at once?

Yes, batch creation supports generating multiple Unity C# scripts simultaneously. This minimizes Unity domain reloads and provides structured results, making it ideal for large-scale refactoring and scaffolding.