ucl-create-cmd

Create and validate Unity agent command handlers with consistent conventions.

4|Updated Apr 3, 2020
One-click install
npx skills add https://github.com/tim099/UCL_Core --skill ucl-create-cmd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ucl-create-cmd
Source: https://github.com/tim099/UCL_Core/tree/main/Skills~/ucl-create-cmd
Command: npx skills add https://github.com/tim099/UCL_Core --skill ucl-create-cmd

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

It streamlines the process of adding new agent command handlers by providing clear conventions and a step-by-step workflow, reducing errors and setup time.

Core Features & Use Cases

  • Standardized Handler Creation: Guides users to inherit from UCL_AgentCommandHandlerBase and organize files correctly.
  • Command Metadata Management: Ensures essential fields like CommandType and ArgsSchema are properly configured.
  • Use Case: A developer wants to add a new command to handle user requests, following the established structure and validation procedures to ensure compatibility with the registry and runtime execution.

Quick Start

Follow the guideline to define CommandType, choose the correct location, create the class file, and implement the execution method, then recompile to test.

Frequently Asked Questions about ucl-create-cmd

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

FAQPage Schema
How do I create an agent command handler in Unity?

Standardized handler creation involves inheriting from UCL_AgentCommandHandlerBase, organizing files correctly, and configuring essential metadata fields like CommandType and ArgsSchema for robust AI agent interactions.

What is the correct structure for Unity agent command metadata?

The correct structure for Unity agent command metadata requires configuring essential fields like CommandType and ArgsSchema to ensure compatibility with the registry and runtime execution.

How do I organize new command handler files in a Unity project?

Organize new command handler files by following established placement decisions and standardized conventions, ensuring the class inheriting from UCL_AgentCommandHandlerBase integrates smoothly within Unity Editor workflows.

Why does my Unity agent command handler fail during runtime execution?

Runtime execution failure often occurs when the agent command handler lacks proper validation, missing ArgsSchema configuration, or incorrect adherence to lifecycle practices required for robust AI agent interactions.

Can I use this command handler convention for existing Unity AI agent workflows?

Yes, you can use this convention for existing Unity AI agent workflows by validating and organizing your current handlers to adhere to lifecycle practices, improving maintainability and registry compatibility.