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.
Install with Tessl CLI
npx tessl i github:Dicklesworthstone/pi_agent_rust --skill workflow-orchestration-patterns86
Quality
81%
Does it follow best practices?
Impact
92%
0.98xAverage score across 3 eval scenarios
Saga pattern & compensation
Compensation before execution
40%
26%
LIFO rollback order
100%
100%
Activities for external calls
100%
100%
Workflow has no direct I/O
100%
100%
No datetime.now() in workflow
100%
100%
Idempotent compensations
62%
100%
Activity timeout config
100%
100%
Non-retryable errors
0%
25%
Compensation idempotency noted
100%
100%
No threading in workflow
100%
100%
Without context: $0.4030 · 1m 48s · 18 turns · 18 in / 5,515 out tokens
With context: $0.6450 · 2m 26s · 25 turns · 25 in / 7,931 out tokens
Fan-out/fan-in & heartbeats
Child workflows used
100%
100%
Bounded batch size
100%
100%
Heartbeat in long activity
100%
100%
Heartbeat timeout configured
100%
100%
Activities for external work
100%
100%
Activity timeout set
100%
100%
No datetime.now() in workflow
100%
100%
No threading in workflow
100%
100%
Batching strategy documented
100%
100%
Fan-in aggregation
100%
100%
Without context: $0.7476 · 6m 12s · 25 turns · 24 in / 12,703 out tokens
With context: $0.9950 · 4m 44s · 29 turns · 27 in / 16,367 out tokens
Entity workflow & versioning
Signal handlers present
100%
100%
Query handler present
100%
100%
Versioning API used
100%
100%
Version constants defined
100%
25%
Notification as activity
100%
100%
No datetime.now() in workflow
100%
100%
No global/static state in workflow
100%
100%
Activity timeout configured
100%
100%
Versioning explained in notes
100%
100%
Workflow runs for entity lifetime
100%
100%
Without context: $0.3700 · 1m 49s · 15 turns · 64 in / 5,537 out tokens
With context: $0.5869 · 2m 35s · 21 turns · 270 in / 8,276 out tokens
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.