workflow-orchestration-patterns

Agent workflows

wshobson/agentsskills.sh ↗

Installs

10,596

deduplicated, at the last sync

Since we started

+1.1%

40 readings, about 2 hours apart. Not a live curve.

Our category

Agent workflows

ours

Last read

Sep 3, 2026

from the directory

Our brief

ours

The skill explains how to design durable Temporal workflows for distributed systems. It describes the separation of orchestration (workflows) and external interactions (activities), outlines patterns such as sagas and entity workflows, and lists best‑practice guidelines for determinism, idempotency, and failure handling.

What it produces
  • workflow design guidelines
  • saga pattern example
  • entity workflow description
  • determinism constraints list
  • activity best‑practice checklist
What it needs
  • Temporal workflow code
  • activity implementation code
  • configuration file
  • runtime environment with Temporal server
Paid services

not detected

The evidence does not mention any paid plan, API, account or credential.

Registration

not detected

The evidence does not mention any required registration or account creation.

Limits and human review

The skill provides only documentation and examples; it does not execute or test workflows. It cannot verify that a user's workflows are deterministic or that activities are idempotent, nor can it provision or manage a Temporal server.

Evidenceplugins/backend-development/skills/workflow-orchestration-patterns/references/details.md:1-88plugins/backend-development/skills/workflow-orchestration-patterns/SKILL.md:1-99
plugins/backend-development/skills/workflow-orchestration-patterns/references/details.md1–88 · excerpt truncated
# workflow-orchestration-patterns — detailed patterns and worked examples

## Critical Design Decision: Workflows vs Activities

**The Fundamental Rule** (Source: temporal.io/blog/workflow-engine-principles):

- **Workflows** = Orchestration logic and decision-making
- **Activities** = External interactions (APIs, databases, network calls)

### Workflows (Orchestration)

**Characteristics:**

- Contain business logic and coordination
- **MUST be deterministic** (same inputs → same outputs)
- **Cannot** perform direct external calls
- State automatically preserved across failures
- Can run for years despite infrastructure failures

**Example workflow tasks:**

- Decide which steps to execute
- Handle compensation logic
- Manage timeouts and retries
- Coordinate child workflows

### Activities (External Interactions)

**Characteristics:**

- Handle all external system interactions
- Can be non-deterministic (API calls, DB writes)
- Include built-in timeouts and retry logic
- **Must be idempotent** (calling N times = calling once)
- Short-lived (seconds to minutes typically)

**Example activity tasks:**

- Call payment gateway API
- Write to database
- Send emails or notifications
- Q
plugins/backend-development/skills/workflow-orchestration-patterns/SKILL.md1–99
---
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, account management, cart workflows
- **Infrastructure automation**: CI/CD pipelines, provisioning, deployments
- **Human-in-the-loop** systems requiring timeouts and escalations

Read 2 of 2 text files in the skill.

Checked September 2026 · GPTWritten from the skill's published files. Check the source before relying on access or cost details.

Installfrom the directory

npx skills add https://github.com/wshobson/agents

Installing happens there, not here. We are an index with an opinion, not a mirror.

What is inside itfrom the directory

references/details.md
SKILL.md

2 files — names only. The directory does not report sizes.

What the auditors foundfrom the directory

A skill is instructions your agent will follow and scripts it may run, so who checked it matters as much as how many people installed it.

Gen Agent Trust HubThis skill provides architectural guidance and documentation for designing durable workflows using Temporal. It contains no executable code, scripts, or instructions that would compromise security.May 29, 2026 · SAFEpass
SocketNo alertsMay 29, 2026pass
SnykRisk: LOW · No issuesMay 29, 2026 · LOWpass
Runlayer1 file scanned · No issuesFeb 26, 2026 · NONEpass
ZeroLeaksScore: 93/100 · 2 sections analyzedApr 16, 2026 · NONEpass

Installs, reading by readingours

10.5k
10.6k
Aug 30, 202640 readings over 5 days, drawn as the last reading of each day.Sep 3, 2026

Axis starts at 10.5k, not zero — the range is 10.5k to 10.6k.

Filed alongside itours