What problem does it solve? Long-running, multi-step operations in web applications break when servers restart, requests time out, or external events arrive late. This Skill guides you in building durable workflows with Vercel's Workflow SDK that survive restarts, retry on failure, pause for external events, and resume exactly where they left off. ## Core Features & Use Cases - Durable Orchestration: Mark functions with "use workflow" and "use step" directives to get automatic retries, persisted results, and replay across failures. - Hooks, Sleep, and Streaming: Pause workflows for external events via createHook/resumeHook, wait with sleep(), and stream real-time output with namespaced getWritable() streams. - AI Agents and Observability: Build stateful agents with DurableAgent, inspect runs via the World SDK and CLI, and test workflows in-process with the Vitest plugin. - Use Case: Build an order-approval pipeline that charges a customer, waits up to 48 hours for a manager's approval via a hook, sends a confirmation email, and streams progress updates to the client — all surviving deployments and restarts. ## Quick Start Ask the AI to create a durable workflow using the Workflow SDK that processes an order, waits for an approval hook, and retries failed steps automatically.