script-delete

Delete .cs and .meta files, refresh the AssetDatabase, and wait for Unity compilation.

Updated May 3, 2026
One-click install
npx skills add https://github.com/RakameNouya/MR-Bab_10_and_Kel_3 --skill script-delete-rakamenouya
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: script-delete
Source: https://github.com/RakameNouya/MR-Bab_10_and_Kel_3/tree/main/.gemini/skills/script-delete
Command: npx skills add https://github.com/RakameNouya/MR-Bab_10_and_Kel_3 --skill script-delete-rakamenouya

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Streamlines the process of deleting script files in Unity, refreshing the AssetDatabase, and waiting for Unity compilation, simplifying the management of script files in your project.

Core Features & Use Cases

  • File Deletion: Removes .cs files and their associated .meta files.
  • AssetDatabase Refresh: Ensures the AssetDatabase is up-to-date after file deletions.
  • Unity Compilation: Waits for Unity to finish recompiling after the delete action, ensuring consistency.
  • Use Case: When cleaning up unnecessary scripts from your Unity project, this Skill helps maintain project integrity with minimal manual steps.

Quick Start

Run the 'script-delete' skill with the files you want to remove, e.g., 'Assets/Scripts/UnwantedScript.cs'.

Frequently Asked Questions about script-delete

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

FAQPage Schema
How do I delete Unity scripts and refresh the AssetDatabase automatically?

Deleting Unity scripts and refreshing the AssetDatabase is handled by removing the .cs files and their associated .meta counterparts from specified paths. The process then automatically refreshes the AssetDatabase to ensure project integrity.

What happens to .meta files when deleting .cs files in Unity?

When deleting .cs files in Unity, the associated .meta counterparts are also removed automatically. This prevents orphaned meta files and ensures the Unity AssetDatabase remains clean and up-to-date after the file deletions.

How to wait for Unity compilation to finish after script file deletion?

Waiting for Unity compilation after script file deletion is built into the file removal process. The workflow refreshes the AssetDatabase and waits for Unity to complete a compilation cycle, ensuring consistency before you continue development.

What is the best way to clean up unnecessary scripts in a Unity project?

The best way to clean up unnecessary scripts in a Unity project is to run an automated deletion process that targets the specific .cs files. This removes both the scripts and their .meta files, then refreshes the AssetDatabase for you.

Do I need to manually refresh the AssetDatabase after removing scripts in Unity?

You do not need to manually refresh the AssetDatabase after removing scripts in Unity. The deletion workflow automatically refreshes the AssetDatabase and waits for the compilation cycle to finish, minimizing manual steps.