What problem does it solve? Building long-running distributed processes that survive failures is hard: state gets lost, retries cause duplicate side effects, and distributed transactions lack rollback. This Skill provides architectural guidance for designing Temporal workflows that preserve state automatically, recover from crashes, and coordinate multi-step operations reliably. ## Core Features & Use Cases - Workflow vs Activity Separation: Clear decision framework for placing orchestration logic in deterministic workflows and external calls in idempotent activities. - Saga Pattern with Compensation: Implement distributed transactions with LIFO compensation rollback for payment, order, and fulfillment flows. - Entity and Fan-Out Patterns: Model long-lived entity workflows (carts, accounts) and scale parallel work via child workflows. - Determinism and Versioning Guidance: Avoid prohibited operations (system time, random, threading) and evolve workflow code safely with versioning APIs. - Use Case: You are building an order processing system spanning payment, inventory, and shipping services. Use this Skill to structure a saga workflow that reserves inventory, charges payment, and fulfills the order, with compensating refunds and releases on any failure. ## Quick Start Ask the AI to design a Temporal workflow for a multi-step order process with saga compensation and idempotent activities.