skills/workflow-init/SKILL.md
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.
npx skillsauth add awfixers-stuff/opencode-config workflow-initInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Initial setup of Vercel Workflow SDK before workflow is installed. Fetch the official getting-started guide for the user's framework.
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.
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 dep or next.config.*nuxt dep or nuxt.config.*@sveltejs/kit dep or svelte.config.*astro dep or astro.config.*@nestjs/core dep or nest-cli.jsonnitro dep or nitro.config.*express depfastify dephono depvite dep (and not matched above)If no match or multiple matches, ask the user to pick.
Fetch exactly one of these URLs and follow the guide step-by-step:
| Framework | URL | |-----------|-----| | Next.js | https://useworkflow.dev/docs/getting-started/next | | Express | https://useworkflow.dev/docs/getting-started/express | | Hono | https://useworkflow.dev/docs/getting-started/hono | | Fastify | https://useworkflow.dev/docs/getting-started/fastify | | NestJS | https://useworkflow.dev/docs/getting-started/nestjs | | Nitro | https://useworkflow.dev/docs/getting-started/nitro | | Nuxt | https://useworkflow.dev/docs/getting-started/nuxt | | Astro | https://useworkflow.dev/docs/getting-started/astro | | SvelteKit | https://useworkflow.dev/docs/getting-started/sveltekit | | Vite | https://useworkflow.dev/docs/getting-started/vite |
Each guide covers: install deps, configure framework, create first workflow, create route handler, run + verify.
curl.npx workflow web or npx workflow inspect runs.If no framework exists, ask what the user wants:
Then follow the "Create Your Project" section of the chosen guide.
If the user asks conceptual questions before installing, fetch:
When setup is complete, tell the user: Use /workflow for ongoing development - it reads the versioned docs bundled in node_modules/workflow/docs/.
development
Use when starting dev servers, watchers, tilt, or any process expected to outlive the conversation. Provides zmx session management patterns for long-lived processes.
development
Zig testing skill for writing and running tests. Use when using zig build test, writing comptime tests, using test filters, working with test allocators to detect leaks, or using Zig's built-in fuzz testing (0.14+). Activates on queries about Zig tests, zig test, zig build test, comptime testing, test allocators, Zig fuzz testing, or detecting memory leaks in Zig tests.
development
Zig debugging skill. Use when debugging Zig programs with GDB or LLDB, interpreting Zig runtime panics, using std.debug.print for tracing, configuring debug builds, or debugging Zig programs in VS Code. Activates on queries about debugging Zig, Zig panics, zig gdb, zig lldb, std.debug.print, Zig stack traces, or Zig error return traces.
tools
Zig cross-compilation skill. Use when cross-compiling Zig programs to different targets, using Zig's built-in cross-compilation for embedded, WASM, Windows, ARM, or using zig cc to cross-compile C code without a system cross-toolchain. Activates on queries about Zig cross-compilation, zig target triples, zig cc cross-compile, Zig embedded targets, or Zig WASM.