workflow-orchestration-patterns

Orchestrate long-running distributed workflows with deterministic execution using Temporal.

1|Updated Dec 23, 2025
One-click install
npx skills add https://github.com/ccf/claude-code-ccf-marketplace --skill workflow-orchestration-patterns-ccf
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: workflow-orchestration-patterns
Source: https://github.com/ccf/claude-code-ccf-marketplace/tree/main/plugins/backend-development/skills/workflow-orchestration-patterns
Command: npx skills add https://github.com/ccf/claude-code-ccf-marketplace --skill workflow-orchestration-patterns-ccf

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill solves the problem of coordinating long-running distributed workflows with deterministic execution using Temporal.

Core Features & Use Cases

  • Deterministic orchestration: separation of workflow logic from external activities.
  • Saga and long-running patterns: support for compensations and parallel tasks.
  • State management and resilience: automatic persistence, retries, and failure recovery for distributed processes.

Quick Start

Run a sample workflow that coordinates a multi-step process across services (e.g., order processing with inventory, payment, and fulfillment).

Frequently Asked Questions about workflow-orchestration-patterns

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

FAQPage Schema
How do I coordinate long-running distributed workflows with deterministic execution?▼

You coordinate long-running distributed workflows by separating deterministic orchestration logic from external activities using Temporal. This pattern enforces deterministic execution, automatically persists state, and manages retries for reliable multi-step business processes across services.

What is the best way to handle distributed transactions and multi-step processes across services?▼

The best way to handle distributed transactions is implementing saga patterns with compensations for failure recovery. This approach supports parallel tasks and coordinates multi-step processes like order processing across inventory, payment, and fulfillment services.

How does Temporal separate workflow logic from external activities?▼

Temporal separates workflow logic from external activities by enforcing deterministic execution within the workflow while isolating non-deterministic side effects in activities. This separation guarantees reliable orchestration and automatic state persistence for distributed processes.

Can I implement saga patterns with compensations for distributed transactions?▼

Yes, you can implement saga patterns with compensations to manage distributed transactions. This pattern coordinates long-running workflows by executing parallel tasks and defining compensating actions to handle failures and maintain system consistency.

Why do my distributed workflows fail during state persistence and retries?▼

Distributed workflows fail during state persistence and retries when orchestration logic becomes non-deterministic. Enforcing deterministic workflow logic and separating external activities ensures automatic persistence and reliable failure recovery.

Does this approach support entity lifecycles requiring reliable orchestration?▼

Yes, this approach supports entity lifecycles requiring reliable orchestration across services. By enforcing deterministic workflow logic and providing automatic state persistence, it manages multi-step business processes and distributed transactions effectively.