unity-script

Create, replace, and analyze Unity C# scripts via Python.

Updated May 9, 2026
One-click install
npx skills add https://github.com/krikommp/chess-game --skill unity-script-krikommp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-script
Source: https://github.com/krikommp/chess-game/tree/main/.agents/skills/unity-skills/skills/script
Command: npx skills add https://github.com/krikommp/chess-game --skill unity-script-krikommp

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill streamlines the creation, management, and modification of C# scripts for Unity development, improving efficiency and maintaining code quality.

Core Features & Use Cases

  • Script Creation: Generate Unity scripts based on specified templates or custom class names.
  • Content Modification: Edit and append code to existing scripts without manually writing them.
  • Read and Delete Scripts: Inspect script contents and delete scripts if necessary.
  • Search and Analyze Scripts: Search scripts for specific patterns or use the perception module for analysis.
  • Use Case: Develop Unity games and applications with ease, leveraging batch script creation for productivity gains in project workflows.

Quick Start

Generate a MonoBehaviour script with the name 'MyScript' in the 'Assets/Scripts' folder using the default template.

Frequently Asked Questions about unity-script

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

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

Automating C# script creation for Unity is done programmatically via Python scripting. This Skill generates Unity scripts based on specified templates or custom class names to streamline game development workflows.

Can I modify and append code to existing Unity C# scripts programmatically?

Modifying and appending code to existing Unity C# scripts is supported through Python scripting. This allows you to edit script contents programmatically without manually writing the code.

What do I need to set up to manage Unity scripts via Python?

To manage Unity scripts via Python, you need a Python environment configured with relevant modules and .NET libraries. These dependencies enable the programmatic creation, analysis, and modification of C# scripts.

How can I search and analyze Unity scripts for specific patterns?

You can search and analyze Unity scripts for specific patterns using Python scripting. The Skill includes search capabilities and utilizes a perception module to inspect and analyze script contents.

What is the best way to batch generate MonoBehaviour scripts in Unity?

Batch generating MonoBehaviour scripts in Unity is handled through automated Python scripting. By specifying custom class names and target folders like Assets/Scripts, you can generate multiple scripts for productivity gains.

Does this approach work for deleting and reading Unity script contents?

Yes, reading and deleting Unity script contents is fully supported. You can inspect script contents programmatically and delete scripts if necessary to manage your Unity project effectively.