
Workflow Orchestration Patterns
This covers the architectural decisions you'll face when building distributed workflows with Temporal. It breaks down the critical workflow vs activity boundary (orchestration logic stays in workflows, external calls go in activities), walks through saga patterns for distributed transactions, and explains Temporal's determinism constraints that trip up most newcomers. The examples focus on real patterns like entity workflows for shopping carts and compensation logic for payment flows. What I appreciate here is the concrete guidance on when NOT to use workflow orchestration. Too many teams reach for it when a simple API call would suffice.
- skills.sh installs
- 12.5K
- GitHub stars
- 42.4K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add wshobson/agents --skill workflow-orchestration-patterns --agent claude-codeInstalls into .claude/skills of the current project.
Files
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
Sponsors
Details
- Repository
- github.com/wshobson/agents
- Categories
- Automation & Workflows, Design & UI/UX
More from wshobson/agents
All 174- Helm Chart Scaffolding12.4K
- Python Resilience12.2K
- Market Sizing Analysis12.2K
- Memory Safety Patterns12.2K
- Gitops Workflow12.1K
- Python Observability12K
- Shellcheck Configuration12K
- Python Configuration12K
- Cost Optimization11.9K
- Embedding Strategies11.8K
- Data Quality Frameworks11.7K
- Startup Metrics Framework11.7K
- Go Concurrency Patterns11.7K
- Prometheus Configuration11.6K
- Billing Automation11.6K
- K8s Manifest Generator11.6K
- Python Background Jobs11.6K
- Ml Pipeline Workflow11.5K
- Context Driven Development11.5K
- Dependency Upgrade11.5K
- Competitive Landscape11.5K
- Bats Testing Patterns11.4K
- Memory Forensics11.4K
- Risk Metrics Calculation11.4K