workflow-init
Skill2.4k starsChanged 13 months agoApache-2.0View on GitHub
Install and configure Vercel Workflow SDK before it exists in node_modules. Use when the user asks to "install workflow", "set up workflow", "add durable workflows", "configure workflow sdk", or "init workflow" for Next.js, Express, Hono, Fastify, NestJS, Nitro, Nuxt, Astro, SvelteKit, or Vite.
Trending
Quiet this year.thin dataabout the whole repository
Who's talking about vercel/workflow
- @u11g.com“Functions that pause for months and survive crashes? Durability without the infrastructure complexity! …”Bluesky · Nov 2, 2025 · 1 likes
- @fluid.sublimer.me“vercel/workflow: Workflow DevKit: Build durable, resilient, and observable workflows”Bluesky · Oct 25, 2025 · 1 likes
The biggest 2 of 2 mentions linking to the repository that our crawl found. Each line is their own headline.
In this repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- workbench/nextjs-turbopack/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- workbench/nextjs-turbopack/CLAUDE.mdCLAUDE.md
- .cursor/rules/swc-plugin.mdcCursor rule
- .cursor/rules/workflow-deployment.mdcCursor rule
- internal-dev-workbenchSkill
- migrating-to-workflow-sdkSkill
- migrating-workflow-v4-to-v5Skill
- migrating-world-v4-to-v5Skill
- workflowSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 5 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Read package.json. If workflow is already a dependency, tell the user to use /workflow instead (it reads versioned docs from …
- Distinctive: line 19
Non-interactive: If the user named a framework in their prompt, use it directly.
- Distinctive: line 34
If no match or multiple matches, ask the user to pick.
- Distinctive: line 55
Start the dev server per the guide.
- Distinctive: line 61
If no framework exists, ask what the user wants:
- Distinctive: line 69
If the user asks conceptual questions before installing, fetch:
- Very specific: line 74
When setup is complete, tell the user: Use /workflow for ongoing development - it reads the versioned docs bundled in …
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
workflow-init
Initial setup of Vercel Workflow SDK before workflow is installed. Fetch the official getting-started guide for the user's framework.
Decision flow
0) Sanity check
Read package.json. If workflow is already a dependency, tell the user to use /workflow instead (it reads versioned docs from node_modules/workflow/docs/). Only continue if workflow is missing.
1) Determine the framework
Non-interactive: If the user named a framework in their prompt, use it directly.
Auto-detect: Inspect package.json deps and config files. Use the first match:
- Next.js -
nextdep ornext.config.* - Nuxt -
nuxtdep ornuxt.config.* - SvelteKit -
@sveltejs/kitdep orsvelte.config.* - Astro -
astrodep orastro.config.* - NestJS -
@nestjs/coredep ornest-cli.json - Nitro -
nitrodep ornitro.config.* - Express -
expressdep - Fastify -
fastifydep - Hono -
honodep - Vite -
vitedep (and not matched above)
If no match or multiple matches, ask the user to pick.
2) Fetch and follow the getting-started guide
Fetch exactly one of these URLs and follow the guide step-by-step:
Each guide covers: install deps, configure framework, create first workflow, create route handler, run + verify.
3) Verify setup
- Start the dev server per the guide.
- Trigger the example endpoint with the provided
curl. - Confirm logs show the workflow and steps executing.
- Optional:
npx workflow webornpx workflow inspect runs.
4) No framework yet?
If no framework exists, ask what the user wants:
- Web app: Next.js / Nuxt / SvelteKit / Astro
- API server: Express / Fastify / Hono
- Minimal server: Nitro or Vite
Then follow the "Create Your Project" section of the chosen guide.
Concept questions (pre-install)
If the user asks conceptual questions before installing, fetch:
Handoff
When setup is complete, tell the user: Use /workflow for ongoing development - it reads the versioned docs bundled in node_modules/workflow/docs/.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

