workflow-init▌
vercel/workflow · updated Apr 8, 2026
Initial setup of Vercel Workflow SDK before workflow is installed. Fetch the official getting-started guide for the user's framework.
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:
- https://useworkflow.dev/docs/foundations/workflows-and-steps
- https://useworkflow.dev/docs/foundations/common-patterns
Handoff
When setup is complete, tell the user: Use /workflow for ongoing development - it reads the versioned docs bundled in node_modules/workflow/docs/.
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.5★★★★★72 reviews- ★★★★★Charlotte Gonzalez· Dec 28, 2024
Keeps context tight: workflow-init is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Alexander Ndlovu· Dec 24, 2024
Solid pick for teams standardizing on skills: workflow-init is focused, and the summary matches what you get after install.
- ★★★★★Diego Agarwal· Dec 24, 2024
workflow-init reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Pratham Ware· Dec 20, 2024
Keeps context tight: workflow-init is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Ishan Verma· Dec 16, 2024
workflow-init is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Aisha Wang· Dec 12, 2024
Keeps context tight: workflow-init is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Chinedu Mensah· Dec 12, 2024
workflow-init is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Nikhil Flores· Nov 23, 2024
Keeps context tight: workflow-init is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Hassan Patel· Nov 15, 2024
We added workflow-init from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Ava Wang· Nov 15, 2024
workflow-init is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
showing 1-10 of 72