w-vercel

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese
Triage a Vercel build failure for the current branch. Use Vercel MCP when available. Fix the local build. Do not deploy. Follow git publish.
  1. Retrieve build logs for the current branch via Vercel MCP (or the user-supplied log).
  2. Parse TypeScript, ESLint, missing deps, env, imports, and config errors.
  3. Apply the owning fix. Run the app or package build script from
    package.json
    . Stop at verified local build. No deployment and no unsolicited commit.
  4. Docs:
    /w-docs
    if behavior or commands changed.
对当前分支的 Vercel 构建失败进行排查。尽可能使用 Vercel MCP。修复本地构建。不要部署。遵循 git publish。
  1. 通过 Vercel MCP(或用户提供的日志)获取当前分支的构建日志。
  2. 解析 TypeScript、ESLint、依赖缺失、环境变量、导入和配置错误。
  3. 实施相应的根因修复。运行
    package.json
    中的应用或包构建脚本。完成并验证本地构建后即可停止。不要部署,也不要未经要求提交 commit。
  4. 如果行为或命令发生变化,更新
    /w-docs
    文档。