
Workflow Init
vercel/workflowOfficial
Guided setup for Vercel Workflow SDK across ten frameworks, run before the workflow package is installed.
- skills.sh installs
- 3.9K
- GitHub stars
- 2.5K
- last updated
- Aug 21, 2026
What it does
- Covers the pre-install path: checks
package.jsonfor an existingworkflowdependency, then detects or asks for the target framework - Supports Next.js, Nuxt, SvelteKit, Astro, NestJS, Nitro, Express, Fastify, Hono, and Vite, each with its official getting-started guide
- Verifies the setup by starting the dev server, triggering the example endpoint, and checking logs for workflow and step execution
- Designed for projects that do not yet have
workflowin node_modules; hands off to/workflowfor ongoing development
Install
$ npx -y skills add vercel/workflow --skill workflow-init -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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.
Details
- Repository
- github.com/vercel/workflow
- Categories
- Backend & APIs, Frontend & UI Code, Workflow Automation
- First seen
- Apr 16, 2026
More from vercel/workflow
All 3Similar to Workflow Init
More Backend & APIs
workflowSkillvercel/vercel-plugin313 installsExpert guidance for building durable, crash-safe workflows with the Vercel Workflow SDK.
migrating-to-workflow-sdkSkillvercel/workflow791 installsMigrates Temporal, Inngest, Trigger.dev, and AWS Step Functions workflows to the Workflow SDK, covering hooks and retries.
vercel-pluginPluginvercel/vercel-plugin338 starsBuild and deploy web apps and agents
copilotkit-setupSkillcopilotkit/skills621 installscopilotkit-setup walks through adding CopilotKit to existing projects or bootstrapping new ones, from framework detection onward.
nextjs-on-cloudflareSkillcloudflare/skills60.4K installsBuild and deploy Next.js apps on Cloudflare Workers with vinext, not OpenNext, for new projects.