unity-script

Create, read, and refactor Unity C# scripts with compile diagnostics.

Updated Jan 30, 2026
One-click install
npx skills add https://github.com/Rayzerrek/dotfiles --skill unity-script-rayzerrek
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-script
Source: https://github.com/Rayzerrek/dotfiles/tree/main/.pi/agent/skills/unity-skills/skills/script
Command: npx skills add https://github.com/Rayzerrek/dotfiles --skill unity-script-rayzerrek

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the friction of managing Unity C# scripts by letting you create, read, search, rename, move, replace, append, and delete script files while keeping compilation feedback close at hand.

Core Features & Use Cases

  • Script Authoring and Editing: Generate new scripts from Unity-friendly templates and modify existing code safely and consistently.
  • Cross-Script Maintenance: Search across files, inspect script structure, and reorganize code when refactoring folders or class names.
  • Compile Feedback Workflow: Check Unity compile diagnostics after changes so you can catch errors quickly during iterative development.
  • Use Case: A developer updating gameplay logic can create a new component script, move it into the correct folder, and verify that the project still compiles without manually juggling files.

Quick Start

Use the unity-script skill to create, inspect, or refactor a Unity C# script and then check compile feedback for any errors.

Frequently Asked Questions about unity-script

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

FAQPage Schema
How do I refactor Unity C# scripts and reorganize folders without breaking references?

Refactoring Unity C# scripts requires cross-script search and deterministic file operations to rename, move, and replace files safely. This ensures folder reorganization updates class references without leaving broken dependencies or orphaned scripts.

What is the best way to create new Unity C# gameplay components from templates?

Creating Unity C# scripts is fastest using template-based script generation to establish standard gameplay code structures. This approach applies consistent boilerplate formatting and editor tooling patterns while reducing manual file management overhead.

Can I check Unity compile diagnostics after editing C# scripts to catch errors?

Checking Unity compile diagnostics after iterative C# script editing catches compile-errors quickly. The compile feedback workflow inspects domain-reload awareness and compile diagnostics to verify that gameplay code and editor tooling still build correctly.

How do I search across multiple Unity C# scripts to inspect structure and maintain code?

Searching across Unity C# scripts involves cross-script maintenance operations that inspect script structure and locate specific gameplay code references. This enables targeted refactoring, appending, or deletion across the entire project without opening individual files.

Why do I get compile errors in Unity after moving C# script files between folders?

Compile errors in Unity after moving C# scripts often stem from broken namespace or class references during folder reorganization. Safe iterative editing uses deterministic file operations and compile diagnostics to align script structure and resolve these reference mismatches.