workflow

Encode durable, resumable workflows with Vercel's Workflow SDK.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/miklosme/nextjs-ai-bootstrap --skill workflow-miklosme
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: workflow
Source: https://github.com/miklosme/nextjs-ai-bootstrap/tree/main/.agents/skills/workflow
Command: npx skills add https://github.com/miklosme/nextjs-ai-bootstrap --skill workflow-miklosme

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables building durable, resumable workflows that survive restarts, pause for external events, retry on failures, and coordinate multi-step operations over time using Vercel's Workflow SDK.

Core Features & Use Cases

  • Durable, restart-tolerant workflows that persist state across restarts and outages.
  • Hooks and external events: pause workflows with createHook and resume via resumeHook to wait for real-world signals.
  • Workflow orchestration: start, run, and coordinate child workflows, including multi-step and parallel tasks, with built-in observability.
  • AI-assisted orchestration: leverage DurableAgent and AI integrations to guide decision making within workflows.
  • Observability and admin tooling through World SDK for runs, steps, hooks, and streams.

Quick Start

Define a durable workflow with 'use workflow' and trigger it using the start() API to begin a run.

Frequently Asked Questions about workflow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build durable workflows that survive restarts and outages?▼

Durable workflows persist state across restarts and outages by using the Workflow SDK to encode long-running, stateful functions that automatically resume execution from their last known step.

How do I pause a workflow to wait for an external event or signal?▼

You can pause workflows for external events by creating hooks with createHook and later resuming them via resumeHook, allowing the workflow to wait indefinitely for real-world signals before continuing.

What is the best way to orchestrate multi-step and parallel tasks in a stateful workflow?▼

Workflow orchestration coordinates multi-step and parallel tasks by starting, running, and managing child workflows through the Workflow SDK, providing built-in retry logic and reliable coordination across services.

Can I integrate AI agents into durable workflow orchestration?▼

AI-assisted orchestration integrates DurableAgent and AI connections into the workflow, leveraging artificial intelligence to guide decision making and logic within the durable execution steps.

How do I monitor and observe workflow runs, steps, and hooks?▼

Workflow observability is provided through the World SDK, which offers admin tooling and monitoring capabilities to track workflow runs, individual steps, active hooks, and data streams.

How do I start a durable workflow using the Workflow SDK?▼

You start a durable workflow by defining it with the 'use workflow' directive and then triggering the execution using the start() API to begin the workflow run.