/skills-misc:workflow-orchestration-patternsfrom skills-misc
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.
Ships in skills-misc. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Master workflow orchestration architecture with Temporal, covering fundamental design decisions, resilience patterns, and best practices for building reliable distributed systems.
resources/implementation-playbook.md.The Fundamental Rule (Source: temporal.io/blog/workflow-engine-principles):
Characteristics:
Example workflow tasks:
Characteristics:
Example activity tasks:
Does it touch external systems? → Activity
Is it orchestration/decision logic? → Workflow
Purpose: Implement distributed transactions with rollback capability
Pattern (Source: temporal.io/blog/compensating-actions-part-of-a-complete-breakfast-with-sagas):
For each step:
1. Register compensation BEFORE executing
2. Execute the step (via activity)
3. On failure, run all compensations in reverse order (LIFO)
Example: Payment Workflow
Critical Requirements:
Purpose: Long-lived workflow representing single entity instance
Pattern (Source: docs.temporal.io/evaluate/use-cases-design-patterns):
Example Use Cases:
Benefits:
Purpose: Execute multiple tasks in parallel, aggregate results
Pattern:
Scaling Rule (Source: temporal.io/blog/workflow-engine-principles):
Purpose: Wait for external event or human approval
Pattern:
Use Cases:
How Temporal Works (Source: docs.temporal.io/workflows):
Workflows Execute as State Machines:
Prohibited in Workflows (Source: docs.temporal.io/workflows):
random())datetime.now())Allowed in Workflows:
workflow.now() (deterministic time)workflow.random() (deterministic random)Challenge: Changing workflow code while old executions still running
Solutions:
workflow.get_version() for safe changesDefault Behavior: Temporal retries activities forever
Configure Retry:
Non-Retryable Errors:
Why Critical (Source: docs.temporal.io/activities):
Implementation Strategies:
Purpose: Detect stalled long-running activities
Pattern:
Workflow Violations:
datetime.now() instead of workflow.now()Activity Mistakes:
Monitoring:
Scalability:
Official Documentation:
Key Principles:
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub sharepointoscar/agent-workflow-skills --plugin skills-misc11 skills in this plugin
/address-github-commentsUse when you need to address review or issue comments on an open GitHub Pull Request using the gh CLI./backend-architectExpert backend architect specializing in scalable API design,
microservices architecture, and distributed systems. Masters REST/GraphQL/gRPC
APIs, event-driven architectures, service mesh patterns, and modern backend
frameworks. Handles service boundary definition, inter-service communication,
resilience patterns, and observability. Use PROACTIVELY when creating new
backend services or APIs./c4-codeExpert C4 Code-level documentation specialist. Analyzes code
directories to create comprehensive C4 code-level documentation including
function signatures, arguments, dependencies, and code structure. Use when
documenting code at the lowest C4 level for individual directories and code
modules./c4-containerExpert C4 Container-level documentation specialist. Synthesizes
Component-level documentation into Container-level architecture, mapping
components to deployment units, documenting container interfaces as APIs, and
creating container diagrams. Use when synthesizing components into deployment
containers and documenting system deployment architecture./c4-contextExpert C4 Context-level documentation specialist. Creates
high-level system context diagrams, documents personas, user journeys, system
features, and external dependencies. Synthesizes container and component
documentation with system documentation to create comprehensive context-level
architecture. Use when creating the highest-level C4 system context
documentation./file-uploadsExpert at handling file uploads and cloud storage. Covers S3, Cloudflare R2, presigned URLs, multipart uploads, and image optimization. Knows how to handle large files without blocking. Use when: file upload, S3, R2, presigned URL, multipart.Other plugins' skills for the same job