
Workflow Init
This handles the first-time setup of Vercel's Workflow SDK across ten different frameworks, from Next.js to Vite. It auto-detects your stack by reading package.json, fetches the correct getting-started guide from workflow-sdk.dev, and walks through installation, configuration, and verification. The smart bit is the sanity check: if workflow is already installed, it tells you to use the /workflow skill instead, which reads from the versioned docs in node_modules. It's basically a framework-aware bootstrap script that knows when to hand off. If you're adding durable workflows to an existing project or starting fresh, this gets you to a working example endpoint without hunting through docs.
- skills.sh installs
- 3.9K
- GitHub stars
- 2.5K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add vercel/workflow --skill workflow-init --agent claude-codeInstalls into .claude/skills of the current project.
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.
Sponsors
Details
- Repository
- github.com/vercel/workflow
- Categories
- Frontend Development, Automation & Workflows, Cloud & Infrastructure
- First seen
- Apr 16, 2026