What problem does it solve?
This Skill provides expert guidance for building durable, resumable workflows using Vercel Workflow DevKit, enabling long-running processes to survive restarts, network interruptions, and service crashes. It clarifies sandbox limitations and prescribes patterns to ensure reliability, observability, and safe AI integration.
Core Features & Use Cases
- Durable Orchestration: Patterns for pause/resume via hooks and webhooks, child workflows, namespaced streaming, and deterministic tokens for long-running flows.
- Step-based Reliability: Guidance to move Node.js logic into step functions, use RetryableError and FatalError for error semantics, and employ sleep() instead of timers to avoid sandbox failures.
- AI & Agent Integration: DurableAgent usage patterns, streaming outputs with getWritable, and recommendations for OIDC-based AI Gateway setup when calling provider SDKs.
- Use Case: Orchestrate a human-in-the-loop approval pipeline that fans out analysis tasks to AI-powered steps, persists intermediate results, waits for external callbacks, and retries transient failures until completion.
Quick Start
Start a durable workflow to process a long-running job that pauses for human approval, streams progress to a namespaced log, and automatically retries transient errors.