assets-create-folder

Create a folder under Assets and return its GUID.

Updated Feb 4, 2024
One-click install
npx skills add https://github.com/sprillion/gem_td --skill assets-create-folder-sprillion
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: assets-create-folder
Source: https://github.com/sprillion/gem_td/tree/main/SKILLS/assets-create-folder
Command: npx skills add https://github.com/sprillion/gem_td --skill assets-create-folder-sprillion

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This tool helps Unity developers automate the creation of folders inside the Assets directory, ensuring project structure stays organized and consistent.

Core Features & Use Cases

  • Create new folders under a specified Assets path, with validation that all intermediate folders already exist.
  • Ensures that the new folder is placed under the Assets root, and can be used to organize scripts and assets in Unity projects.
  • Returns the GUID of the newly created folder for reference in tooling and pipelines.

Quick Start

Create a new folder under a given Assets path and ensure all parent folders exist.

Frequently Asked Questions about assets-create-folder

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

FAQPage Schema
How do I automate folder creation in Unity Assets directory?

To automate folder creation in Unity Assets directory, specify a parent path and the tool creates the new folder inside it. It validates that the path starts with Assets and that all intermediate folders exist before creation.

Why does Unity folder creation fail when intermediate directories are missing?

Unity folder creation fails with missing intermediate directories because this tool validates that all parent folders in the specified path already exist. You must ensure intermediate folders are present before creating the target folder.

Can I get the GUID of a newly created folder in Unity for pipeline automation?

You can get the GUID of a newly created folder in Unity because the tool returns the GUID upon successful creation. This allows pipelines and tooling to reference the generated folder directly.

Does this Unity folder creation tool work outside the Assets root path?

This Unity folder creation tool does not work outside the Assets root path. It explicitly validates that the specified parent folder path starts with Assets to ensure project structure stays organized and consistent.

What is the best way to programmatically organize Unity project folders?

The best way to programmatically organize Unity project folders is using an automated creation tool that validates Assets paths and intermediate directories. It ensures consistent project structure by enforcing path rules and returning folder GUIDs.