workflow-orchestration-patterns

Design durable Temporal workflows with deterministic orchestration and activity separation.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Design durable workflows with Temporal for distributed systems, enforcing deterministic orchestration, reliable state management, and a clear separation between workflows and activities to simplify complex, long-running processes.

Core Features & Use Cases

  • Deterministic workflows with explicit activity boundaries to ensure reproducible results.
  • Pattern catalog and guidance for Saga, Entity (actor) workflows, fan-out/fan-in, and async callbacks.
  • Real-world scenarios: long-running orders, multi-service transactions, and infrastructure automation requiring reliable state persistence and compensation.

Quick Start

Provide a starter Temporal-based design for a long-running workflow and outline a minimal saga example across two services.

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 deterministic workflows for distributed systems?

To design deterministic workflows for distributed systems, enforce explicit boundaries between orchestration and activities to ensure reproducible results and reliable state persistence across long-running processes.

What is the best way to implement a saga pattern for multi-service transactions?

The best way to implement a saga pattern for multi-service transactions is using a pattern catalog that coordinates steps and signals, providing robust error handling and compensation for reliable state management.

How does idempotency work in temporal-style workflow orchestration?

Idempotency in temporal-style workflow orchestration works by enforcing deterministic execution and clear separation between orchestration and activities, ensuring that activities produce reproducible results even when retried.

When do I need durable workflow orchestration for long-running processes?

You need durable workflow orchestration for long-running processes like order fulfillment, inventory coordination, and infrastructure automation where reliable state persistence and compensation are required across multi-service transactions.

Can I use temporal patterns for infrastructure automation and async callbacks?

Yes, temporal patterns support infrastructure automation and async callbacks through fan-out/fan-in and Entity workflows, coordinating steps and signals with deterministic execution and robust error handling.

Why does separating workflows and activities simplify complex distributed orchestration?

Separating workflows and activities simplifies complex distributed orchestration by enforcing determinism in the orchestration layer while isolating non-deterministic operations, ensuring reproducible results and robust error handling.