unity-csharp-edit

Modify Unity C# scripts with symbol-aware edits and file writes.

83|10|Updated Feb 17, 2026
One-click install
npx skills add https://github.com/akiojin/unity-cli --skill unity-csharp-edit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-csharp-edit
Source: https://github.com/akiojin/unity-cli/tree/main/.claude-plugin/plugins/unity-cli/skills/unity-csharp-edit
Command: npx skills add https://github.com/akiojin/unity-cli --skill unity-csharp-edit

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of implementing, fixing, and refactoring Unity C# code, ensuring changes are made accurately and safely within the Unity development environment.

Core Features & Use Cases

  • Symbol-Aware Edits: Modify specific methods, fields, or properties using precise targeting.
  • File-Level Writes: Rewrite entire C# files or create new ones with validated content.
  • Settings Management: Update project and package settings relevant to code changes.
  • Use Case: Refactor a Unity script by renaming a method, updating its implementation, and ensuring all related serialized fields and Unity bindings remain intact.

Quick Start

Implement a new 'dash' ability in the PlayerController.cs script.

Frequently Asked Questions about unity-csharp-edit

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

FAQPage Schema
How do I refactor Unity C# scripts without breaking serialized fields?

You can refactor Unity C# scripts by performing symbol-aware edits that target specific methods and fields directly. This method ensures your serialized fields and Unity bindings remain intact while you update the code implementation.

What is the best way to add new features to an existing Unity C# script?

The best way to add new features to Unity C# scripts is by applying symbol-aware edits or full-file writes. This ensures new logic is injected accurately while respecting existing project configurations and Unity binding contracts.

Can I update Unity project settings alongside code changes?

Yes, you can update Unity project and package settings alongside code modifications. Settings management ensures your project configurations remain synchronized with your C# script changes during refactoring or feature implementation.

How does symbol-aware editing work for Unity C# code?

Symbol-aware editing works by targeting specific methods, fields, or properties in Unity C# scripts for precise modification. It alters only the targeted symbols instead of rewriting entire files, ensuring safe code manipulation that respects serialization contracts.

Does unity-cli support fixing bugs in Unity C# scripts?

Yes, unity-cli tools support fixing bugs in Unity C# scripts by enabling safe and precise code manipulation. You can target faulty methods or fields with symbol-aware edits to resolve issues while maintaining project binding contracts.