What problem does it solve?
This Skill ensures that asynchronous jobs, such as image generation or data exports, are processed reliably with clear progress tracking and proper handling of success, failure, or partial completion.
Core Features & Use Cases
- Validated State Transitions: Guarantees jobs move through predefined states (QUEUED, PROCESSING, COMPLETED, FAILED, PARTIAL) in a valid order.
- Progress Tracking: Allows for real-time updates on the status of long-running operations.
- Asset Linking: Enables associating generated assets (like images or reports) directly with the job that created them.
- Use Case: When processing a large batch of user-uploaded images for a machine learning model, this Skill can manage the state of each image processing job, update its progress, and link the final processed image back to the original job.
Quick Start
Use the job-state-machine skill to create a new job for user 'user-123' of type 'image-processing'.