mcpField
U
unity-command-pattern

unity-command-pattern

github.com/muharremtozanDevelopment1755 installsUpdated 22w ago
Repository

About unity-command-pattern

A compact Unity command-pattern skill for developers who need asynchronous, data-driven actions and sequential execution. It includes an ICommand interface, ScriptableObject commands, and a command queue in one file.

Key features

  1. 01Task-based ICommand interface
  2. 02ScriptableObject-based commands
  3. 03Sequential command queue
  4. 04Single-file implementation

Use cases

  1. 01Run asynchronous game actions
  2. 02Configure simple actions in the Inspector
  3. 03Queue commands for sequential execution

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/muharremtozan/unity-agent-skills --skill unity-command-pattern

After installing, type/unity-command-patternin Claude Code to confirm it loaded.

Bundled filesassets/code/Command.cs.txtreferences/guide.md

Details

From the project README

Unity Command Pattern

Minimal command pattern with async support.

Core Features

  1. Async Interface: ICommand with Task-based execution
  2. SO Commands: Data-driven actions for simple cases
  3. Command Queue: Sequential execution system

Core Files (1 file)

  • Command.cs.txt: Complete command pattern (interface + SO + queue)

Usage

Implement ICommand for complex logic, or inherit CommandSO for inspector-configurable actions.

Comments

Markdown supported