[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CG42MSXD4W7AG1B6D8JDGZ":3,"skill-same:01M7CG42MSXD4W7AG1B6D8JDGZ":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":29,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7CG42MSXD4W7AG1B6D8JDGZ","vercel-deploy",null,"Deploy a project to Vercel safely. Preview versus production, project linking, vercel CLI and Git-based flows, promote, rollback. Never deploys without the user's explicit approval. Use for any request to deploy, ship, publish, promote or roll back on Vercel.","codewhale-hq\u002Fcodewhale-plugin-marketplace","codewhale-hq","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F326694313?v=4","01M6CDD9D70AD3631SMRJ7REW4","Codewhale","01M7CFYTPJMP417FBR6K9VE5VN",5,"MIT","https:\u002F\u002Fgithub.com\u002Fcodewhale-hq\u002Fcodewhale-plugin-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fvercel-workflow\u002Fskills\u002Fvercel-deploy\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: vercel-deploy\ndescription: Deploy a project to Vercel safely. Preview versus production, project linking, vercel CLI and Git-based flows, promote, rollback. Never deploys without the user's explicit approval. Use for any request to deploy, ship, publish, promote or roll back on Vercel.\n---\n\n# Vercel: deploy with approval\n\n**Hard rule.** Never run a command from the \"needs approval\" list until the\nuser has, in this conversation, said yes to that specific action after you\nshowed them the command, the team and project it targets, whether it is a\npreview or production deployment, and what it changes. An earlier yes does not\ncover a later, different command.\n\nPushing a commit is a deploy when the project has Git integration: a push to the\nproduction branch (usually `main`) creates a production deployment, and a push\nto any other branch creates a preview. Treat `git push`, merging a pull request\nand `vercel --prod` the same way.\n\n## Preview versus production\n\n| | Preview | Production |\n| --- | --- | --- |\n| Created by | `vercel`, `vercel deploy`, push to a non-production branch, a PR | `vercel --prod`, `vercel deploy --target=production`, push to the production branch, promoting a deployment |\n| URL | unique per deployment (and a branch URL) | your production domains |\n| Env vars | Preview environment (optionally per branch) | Production environment |\n| Risk | low, but may still run build hooks and write to shared services | real users, real data |\n\n**The first deployment of a brand-new project is always production**, even if\nyou omit `--prod`. So `vercel` run in a directory that is not yet linked to a\nproject can create the project and make a production deployment. Check for\n`.vercel\u002Fproject.json` first (the `\u002Fvercel-preflight` command reports it); if it\nis absent, say so and ask before linking or creating anything. Never use\n`--yes` to skip the project-setup questions without approval; it answers them\nwith guessed defaults.\n\nCustom environments (for example `staging`) are targeted with\n`vercel deploy --target=staging`.\n\n## Commands by risk\n\nSafe without approval (local or read-only):\n\n- `vercel --version`, `vercel whoami`, `vercel list`, `vercel inspect \u003Curl>`\n- `vercel logs ...` (read-only; see `vercel-logs-debug`)\n- `vercel deploy --dry` (CLI 59.x: reports the detected framework preset and the\n  files that would be uploaded, without creating a deployment; it needs the user\n  to be logged in, and you should confirm with `vercel deploy --help` on their\n  version)\n- `vercel build` (builds locally into `.vercel\u002Foutput`; needs `vercel pull` first)\n- `vercel env ls` (names and types, not values); `vercel env run -- \u003Ccmd>` with\n  the default Development values (production or preview values go to the\n  command's process, so ask first)\n- `\u002Fvercel-preflight`\n\nNeeds approval (changes the account, creates a deployment, or writes secrets):\n\n- `vercel`, `vercel deploy` (preview), `vercel --prod` (shorthand for\n  `--target=production`), `vercel deploy --prebuilt`, and `vercel deploy\n  --temporary` (uploads the source to a temporary public deployment without a\n  login)\n- `vercel link`, `vercel project add|rm`, `vercel git connect`\n- `vercel promote`, `vercel rollback`, `vercel redeploy`, `vercel remove`\n- `vercel env add|update|rm`, and `vercel env pull` \u002F `vercel pull` (they write\n  environment values to files on disk; use `vercel env run` when you only need\n  them for one command)\n- `vercel domains ...`, `vercel alias ...`, `vercel dns ...`, `vercel certs ...`\n- `vercel login` and anything that opens a browser OAuth flow: the user does this\n- `git push` \u002F opening or merging a PR on a Vercel-connected repository\n- Vercel MCP tools that deploy, change settings, or buy anything\n\nNever ask for a Vercel token in chat and never print one. Authentication is the\nuser's `vercel login` or a `VERCEL_TOKEN` they export themselves. A Vercel\ncommand run without credentials may start a browser login flow instead of\nfailing; if you see \"No existing credentials found\", stop and tell the user to\nrun `vercel login`. Do not drive the login yourself.\n\nAgent-run CLIs are non-interactive by default (`--non-interactive`), so prompts\nfail instead of waiting. Do not \"fix\" that by adding `--yes`; ask the user.\n\n## Workflow\n\n1. **Preflight.** Run `\u002Fvercel-preflight`. Fix errors; explain warnings.\n2. **Identify the target.** `vercel whoami`, then read `.vercel\u002Fproject.json`\n   (project name and org) or the Git remote. State team, project and branch. If\n   the team is ambiguous, ask.\n3. **Build and test** locally with the project's own commands. To reproduce\n   Vercel's build: `vercel pull --environment=preview` then `vercel build`\n   (`--environment=production` and `vercel build --prod` for production\n   settings). Pulling writes env files under `.vercel\u002F`; keep them gitignored.\n4. **Choose preview first.** Even for a production release, deploy a preview,\n   verify it, then promote or merge. Say that in the plan.\n5. **Ask.** Present a short plan:\n   - exact command, team\u002Fproject, environment (preview, production, custom)\n   - what changes: new deployment, domains, env vars, build cache (`--force`)\n   - how you will verify, and how to roll back\n   Then stop and wait for an explicit yes.\n6. **Run only the approved command.** `vercel` prints the deployment URL on\n   stdout; use `--logs` if you need build logs, `--no-wait` only if asked.\n7. **Verify.** `vercel inspect \u003Curl>` for status. Request the URL with `curl -sS -o\n   \u002Fdev\u002Fnull -w \"%{http_code}\\n\" \u003Curl>`. A preview behind Deployment Protection\n   answers 401 or redirects to login: that is expected. Do not disable protection\n   or generate bypass links; ask the user to open it signed in, or to use the\n   documented `vercel curl` helper themselves.\n8. **Report** the deployment URL and ID from the command output. If it failed,\n   show the error text, run `vercel inspect \u003Curl> --logs`, and only then propose\n   a fix.\n\n## Promote and rollback\n\n- `vercel promote \u003Cdeployment-url-or-id>` makes an existing deployment the\n  current production deployment (promoting a preview creates a production\n  deployment and asks for confirmation; `--yes` bypasses it, so do not add it\n  without approval). `vercel promote status` shows pending promotions.\n- `vercel rollback [deployment-url-or-id]` points production back at an earlier\n  deployment. On the Hobby plan only the previous production deployment is\n  eligible. `vercel rollback status` shows pending rollbacks. To undo a\n  rollback, `vercel promote` a deployment.\n- A rollback restores code and its build-time configuration, not data. Database\n  changes made by the bad release are not reverted.\n\n## Prebuilt deploys\n\n`vercel build` followed by `vercel deploy --prebuilt` (optionally\n`--archive=tgz` for thousands of files) deploys local build output. System\nenvironment variables such as `VERCEL_ENV` are missing at build time then, so\nuse Git-based or plain `vercel` deploys if the build reads them.\n\n## If the user did not approve\n\nSay what was done (preflight, local build), what was not, and the exact command\nthey can run or approve. Do not deploy \"to see if it works\".\n","# Vercel: deploy with approval\n\n**Hard rule.** Never run a command from the \"needs approval\" list until the\nuser has, in this conversation, said yes to that specific action after you\nshowed them the command, the team and project it targets, whether it is a\npreview or production deployment, and what it changes. An earlier yes does not\ncover a later, different command.\n\nPushing a commit is a deploy when the project has Git integration: a push to the\nproduction branch (usually `main`) creates a production deployment, and a push\nto any other branch creates a preview. Treat `git push`, merging a pull request\nand `vercel --prod` the same way.\n\n## Preview versus production\n\n| | Preview | Production |\n| --- | --- | --- |\n| Created by | `vercel`, `vercel deploy`, push to a non-production branch, a PR | `vercel --prod`, `vercel deploy --target=production`, push to the production branch, promoting a deployment |\n| URL | unique per deployment (and a branch URL) | your production domains |\n| Env vars | Preview environment (optionally per branch) | Production environment |\n| Risk | low, but may still run build hooks and write to shared services | real users, real data |\n\n**The first deployment of a brand-new project is always production**, even if\nyou omit `--prod`. So `vercel` run in a directory that is not yet linked to a\nproject can create the project and make a production deployment. Check for\n`.vercel\u002Fproject.json` first (the `\u002Fvercel-preflight` command reports it); if it\nis absent, say so and ask before linking or creating anything. Never use\n`--yes` to skip the project-setup questions without approval; it answers them\nwith guessed defaults.\n\nCustom environments (for example `staging`) are targeted with\n`vercel deploy --target=staging`.\n\n## Commands by risk\n\nSafe without approval (local or read-only):\n\n- `vercel --version`, `vercel whoami`, `vercel list`, `vercel inspect \u003Curl>`\n- `vercel logs ...` (read-only; see `vercel-logs-debug`)\n- `vercel deploy --dry` (CLI 59.x: reports the detected framework preset and the\n  files that would be uploaded, without creating a deployment; it needs the user\n  to be logged in, and you should confirm with `vercel deploy --help` on their\n  version)\n- `vercel build` (builds locally into `.vercel\u002Foutput`; needs `vercel pull` first)\n- `vercel env ls` (names and types, not values); `vercel env run -- \u003Ccmd>` with\n  the default Development values (production or preview values go to the\n  command's process, so ask first)\n- `\u002Fvercel-preflight`\n\nNeeds approval (changes the account, creates a deployment, or writes secrets):\n\n- `vercel`, `vercel deploy` (preview), `vercel --prod` (shorthand for\n  `--target=production`), `vercel deploy --prebuilt`, and `vercel deploy\n  --temporary` (uploads the source to a temporary public deployment without a\n  login)\n- `vercel link`, `vercel project add|rm`, `vercel git connect`\n- `vercel promote`, `vercel rollback`, `vercel redeploy`, `vercel remove`\n- `vercel env add|update|rm`, and `vercel env pull` \u002F `vercel pull` (they write\n  environment values to files on disk; use `vercel env run` when you only need\n  them for one command)\n- `vercel domains ...`, `vercel alias ...`, `vercel dns ...`, `vercel certs ...`\n- `vercel login` and anything that opens a browser OAuth flow: the user does this\n- `git push` \u002F opening or merging a PR on a Vercel-connected repository\n- Vercel MCP tools that deploy, change settings, or buy anything\n\nNever ask for a Vercel token in chat and never print one. Authentication is the\nuser's `vercel login` or a `VERCEL_TOKEN` they export themselves. A Vercel\ncommand run without credentials may start a browser login flow instead of\nfailing; if you see \"No existing credentials found\", stop and tell the user to\nrun `vercel login`. Do not drive the login yourself.\n\nAgent-run CLIs are non-interactive by default (`--non-interactive`), so prompts\nfail instead of waiting. Do not \"fix\" that by adding `--yes`; ask the user.\n\n## Workflow\n\n1. **Preflight.** Run `\u002Fvercel-preflight`. Fix errors; explain warnings.\n2. **Identify the target.** `vercel whoami`, then read `.vercel\u002Fproject.json`\n   (project name and org) or the Git remote. State team, project and branch. If\n   the team is ambiguous, ask.\n3. **Build and test** locally with the project's own commands. To reproduce\n   Vercel's build: `vercel pull --environment=preview` then `vercel build`\n   (`--environment=production` and `vercel build --prod` for production\n   settings). Pulling writes env files under `.vercel\u002F`; keep them gitignored.\n4. **Choose preview first.** Even for a production release, deploy a preview,\n   verify it, then promote or merge. Say that in the plan.\n5. **Ask.** Present a short plan:\n   - exact command, team\u002Fproject, environment (preview, production, custom)\n   - what changes: new deployment, domains, env vars, build cache (`--force`)\n   - how you will verify, and how to roll back\n   Then stop and wait for an explicit yes.\n6. **Run only the approved command.** `vercel` prints the deployment URL on\n   stdout; use `--logs` if you need build logs, `--no-wait` only if asked.\n7. **Verify.** `vercel inspect \u003Curl>` for status. Request the URL with `curl -sS -o\n   \u002Fdev\u002Fnull -w \"%{http_code}\\n\" \u003Curl>`. A preview behind Deployment Protection\n   answers 401 or redirects to login: that is expected. Do not disable protection\n   or generate bypass links; ask the user to open it signed in, or to use the\n   documented `vercel curl` helper themselves.\n8. **Report** the deployment URL and ID from the command output. If it failed,\n   show the error text, run `vercel inspect \u003Curl> --logs`, and only then propose\n   a fix.\n\n## Promote and rollback\n\n- `vercel promote \u003Cdeployment-url-or-id>` makes an existing deployment the\n  current production deployment (promoting a preview creates a production\n  deployment and asks for confirmation; `--yes` bypasses it, so do not add it\n  without approval). `vercel promote status` shows pending promotions.\n- `vercel rollback [deployment-url-or-id]` points production back at an earlier\n  deployment. On the Hobby plan only the previous production deployment is\n  eligible. `vercel rollback status` shows pending rollbacks. To undo a\n  rollback, `vercel promote` a deployment.\n- A rollback restores code and its build-time configuration, not data. Database\n  changes made by the bad release are not reverted.\n\n## Prebuilt deploys\n\n`vercel build` followed by `vercel deploy --prebuilt` (optionally\n`--archive=tgz` for thousands of files) deploys local build output. System\nenvironment variables such as `VERCEL_ENV` are missing at build time then, so\nuse Git-based or plain `vercel` deploys if the build reads them.\n\n## If the user did not approve\n\nSay what was done (preflight, local build), what was not, and the exact command\nthey can run or approve. Do not deploy \"to see if it works\".\n",{"name":5,"description":7},"main","e83cac15fc63134280e964895df4d584e5702c13","plugins\u002Fvercel-workflow\u002Fskills\u002Fvercel-deploy",2,"https:\u002F\u002Fgithub.com\u002Fcodewhale-hq\u002Fcodewhale-plugin-marketplace","https:\u002F\u002Fcodewhale.net","https:\u002F\u002Fgithub.com\u002Fcodewhale-hq","Open-source coding agent for your terminal. Works with the model provider you choose.","2026-11-13 11:48:42",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add codewhale-hq\u002Fcodewhale-plugin-marketplace --skill vercel-deploy",{"tool":39,"command":40},"bunx","bunx skills add codewhale-hq\u002Fcodewhale-plugin-marketplace --skill vercel-deploy",{"tool":42,"command":43},"pnpm","pnpm dlx skills add codewhale-hq\u002Fcodewhale-plugin-marketplace --skill vercel-deploy","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcodewhale-hq\u002Fcodewhale-plugin-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fvercel-workflow\u002Fskills\u002Fvercel-deploy\u002FSKILL.md",true,[],[48,55,62,69,75,82],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M7CG92AM4VSATJQ927PE34G4","xlsx","Create\u002Fedit\u002Fanalyze\u002Fverify spreadsheet workbooks including XLSX\u002FCSV\u002FTSV.","https:\u002F\u002Fgithub.com\u002Fcodewhale-hq\u002Fcodewhale-plugin-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fxlsx\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M7CG8ZBZXPCJACH06SFV39NM","webapp-testing","Start\u002Freuse a local app, wait for readiness, inspect rendered state\u002Fconsole\u002Fnetwork, act from observed selectors, and verify with evidence.","https:\u002F\u002Fgithub.com\u002Fcodewhale-hq\u002Fcodewhale-plugin-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7CG8XF83CD62S7TCPMECV4N","verify","Exercise the real app\u002FAPI\u002FCLI and collect observable evidence; tests alone do not count as end-to-end verification.","https:\u002F\u002Fgithub.com\u002Fcodewhale-hq\u002Fcodewhale-plugin-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fverify\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7CG8VF7HN4EHQM3PP877PB6","tts","https:\u002F\u002Fgithub.com\u002Fcodewhale-hq\u002Fcodewhale-plugin-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Ftts\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7CG8RSMADT0QKP2ZSF6EN6T","test","Detect the project’s test stack, run the narrowest useful tests, create tests when authorized, and report coverage\u002Fgaps honestly.","https:\u002F\u002Fgithub.com\u002Fcodewhale-hq\u002Fcodewhale-plugin-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Ftest\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7CG8MQTZ8VT7E4V3VY78F8X","spreadsheets","Compatibility alias for the xlsx skill. Prefer loading xlsx.","https:\u002F\u002Fgithub.com\u002Fcodewhale-hq\u002Fcodewhale-plugin-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fspreadsheets\u002FSKILL.md",[],[]]