workflow-orchestration-patterns

Coordinate durable workflows across distributed systems with Temporal.

322|45|Updated Dec 1, 2025
One-click install
npx skills add https://github.com/Microck/ordinary-claude-skills --skill workflow-orchestration-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: workflow-orchestration-patterns
Source: https://github.com/Microck/ordinary-claude-skills/tree/main/skills_all/workflow-orchestration-patterns
Command: npx skills add https://github.com/Microck/ordinary-claude-skills --skill workflow-orchestration-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Master workflow orchestration architecture with Temporal, covering fundamental design decisions, resilience patterns, and best practices for building reliable distributed systems.

Core Features & Use Cases

  • Deterministic workflows: Define orchestration logic that yields consistent results.
  • Patterns for reliability: Saga, entity workflows, fan-out/fan-in, and async callback patterns.
  • Clear separation: Distinguish workflows (orchestration) from activities (external interactions) for robust systems.

Quick Start

Define a workflow to coordinate multiple steps (e.g., inventory, payment, fulfillment) and attach compensating actions for failure scenarios.

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 workflows that reliably coordinate multiple steps across distributed systems?

Workflow orchestration with Temporal lets you define multi-step processes (inventory, payment, fulfillment) as deterministic code that automatically preserves state, handles failures, and applies retry logic without manual state management.

What's the difference between workflows and activities in distributed orchestration?

Workflows contain orchestration logic and must be deterministic; activities handle external interactions like API calls or database writes and can be non-deterministic. This separation ensures reliable failure recovery and state reconstruction.

How do I handle failure recovery in long-running workflows?

Apply saga and compensation patterns: define compensating actions that reverse each step if a later step fails, enabling automatic rollback across multi-step processes without manual intervention.

Can I use workflow orchestration for business processes involving human decisions?

Yes. Human-in-the-loop scenarios are supported through async callbacks and deterministic workflows that pause execution, await human input or external signals, then resume with automatic timeout and retry handling.

What constraints do I need to follow when writing deterministic workflow logic?

Avoid non-deterministic operations (randomness, timestamps, external calls) in workflow code itself. Delegate external interactions to activities, use deterministic libraries, and structure callbacks to preserve workflow replay and state consistency.

How do fan-out and fan-in patterns improve workflow efficiency?

Fan-out parallelizes independent activities (e.g., multiple payment validations), then fan-in aggregates results before proceeding. Temporal handles coordination, timeouts, and partial failure across parallel branches automatically.