Design durable workflows with Temporal for distributed systems. Covers workflow vs activity separation, saga patterns, state management, and determinism constraints.
SkillScore100Maintained
Automatic
◆Coding pack
Last verified 8/21/2026
What it changes
Passed 22 of 22 test cases with the skill, and 19 of 22 without it.
Without skill86%
With skill100%
Checks it passed that the model alone missed
Wrap the non-deterministic library call inside an Activity.
Register the compensating action immediately before executing the corresponding forward action step.
Maintain a single long-lived Entity Workflow instance per cart that receives state updates via signals.
3 fixed19 passed either way0 still failing0 broke
Pass-rate lift
+14 pp
Tokens
+89%
Agent turns
0%
Response time
-18%
Model gemini-3.6-flashMeasured 8/21/2026v122 of 22 cases passed with skill
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 3 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 3
Prompt
A workflow requires parsing a third-party non-deterministic cryptographic token using an external C library. Should this function be called directly in the workflow logic or wrapped in an activity?
What was checked, without and with the skill
Checked
Without skill
With skill
Wrap the non-deterministic library call inside an Activity.
Missed
Passed
case-19 · gemini-3.6-flash · 8/21/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md281 linessingle file
Workflow Orchestration Patterns
Master workflow orchestration architecture with Temporal, covering fundamental design decisions, resilience patterns, and best practices for building reliable distributed systems.