workflow-orchestration-patterns

Orchestrate distributed system workflows using Temporal saga, entity, and fan-out/fan-in patterns.

Updated Mar 19, 2026
One-click install
npx skills add https://github.com/distribucionesfayosmoreno-sys/programa_aluon --skill workflow-orchestration-patterns-distribucionesfayosmoreno-sys
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: workflow-orchestration-patterns
Source: https://github.com/distribucionesfayosmoreno-sys/programa_aluon/tree/main/.agents/skills/workflow-orchestration-patterns
Command: npx skills add https://github.com/distribucionesfayosmoreno-sys/programa_aluon --skill workflow-orchestration-patterns-distribucionesfayosmoreno-sys

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps in designing and implementing durable workflows for distributed systems, addressing common challenges in long-running workflows and state management.

Core Features & Use Cases

  • Design Decision Framework: Offers a clear method to distinguish between workflows and activities, ensuring proper orchestration.
  • Saga Pattern: Implements distributed transactions with rollback capabilities for complex workflows.
  • Entity Workflows: Manages long-lived workflows representing single entity instances, with support for state changes and queries.
  • Fan-Out/Fan-In: Executes multiple tasks in parallel, aggregating results and handling partial failures.
  • Async Callback Pattern: Enables waiting for external events or human approvals in workflows.
  • State Management & Determinism: Ensures workflows are deterministic and states are preserved automatically for reliable execution.

Quick Start

Use the workflow-orchestration-patterns skill to design a workflow for order processing, ensuring state consistency and recovery from failures.

Frequently Asked Questions about workflow-orchestration-patterns

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

FAQPage Schema
How do I manage state consistency and recovery in distributed system workflows?

Distributed system workflows require deterministic state management to ensure states are preserved automatically for reliable execution and recovery from failures. This approach provides solutions for long-running workflows and complex state changes.

How does the saga pattern handle distributed transactions with rollback?

The saga pattern handles distributed transactions by implementing rollback capabilities for complex workflows. This ensures that if a step fails, previous state changes are reversed to maintain consistency across distributed systems.

When should I use entity workflows versus fan-out/fan-in patterns in Temporal?

Entity workflows manage long-lived workflows representing single entity instances with state changes and queries. Fan-out/fan-in executes multiple tasks in parallel, aggregating results and handling partial failures for distributed systems.

Do I need Temporal framework knowledge to implement workflow orchestration patterns?

Yes, the Temporal framework is required to implement these workflow orchestration patterns. You also need knowledge of saga, entity, and fan-out/fan-in patterns to properly design distributed transactions and state management.

What is the best way to wait for external events or human approvals in long-running workflows?

The async callback pattern enables workflows to wait for external events or human approvals. This approach ensures long-running workflows remain durable and state is preserved automatically while awaiting external triggers.

How do I distinguish between workflows and activities for distributed system orchestration?

A design decision framework helps distinguish between workflows and activities to ensure proper orchestration. This method clarifies when to use workflows for state management versus activities for individual task execution.