workflow-orchestration-patterns

Design durable Temporal workflows with Saga, Actor Model, and Async Callback patterns.

Updated Feb 3, 2026
One-click install
npx skills add https://github.com/leonardoteodoroo/amino-advanced --skill workflow-orchestration-patterns-leonardoteodoroo
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: workflow-orchestration-patterns
Source: https://github.com/leonardoteodoroo/amino-advanced/tree/main/.agent/skills/workflow-orchestration-patterns
Command: npx skills add https://github.com/leonardoteodoroo/amino-advanced --skill workflow-orchestration-patterns-leonardoteodoroo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Design durable and deterministic workflows for long-running, distributed systems by separating orchestration logic from external interactions and ensuring reliable state persistence.

Core Features & Use Cases

  • Saga Pattern with compensation for distributed transactions with rollback.
  • Entity Workflows (Actor Model) for per-entity lifetime management and stateful coordination.
  • Fan-Out/Fan-In and Async Callback patterns to orchestrate parallel tasks and external events.
  • State management and determinism guarantees to ensure replay-compatible executions.

Quick Start

Start by selecting a workflow pattern (eg. Saga with compensation) and implement it with a Temporal workflow that coordinates activities, compensations, and signals to manage long-running processes.

Frequently Asked Questions about workflow-orchestration-patterns

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

FAQPage Schema
How do I design durable Temporal workflows for distributed systems?▼

Durable Temporal workflows are designed by separating orchestration logic from external interactions to ensure reliable state persistence. You can implement patterns like Saga, Actor Model, and Async Callbacks for long-running processes and microservice coordination.

How do I handle distributed transaction rollback in microservice orchestration?▼

Distributed transaction rollback is handled using the Saga pattern with compensation. This Temporal workflow pattern coordinates activities and compensations to reliably reverse operations if a long-running microservice process fails.

How does Temporal enforce determinism and idempotency for state restoration?▼

Temporal enforces determinism and idempotency by separating workflow logic from side effects, ensuring replay-compatible executions. This mechanism guarantees automatic state preservation and reliable restoration during distributed system failures.

When do I need the Actor Model pattern for per-entity lifetime management?▼

You need the Actor Model pattern, implemented as Entity Workflows, for per-entity lifetime management and stateful coordination. This Temporal pattern is ideal when orchestrating long-running processes that require consistent state for specific entities.

What is the best way to orchestrate parallel tasks and external events in distributed systems?▼

The best way to orchestrate parallel tasks and external events is using Fan-Out/Fan-In and Async Callback patterns. These Temporal workflows coordinate parallel execution and manage external signals for reliable distributed system processing.