Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
wshobson avatar

Workflow Orchestration Patterns

  • 9.5k installs
  • 38.3k repo stars
  • Updated July 22, 2026
  • wshobson/agents

workflow-orchestration-patterns is an agent skill that Design durable workflows with Temporal for distributed systems. Covers workflow vs activity separation, saga patterns, state management, and determinism constra.

About

Design durable workflows with Temporal for distributed systems Covers workflow vs activity separation saga patterns state management and determinism constraints Use when building long-running processes distributed transactions or microservice orchestration name workflow-orchestration-patterns description Design durable workflows with Temporal for distributed systems Covers workflow vs activity separation saga patterns state management and determinism constraints Use when building long-running processes distributed transactions or microservice orchestration Workflow Orchestration Patterns Master workflow orchestration architecture with Temporal covering fundamental design decisions resilience patterns and best practices for building reliable distributed systems When to Use Workflow Orchestration Ideal Use Cases Source docs temporal io Multi-step processes spanning machines services databases Distributed transactions requiring all-or-nothing semantics Long-running workflows hours to years with automatic state persistence Failure recovery that must resume from last successful step Business processes bookings orders campaigns approvals Entity lifecycle management inventory tracking ac.

  • Workflow Orchestration Patterns
  • **Multi-step processes** spanning machines/services/databases
  • **Distributed transactions** requiring all-or-nothing semantics
  • **Long-running workflows** (hours to years) with automatic state persistence
  • **Failure recovery** that must resume from last successful step

Workflow Orchestration Patterns by the numbers

  • 9,511 all-time installs (skills.sh)
  • +200 installs in the week ending Jul 28, 2026 (Skillselion tracking)
  • Ranked #96 of 2,184 Testing & QA skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

workflow-orchestration-patterns capabilities & compatibility

Capabilities
workflow orchestration patterns · **multi step processes** spanning machines/servi · **distributed transactions** requiring all or no · **long running workflows** (hours to years) with · **failure recovery** that must resume from last
Use cases
documentation
From the docs

What workflow-orchestration-patterns says it does

--- name: workflow-orchestration-patterns description: Design durable workflows with Temporal for distributed systems.
SKILL.md
Covers workflow vs activity separation, saga patterns, state management, and determinism constraints.
SKILL.md
Use when building long-running processes, distributed transactions, or microservice orchestration.
SKILL.md
Read that file when the navigation tier above is insufficient.
SKILL.md
npx skills add https://github.com/wshobson/agents --skill workflow-orchestration-patterns

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs9.5k
repo stars38.3k
Security audit3 / 3 scanners passed
Last updatedJuly 22, 2026
Repositorywshobson/agents

What problem does workflow-orchestration-patterns solve for developers using this skill?

Design durable workflows with Temporal for distributed systems. Covers workflow vs activity separation, saga patterns, state management, and determinism constraints. Use when building long-running pro

Who is it for?

Developers who need workflow-orchestration-patterns patterns described in the cached skill documentation.

Skip if: Skip when docs are empty or the task is outside the skill's documented scope.

When should I use this skill?

Design durable workflows with Temporal for distributed systems. Covers workflow vs activity separation, saga patterns, state management, and determinism constraints. Use when building long-running pro

What you get

Actionable workflows and conventions from SKILL.md for workflow-orchestration-patterns.

  • Workflow versus activity architecture diagrams and code patterns

Files

SKILL.mdMarkdownGitHub ↗

Workflow Orchestration Patterns

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

When to Use Workflow Orchestration

Ideal Use Cases (Source: docs.temporal.io)

  • Multi-step processes spanning machines/services/databases
  • Distributed transactions requiring all-or-nothing semantics
  • Long-running workflows (hours to years) with automatic state persistence
  • Failure recovery that must resume from last successful step
  • Business processes: bookings, orders, campaigns, approvals
  • Entity lifecycle management: inventory tracking, account management, cart workflows
  • Infrastructure automation: CI/CD pipelines, provisioning, deployments
  • Human-in-the-loop systems requiring timeouts and escalations

When NOT to Use

  • Simple CRUD operations (use direct API calls)
  • Pure data processing pipelines (use Airflow, batch processing)
  • Stateless request/response (use standard APIs)
  • Real-time streaming (use Kafka, event processors)

Detailed patterns and worked examples

Detailed pattern documentation lives in references/details.md. Read that file when the navigation tier above is insufficient.

Best Practices

Workflow Design

1. Keep workflows focused - Single responsibility per workflow 2. Small workflows - Use child workflows for scalability 3. Clear boundaries - Workflow orchestrates, activities execute 4. Test locally - Use time-skipping test environment

Activity Design

1. Idempotent operations - Safe to retry 2. Short-lived - Seconds to minutes, not hours 3. Timeout configuration - Always set timeouts 4. Heartbeat for long tasks - Report progress 5. Error handling - Distinguish retryable vs non-retryable

Common Pitfalls

Workflow Violations:

  • Using datetime.now() instead of workflow.now()
  • Threading or async operations in workflow code
  • Calling external APIs directly from workflow
  • Non-deterministic logic in workflows

Activity Mistakes:

  • Non-idempotent operations (can't handle retries)
  • Missing timeouts (activities run forever)
  • No error classification (retry validation errors)
  • Ignoring payload limits (2MB per argument)

Operational Considerations

Monitoring:

  • Workflow execution duration
  • Activity failure rates
  • Retry attempts and backoff
  • Pending workflow counts

Scalability:

  • Horizontal scaling with workers
  • Task queue partitioning
  • Child workflow decomposition
  • Activity batching when appropriate

Additional Resources

Official Documentation:

  • Temporal Core Concepts: docs.temporal.io/workflows
  • Workflow Patterns: docs.temporal.io/evaluate/use-cases-design-patterns
  • Best Practices: docs.temporal.io/develop/best-practices
  • Saga Pattern: temporal.io/blog/saga-pattern-made-easy

Key Principles:

1. Workflows = orchestration, Activities = external calls 2. Determinism is non-negotiable for workflows 3. Idempotency is critical for activities 4. State preservation is automatic 5. Design for failure and recovery

Related skills

How it compares

Use workflow-orchestration-patterns for durable engine-backed agents instead of ad hoc retry loops inside monolithic agent functions.

FAQ

What does workflow-orchestration-patterns do?

Design durable workflows with Temporal for distributed systems. Covers workflow vs activity separation, saga patterns, state management, and determinism constraints. Use when building long-running processes, distributed

When should I use workflow-orchestration-patterns?

Design durable workflows with Temporal for distributed systems. Covers workflow vs activity separation, saga patterns, state management, and determinism constraints. Use when building long-running processes, distributed

Is workflow-orchestration-patterns safe to install?

Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.