jaction

Orchestrate Unity action sequences with zero-allocation asynchronous execution.

2.2k|349|Updated Jul 14, 2020
One-click install
npx skills add https://github.com/JasonXuDeveloper/JEngine --skill jaction
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: jaction
Source: https://github.com/JasonXuDeveloper/JEngine/tree/main/.claude-plugin/skills/jaction
Command: npx skills add https://github.com/JasonXuDeveloper/JEngine --skill jaction

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

JAction provides a fluent, chainable API to compose complex Unity action sequences without allocating garbage and without blocking the main thread, enabling smoother gameplay and more maintainable logic.

Core Features & Use Cases

  • Fluent API for sequencing: chain delays, timers, repeats, polling waits, and scheduled actions.
  • Zero-allocation async: safe, state-passing actions with per-execution snapshots and object pooling.
  • Parallel execution: run multiple sequences concurrently with independent cancellation.
  • Reusable lifecycle: built-in cancellation callbacks and deterministic disposal via pooling.

Quick Start

Use JAction.Create(), chain Do/Delay/WaitUntil, and end with ExecuteAsync to run a non-blocking action sequence.

Frequently Asked Questions about jaction

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

FAQPage Schema
How do I chain Unity actions with zero-allocation async execution?▼

You can chain Unity actions using a fluent API with Create(), linking Do, Delay, and WaitUntil methods, then calling ExecuteAsync. This runs complex sequences without allocating garbage or blocking the main thread.

What is zero-allocation task sequencing in C# and when do I need it?▼

Zero-allocation task sequencing orchestrates complex gameplay logic using state-passing and object pooling. Use it when chained actions, delays, timers, and parallel execution must run without generating garbage to maintain smooth gameplay.

Can I run parallel action sequences concurrently in Unity without main thread blocking?▼

Yes, you can run multiple Unity action sequences concurrently with independent cancellation. Parallel execution support allows each sequence to operate independently while maintaining a pool-backed lifecycle for deterministic disposal.

What's the best way to manage repeating timers and polling waits in Unity gameplay systems?▼

The best way is composing fluent action sequences that chain repeat and WaitUntil polling commands. This approach handles timers and waits with per-execution snapshots and zero-allocation state-passing for maintainable logic.

Does this Unity async approach support cancellation callbacks and deterministic disposal?▼

Yes, the pool-backed lifecycle provides built-in cancellation callbacks and deterministic disposal. This reusable lifecycle ensures safe state-passing actions and independent cancellation for parallel sequences across gameplay systems.

Why does my Unity game stutter when running complex chained action sequences?▼

Gameplay stutters often occur because chained action sequences allocate garbage during execution. Using a zero-allocation async approach with object pooling and per-execution snapshots prevents garbage collection spikes.