workflow-init by vercel/workflow
npx skills add https://github.com/vercel/workflow --skill workflow-init在安装 workflow 之前,对 Vercel Workflow DevKit 进行初始设置。为用户所使用的框架获取官方的入门指南。
读取 package.json。如果 workflow 已经是依赖项,则告知用户使用 /workflow 代替(它会从 node_modules/workflow/docs/ 读取版本化文档)。仅当缺少 workflow 时才继续。
非交互式: 如果用户在提示中指定了框架,则直接使用它。
自动检测: 检查 package.json 中的依赖项和配置文件。使用第一个匹配项:
next 依赖项或 广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
next.config.*nuxt 依赖项或 nuxt.config.*@sveltejs/kit 依赖项或 svelte.config.*astro 依赖项或 astro.config.*@nestjs/core 依赖项或 nest-cli.jsonnitro 依赖项或 nitro.config.*express 依赖项fastify 依赖项hono 依赖项vite 依赖项(且未匹配到上述框架)如果没有匹配项或多个匹配项,则请用户选择。
获取恰好一个以下 URL 并逐步遵循指南:
每个指南涵盖:安装依赖项、配置框架、创建第一个 workflow、创建路由处理器、运行 + 验证。
curl 命令触发示例端点。npx workflow web 或 npx workflow inspect runs。如果不存在任何框架,询问用户想要什么:
然后遵循所选指南的“创建您的项目”部分。
如果用户在安装前询问概念性问题,请获取:
当设置完成后,告知用户:使用 /workflow 进行持续开发 - 它会读取捆绑在 node_modules/workflow/docs/ 中的版本化文档。
每周安装量
246
代码仓库
GitHub 星标
1.8K
首次出现
2026年2月20日
安全审计
已安装于
codex239
gemini-cli236
amp236
opencode236
github-copilot234
kimi-cli234
Initial setup of Vercel Workflow DevKit 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:
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/.
Weekly Installs
246
Repository
GitHub Stars
1.8K
First Seen
Feb 20, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
codex239
gemini-cli236
amp236
opencode236
github-copilot234
kimi-cli234
agent-browser 浏览器自动化工具 - Vercel Labs 命令行网页操作与测试
140,500 周安装
| SvelteKit | https://useworkflow.dev/docs/getting-started/sveltekit |
| Vite | https://useworkflow.dev/docs/getting-started/vite |