[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79DE8K8PVM26Z95530SDRPF":3,"skill-same:01M79DE8K8PVM26Z95530SDRPF":72},{"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":45,"commitSha":46,"skillDirectory":47,"forksCount":14,"repositoryHtmlUrl":48,"repositoryHomepageUrl":6,"ownerHtmlUrl":49,"ownerBlogUrl":6,"ownerDescription":50,"updatedAt":51,"install":52,"resources":65},"01M79DE8K8PVM26Z95530SDRPF","deployments-cicd",null,"Vercel deployment and CI\u002FCD expert guidance. Use when deploying, promoting, rolling back, inspecting deployments, building with --prebuilt, or configuring CI workflow files for Vercel.","zfifteen\u002Fskills-catalog","zfifteen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F221906715?v=4","01M79CQFXDZM5J5CJTCECPFA66","Dionisio Alberto Lopez III","01M79CQFY4C62PN8A2T5KDAHGA",1,"MIT","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fdeployments-cicd\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: deployments-cicd\ndescription: Vercel deployment and CI\u002FCD expert guidance. Use when deploying, promoting, rolling back, inspecting deployments, building with --prebuilt, or configuring CI workflow files for Vercel.\nmetadata:\n  priority: 6\n  docs:\n    - \"https:\u002F\u002Fvercel.com\u002Fdocs\u002Fdeployments\u002Foverview\"\n    - \"https:\u002F\u002Fvercel.com\u002Fdocs\u002Fgit\"\n  sitemap: \"https:\u002F\u002Fvercel.com\u002Fsitemap\u002Fdocs.xml\"\n  pathPatterns:\n    - '.github\u002Fworkflows\u002F*.yml'\n    - '.github\u002Fworkflows\u002F*.yaml'\n    - '.gitlab-ci.yml'\n    - 'bitbucket-pipelines.yml'\n    - 'vercel.json'\n    - 'apps\u002F*\u002Fvercel.json'\n  bashPatterns:\n    - '\\bvercel\\s+deploy\\b'\n    - '\\bvercel\\s+--prod\\b'\n    - '\\bvercel\\s+promote\\b'\n    - '\\bvercel\\s+rollback\\b'\n    - '\\bvercel\\s+inspect\\b'\n    - '\\bvercel\\s+build\\b'\n    - '\\bvercel\\s+deploy\\s+--prebuilt\\b'\n---\n\n# Vercel Deployments & CI\u002FCD\n\nYou are an expert in Vercel deployment workflows — `vercel deploy`, `vercel promote`, `vercel rollback`, `vercel inspect`, `vercel build`, and CI\u002FCD pipeline integration with GitHub Actions, GitLab CI, and Bitbucket Pipelines.\n\n## Deployment Commands\n\n### Preview Deployment\n\n```bash\n# Deploy from project root (creates preview URL)\nvercel\n\n# Equivalent explicit form\nvercel deploy\n```\n\nPreview deployments are created automatically for every push to a non-production branch when using Git integration. They provide a unique URL for testing.\n\n### Production Deployment\n\n```bash\n# Deploy directly to production\nvercel --prod\nvercel deploy --prod\n\n# Force a new deployment (skip cache)\nvercel --prod --force\n```\n\n### Build Locally, Deploy Build Output\n\n```bash\n# Build locally (uses development env vars by default)\nvercel build\n\n# Build with production env vars\nvercel build --prod\n\n# Deploy only the build output (no remote build)\nvercel deploy --prebuilt\nvercel deploy --prebuilt --prod\n```\n\n**When to use `--prebuilt`:** Custom CI pipelines where you control the build step, need build caching at the CI level, or need to run tests between build and deploy.\n\n### Promote & Rollback\n\n```bash\n# Promote a preview deployment to production\nvercel promote \u003Cdeployment-url-or-id>\n\n# Rollback to the previous production deployment\nvercel rollback\n\n# Rollback to a specific deployment\nvercel rollback \u003Cdeployment-url-or-id>\n```\n\n**Promote vs deploy --prod:** `promote` is instant — it re-points the production alias without rebuilding. Use it when a preview deployment has been validated and is ready for production.\n\n### Inspect Deployments\n\n```bash\n# View deployment details (build info, functions, metadata)\nvercel inspect \u003Cdeployment-url>\n\n# List recent deployments\nvercel ls\n\n# View logs for a deployment\nvercel logs \u003Cdeployment-url>\nvercel logs \u003Cdeployment-url> --follow\n```\n\n## CI\u002FCD Integration\n\n### Required Environment Variables\n\nEvery CI pipeline needs these three variables:\n\n```bash\nVERCEL_TOKEN=\u003Cyour-token>        # Personal or team token\nVERCEL_ORG_ID=\u003Corg-id>           # From .vercel\u002Fproject.json\nVERCEL_PROJECT_ID=\u003Cproject-id>   # From .vercel\u002Fproject.json\n```\n\nSet these as secrets in your CI provider. Never commit them to source control.\n\n### GitHub Actions\n\n```yaml\nname: Deploy to Vercel\non:\n  push:\n    branches: [main]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n\n      - name: Install Vercel CLI\n        run: npm install -g vercel\n\n      - name: Pull Vercel Environment\n        run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}\n\n      - name: Build\n        run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}\n\n      - name: Deploy\n        run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}\n```\n\n### OIDC Federation (Secure Backend Access)\n\nVercel OIDC federation is for **secure backend access** — letting your deployed Vercel functions authenticate with third-party services (AWS, GCP, HashiCorp Vault) without storing long-lived secrets. It does **not** replace `VERCEL_TOKEN` for CLI deployments.\n\n**What OIDC does:** Your Vercel function requests a short-lived OIDC token from Vercel at runtime, then exchanges it with an external provider's STS\u002Ftoken endpoint for scoped credentials.\n\n**What OIDC does not do:** Authenticate the Vercel CLI in CI pipelines. All `vercel pull`, `vercel build`, and `vercel deploy` commands still require `--token=${{ secrets.VERCEL_TOKEN }}`.\n\n**When to use OIDC:**\n- Serverless functions that need to call AWS APIs (S3, DynamoDB, SQS)\n- Functions authenticating to GCP services via Workload Identity Federation\n- Any runtime service-to-service auth where you want to avoid storing static secrets in Vercel env vars\n\n### GitLab CI\n\n```yaml\ndeploy:\n  image: node:20\n  stage: deploy\n  script:\n    - npm install -g vercel\n    - vercel pull --yes --environment=production --token=$VERCEL_TOKEN\n    - vercel build --prod --token=$VERCEL_TOKEN\n    - vercel deploy --prebuilt --prod --token=$VERCEL_TOKEN\n  only:\n    - main\n```\n\n### Bitbucket Pipelines\n\n```yaml\npipelines:\n  branches:\n    main:\n      - step:\n          name: Deploy to Vercel\n          image: node:20\n          script:\n            - npm install -g vercel\n            - vercel pull --yes --environment=production --token=$VERCEL_TOKEN\n            - vercel build --prod --token=$VERCEL_TOKEN\n            - vercel deploy --prebuilt --prod --token=$VERCEL_TOKEN\n```\n\n## Common CI Patterns\n\n### Preview Deployments on PRs\n\n```yaml\n# GitHub Actions\non:\n  pull_request:\n    types: [opened, synchronize]\n\njobs:\n  preview:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - run: npm install -g vercel\n      - run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}\n      - run: vercel build --token=${{ secrets.VERCEL_TOKEN }}\n      - id: deploy\n        run: echo \"url=$(vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }})\" >> $GITHUB_OUTPUT\n      - name: Comment PR\n        uses: actions\u002Fgithub-script@v7\n        with:\n          script: |\n            github.rest.issues.createComment({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: `Preview: ${{ steps.deploy.outputs.url }}`\n            })\n```\n\n### Promote After Tests Pass\n\n```yaml\njobs:\n  deploy-preview:\n    # ... deploy preview ...\n    outputs:\n      url: ${{ steps.deploy.outputs.url }}\n\n  e2e-tests:\n    needs: deploy-preview\n    runs-on: ubuntu-latest\n    steps:\n      - run: npx playwright test --base-url=${{ needs.deploy-preview.outputs.url }}\n\n  promote:\n    needs: [deploy-preview, e2e-tests]\n    runs-on: ubuntu-latest\n    if: github.ref == 'refs\u002Fheads\u002Fmain'\n    steps:\n      - run: npm install -g vercel\n      - run: vercel promote ${{ needs.deploy-preview.outputs.url }} --token=${{ secrets.VERCEL_TOKEN }}\n```\n\n## Global CLI Flags for CI\n\n| Flag | Purpose |\n|------|---------|\n| `--token \u003Ctoken>` | Authenticate (required in CI) |\n| `--yes` \u002F `-y` | Skip confirmation prompts |\n| `--scope \u003Cteam>` | Execute as a specific team |\n| `--cwd \u003Cdir>` | Set working directory |\n\n## Best Practices\n\n1. **Always use `--prebuilt` in CI** — separates build from deploy, enables build caching and test gates\n2. **Use `vercel pull` before build** — ensures correct env vars and project settings\n3. **Prefer `promote` over re-deploy** — instant, no rebuild, same artifact\n4. **Use OIDC federation for runtime backend access** — lets Vercel functions auth to AWS\u002FGCP without static secrets (does not replace `VERCEL_TOKEN` for CLI)\n5. **Pin the Vercel CLI version in CI** — `npm install -g vercel@latest` can break unexpectedly\n6. **Add `--yes` flag in CI** — prevents interactive prompts from hanging pipelines\n\n## Deployment Strategy Matrix\n\n| Scenario | Strategy | Commands |\n|----------|----------|----------|\n| Standard team workflow | Git-push deploy | Push to main\u002Ffeature branches |\n| Custom CI\u002FCD (Actions, CircleCI) | Prebuilt deploy | `vercel build && vercel deploy --prebuilt` |\n| Monorepo with Turborepo | Affected + remote cache | `turbo run build --affected --remote-cache` |\n| Preview for every PR | Default behavior | Auto-creates preview URL per branch |\n| Promote preview to production | CLI promotion | `vercel promote \u003Curl>` |\n| Atomic deploys with DB migrations | Two-phase | Run migration → verify → `vercel promote` |\n| Edge-first architecture | Edge Functions | Set `runtime: 'edge'` in route config |\n\n## Common Build Errors\n\n| Error | Cause | Fix |\n|-------|-------|-----|\n| `ERR_PNPM_OUTDATED_LOCKFILE` | Lockfile doesn't match package.json | Run `pnpm install`, commit lockfile |\n| `NEXT_NOT_FOUND` | Root directory misconfigured | Set `rootDirectory` in Project Settings |\n| `Invalid next.config.js` | Config syntax error | Validate config locally with `next build` |\n| `functions\u002Fapi\u002F*.js` mismatch | Wrong file structure | Move to `app\u002Fapi\u002F` directory (App Router) |\n| `Error: EPERM` | File permission issue in build | Don't `chmod` in build scripts; use postinstall |\n\n## Deploy Summary Format\n\nPresent a structured deploy result block:\n\n```\n## Deploy Result\n- **URL**: \u003Cdeployment-url>\n- **Target**: production | preview\n- **Status**: READY | ERROR | BUILDING | QUEUED\n- **Commit**: \u003Cshort-sha>\n- **Framework**: \u003Cdetected-framework>\n- **Build Duration**: \u003Cduration>\n```\n\nIf the deployment failed, append:\n\n```\n- **Error**: \u003Csummary of failure from logs>\n```\n\nFor production deploys, also include:\n\n```\n### Post-Deploy Observability\n- **Error scan**: \u003CN errors found \u002F clean> (scanned via vercel logs --level error --since 1h)\n- **Drains**: \u003CN configured \u002F none>\n- **Monitoring**: \u003Cactive \u002F gaps identified>\n```\n\n## Deploy Next Steps\n\nBased on the deployment outcome:\n\n- **Success (preview)** → \"Visit the preview URL to verify. When ready, run `\u002Fdeploy prod` to promote to production.\"\n- **Success (production)** → \"Your production site is live. Run `\u002Fstatus` to see the full project overview.\"\n- **Build error** → \"Check the build logs above. Common fixes: verify `build` script in package.json, check for missing env vars with `\u002Fenv list`, ensure dependencies are installed.\"\n- **Missing env vars** → \"Run `\u002Fenv pull` to sync environment variables locally, or `\u002Fenv list` to review what's configured on Vercel.\"\n- **Monorepo issues** → \"Ensure the correct project root is configured in Vercel project settings. Check `vercel.json` for `rootDirectory`.\"\n- **Post-deploy errors detected** → \"Review errors above. Check `vercel logs \u003Curl> --level error` for details. If drains are configured, correlate with external monitoring.\"\n- **No monitoring configured** → \"Set up drains or install an error tracking integration before the next production deploy. Run `\u002Fstatus` for a full observability diagnostic.\"\n\n## Official Documentation\n\n- [Deployments](https:\u002F\u002Fvercel.com\u002Fdocs\u002Fdeployments)\n- [Vercel CLI](https:\u002F\u002Fvercel.com\u002Fdocs\u002Fcli)\n- [GitHub Actions](https:\u002F\u002Fvercel.com\u002Fdocs\u002Fdeployments\u002Fgit\u002Fvercel-for-github)\n- [GitLab CI](https:\u002F\u002Fvercel.com\u002Fdocs\u002Fdeployments\u002Fgit\u002Fvercel-for-gitlab)\n- [Bitbucket Pipelines](https:\u002F\u002Fvercel.com\u002Fdocs\u002Fdeployments\u002Fgit\u002Fvercel-for-bitbucket)\n- [OIDC Federation](https:\u002F\u002Fvercel.com\u002Fdocs\u002Foidc)\n","# Vercel Deployments & CI\u002FCD\n\nYou are an expert in Vercel deployment workflows — `vercel deploy`, `vercel promote`, `vercel rollback`, `vercel inspect`, `vercel build`, and CI\u002FCD pipeline integration with GitHub Actions, GitLab CI, and Bitbucket Pipelines.\n\n## Deployment Commands\n\n### Preview Deployment\n\n```bash\n# Deploy from project root (creates preview URL)\nvercel\n\n# Equivalent explicit form\nvercel deploy\n```\n\nPreview deployments are created automatically for every push to a non-production branch when using Git integration. They provide a unique URL for testing.\n\n### Production Deployment\n\n```bash\n# Deploy directly to production\nvercel --prod\nvercel deploy --prod\n\n# Force a new deployment (skip cache)\nvercel --prod --force\n```\n\n### Build Locally, Deploy Build Output\n\n```bash\n# Build locally (uses development env vars by default)\nvercel build\n\n# Build with production env vars\nvercel build --prod\n\n# Deploy only the build output (no remote build)\nvercel deploy --prebuilt\nvercel deploy --prebuilt --prod\n```\n\n**When to use `--prebuilt`:** Custom CI pipelines where you control the build step, need build caching at the CI level, or need to run tests between build and deploy.\n\n### Promote & Rollback\n\n```bash\n# Promote a preview deployment to production\nvercel promote \u003Cdeployment-url-or-id>\n\n# Rollback to the previous production deployment\nvercel rollback\n\n# Rollback to a specific deployment\nvercel rollback \u003Cdeployment-url-or-id>\n```\n\n**Promote vs deploy --prod:** `promote` is instant — it re-points the production alias without rebuilding. Use it when a preview deployment has been validated and is ready for production.\n\n### Inspect Deployments\n\n```bash\n# View deployment details (build info, functions, metadata)\nvercel inspect \u003Cdeployment-url>\n\n# List recent deployments\nvercel ls\n\n# View logs for a deployment\nvercel logs \u003Cdeployment-url>\nvercel logs \u003Cdeployment-url> --follow\n```\n\n## CI\u002FCD Integration\n\n### Required Environment Variables\n\nEvery CI pipeline needs these three variables:\n\n```bash\nVERCEL_TOKEN=\u003Cyour-token>        # Personal or team token\nVERCEL_ORG_ID=\u003Corg-id>           # From .vercel\u002Fproject.json\nVERCEL_PROJECT_ID=\u003Cproject-id>   # From .vercel\u002Fproject.json\n```\n\nSet these as secrets in your CI provider. Never commit them to source control.\n\n### GitHub Actions\n\n```yaml\nname: Deploy to Vercel\non:\n  push:\n    branches: [main]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n\n      - name: Install Vercel CLI\n        run: npm install -g vercel\n\n      - name: Pull Vercel Environment\n        run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}\n\n      - name: Build\n        run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}\n\n      - name: Deploy\n        run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}\n```\n\n### OIDC Federation (Secure Backend Access)\n\nVercel OIDC federation is for **secure backend access** — letting your deployed Vercel functions authenticate with third-party services (AWS, GCP, HashiCorp Vault) without storing long-lived secrets. It does **not** replace `VERCEL_TOKEN` for CLI deployments.\n\n**What OIDC does:** Your Vercel function requests a short-lived OIDC token from Vercel at runtime, then exchanges it with an external provider's STS\u002Ftoken endpoint for scoped credentials.\n\n**What OIDC does not do:** Authenticate the Vercel CLI in CI pipelines. All `vercel pull`, `vercel build`, and `vercel deploy` commands still require `--token=${{ secrets.VERCEL_TOKEN }}`.\n\n**When to use OIDC:**\n- Serverless functions that need to call AWS APIs (S3, DynamoDB, SQS)\n- Functions authenticating to GCP services via Workload Identity Federation\n- Any runtime service-to-service auth where you want to avoid storing static secrets in Vercel env vars\n\n### GitLab CI\n\n```yaml\ndeploy:\n  image: node:20\n  stage: deploy\n  script:\n    - npm install -g vercel\n    - vercel pull --yes --environment=production --token=$VERCEL_TOKEN\n    - vercel build --prod --token=$VERCEL_TOKEN\n    - vercel deploy --prebuilt --prod --token=$VERCEL_TOKEN\n  only:\n    - main\n```\n\n### Bitbucket Pipelines\n\n```yaml\npipelines:\n  branches:\n    main:\n      - step:\n          name: Deploy to Vercel\n          image: node:20\n          script:\n            - npm install -g vercel\n            - vercel pull --yes --environment=production --token=$VERCEL_TOKEN\n            - vercel build --prod --token=$VERCEL_TOKEN\n            - vercel deploy --prebuilt --prod --token=$VERCEL_TOKEN\n```\n\n## Common CI Patterns\n\n### Preview Deployments on PRs\n\n```yaml\n# GitHub Actions\non:\n  pull_request:\n    types: [opened, synchronize]\n\njobs:\n  preview:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - run: npm install -g vercel\n      - run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}\n      - run: vercel build --token=${{ secrets.VERCEL_TOKEN }}\n      - id: deploy\n        run: echo \"url=$(vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }})\" >> $GITHUB_OUTPUT\n      - name: Comment PR\n        uses: actions\u002Fgithub-script@v7\n        with:\n          script: |\n            github.rest.issues.createComment({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: `Preview: ${{ steps.deploy.outputs.url }}`\n            })\n```\n\n### Promote After Tests Pass\n\n```yaml\njobs:\n  deploy-preview:\n    # ... deploy preview ...\n    outputs:\n      url: ${{ steps.deploy.outputs.url }}\n\n  e2e-tests:\n    needs: deploy-preview\n    runs-on: ubuntu-latest\n    steps:\n      - run: npx playwright test --base-url=${{ needs.deploy-preview.outputs.url }}\n\n  promote:\n    needs: [deploy-preview, e2e-tests]\n    runs-on: ubuntu-latest\n    if: github.ref == 'refs\u002Fheads\u002Fmain'\n    steps:\n      - run: npm install -g vercel\n      - run: vercel promote ${{ needs.deploy-preview.outputs.url }} --token=${{ secrets.VERCEL_TOKEN }}\n```\n\n## Global CLI Flags for CI\n\n| Flag | Purpose |\n|------|---------|\n| `--token \u003Ctoken>` | Authenticate (required in CI) |\n| `--yes` \u002F `-y` | Skip confirmation prompts |\n| `--scope \u003Cteam>` | Execute as a specific team |\n| `--cwd \u003Cdir>` | Set working directory |\n\n## Best Practices\n\n1. **Always use `--prebuilt` in CI** — separates build from deploy, enables build caching and test gates\n2. **Use `vercel pull` before build** — ensures correct env vars and project settings\n3. **Prefer `promote` over re-deploy** — instant, no rebuild, same artifact\n4. **Use OIDC federation for runtime backend access** — lets Vercel functions auth to AWS\u002FGCP without static secrets (does not replace `VERCEL_TOKEN` for CLI)\n5. **Pin the Vercel CLI version in CI** — `npm install -g vercel@latest` can break unexpectedly\n6. **Add `--yes` flag in CI** — prevents interactive prompts from hanging pipelines\n\n## Deployment Strategy Matrix\n\n| Scenario | Strategy | Commands |\n|----------|----------|----------|\n| Standard team workflow | Git-push deploy | Push to main\u002Ffeature branches |\n| Custom CI\u002FCD (Actions, CircleCI) | Prebuilt deploy | `vercel build && vercel deploy --prebuilt` |\n| Monorepo with Turborepo | Affected + remote cache | `turbo run build --affected --remote-cache` |\n| Preview for every PR | Default behavior | Auto-creates preview URL per branch |\n| Promote preview to production | CLI promotion | `vercel promote \u003Curl>` |\n| Atomic deploys with DB migrations | Two-phase | Run migration → verify → `vercel promote` |\n| Edge-first architecture | Edge Functions | Set `runtime: 'edge'` in route config |\n\n## Common Build Errors\n\n| Error | Cause | Fix |\n|-------|-------|-----|\n| `ERR_PNPM_OUTDATED_LOCKFILE` | Lockfile doesn't match package.json | Run `pnpm install`, commit lockfile |\n| `NEXT_NOT_FOUND` | Root directory misconfigured | Set `rootDirectory` in Project Settings |\n| `Invalid next.config.js` | Config syntax error | Validate config locally with `next build` |\n| `functions\u002Fapi\u002F*.js` mismatch | Wrong file structure | Move to `app\u002Fapi\u002F` directory (App Router) |\n| `Error: EPERM` | File permission issue in build | Don't `chmod` in build scripts; use postinstall |\n\n## Deploy Summary Format\n\nPresent a structured deploy result block:\n\n```\n## Deploy Result\n- **URL**: \u003Cdeployment-url>\n- **Target**: production | preview\n- **Status**: READY | ERROR | BUILDING | QUEUED\n- **Commit**: \u003Cshort-sha>\n- **Framework**: \u003Cdetected-framework>\n- **Build Duration**: \u003Cduration>\n```\n\nIf the deployment failed, append:\n\n```\n- **Error**: \u003Csummary of failure from logs>\n```\n\nFor production deploys, also include:\n\n```\n### Post-Deploy Observability\n- **Error scan**: \u003CN errors found \u002F clean> (scanned via vercel logs --level error --since 1h)\n- **Drains**: \u003CN configured \u002F none>\n- **Monitoring**: \u003Cactive \u002F gaps identified>\n```\n\n## Deploy Next Steps\n\nBased on the deployment outcome:\n\n- **Success (preview)** → \"Visit the preview URL to verify. When ready, run `\u002Fdeploy prod` to promote to production.\"\n- **Success (production)** → \"Your production site is live. Run `\u002Fstatus` to see the full project overview.\"\n- **Build error** → \"Check the build logs above. Common fixes: verify `build` script in package.json, check for missing env vars with `\u002Fenv list`, ensure dependencies are installed.\"\n- **Missing env vars** → \"Run `\u002Fenv pull` to sync environment variables locally, or `\u002Fenv list` to review what's configured on Vercel.\"\n- **Monorepo issues** → \"Ensure the correct project root is configured in Vercel project settings. Check `vercel.json` for `rootDirectory`.\"\n- **Post-deploy errors detected** → \"Review errors above. Check `vercel logs \u003Curl> --level error` for details. If drains are configured, correlate with external monitoring.\"\n- **No monitoring configured** → \"Set up drains or install an error tracking integration before the next production deploy. Run `\u002Fstatus` for a full observability diagnostic.\"\n\n## Official Documentation\n\n- [Deployments](https:\u002F\u002Fvercel.com\u002Fdocs\u002Fdeployments)\n- [Vercel CLI](https:\u002F\u002Fvercel.com\u002Fdocs\u002Fcli)\n- [GitHub Actions](https:\u002F\u002Fvercel.com\u002Fdocs\u002Fdeployments\u002Fgit\u002Fvercel-for-github)\n- [GitLab CI](https:\u002F\u002Fvercel.com\u002Fdocs\u002Fdeployments\u002Fgit\u002Fvercel-for-gitlab)\n- [Bitbucket Pipelines](https:\u002F\u002Fvercel.com\u002Fdocs\u002Fdeployments\u002Fgit\u002Fvercel-for-bitbucket)\n- [OIDC Federation](https:\u002F\u002Fvercel.com\u002Fdocs\u002Foidc)\n",{"name":5,"metadata":24,"description":7},{"docs":25,"sitemap":28,"priority":29,"bashPatterns":30,"pathPatterns":38},[26,27],"https:\u002F\u002Fvercel.com\u002Fdocs\u002Fdeployments\u002Foverview","https:\u002F\u002Fvercel.com\u002Fdocs\u002Fgit","https:\u002F\u002Fvercel.com\u002Fsitemap\u002Fdocs.xml",6,[31,32,33,34,35,36,37],"\\bvercel\\s+deploy\\b","\\bvercel\\s+--prod\\b","\\bvercel\\s+promote\\b","\\bvercel\\s+rollback\\b","\\bvercel\\s+inspect\\b","\\bvercel\\s+build\\b","\\bvercel\\s+deploy\\s+--prebuilt\\b",[39,40,41,42,43,44],".github\u002Fworkflows\u002F*.yml",".github\u002Fworkflows\u002F*.yaml",".gitlab-ci.yml","bitbucket-pipelines.yml","vercel.json","apps\u002F*\u002Fvercel.json","main","d9535210da9af28aa76bca80de80355197e1b6d6","skills\u002Fdeployments-cicd","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog","https:\u002F\u002Fgithub.com\u002Fzfifteen","I like to measure things.","2026-07-19 23:41:54",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add zfifteen\u002Fskills-catalog --skill deployments-cicd",{"tool":58,"command":59},"bunx","bunx skills add zfifteen\u002Fskills-catalog --skill deployments-cicd",{"tool":61,"command":62},"pnpm","pnpm dlx skills add zfifteen\u002Fskills-catalog --skill deployments-cicd","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fdeployments-cicd\u002FSKILL.md",true,[66],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"agents\u002Fopenai.yaml","REFERENCE","参考文档",113,"https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fdeployments-cicd\u002Fagents\u002Fopenai.yaml",[73,80,87,94,103,110],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M79GXQ2PWPT2E4CJYHXVJ0YE","Zotero","Use Zotero Desktop from Codex to enable\u002Fprobe the local API, search a local Zotero library, list items\u002Fcollections\u002Ftags, export BibTeX, insert citation keys into LaTeX or Markdown drafts, read indexed full text when requested, and import BibTeX\u002FRIS records into Zotero through the connector server. Use when the user mentions Zotero, citations, references.bib, BibTeX export, local Zotero API, localhost:23119, or adding citations from a Zotero library.","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fzotero\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M79GXN85NETKBE06865CWK6Z","zoom-apps-sdk","Use when using Apps SDK.","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M79GXCYD7FGYS932J9N9RFFY","youtube","Obtain accurate, timestamped YouTube video transcripts (preferring manual captions over auto-generated) as the primary deliverable, then derive summaries, key claims, or notes from that transcript.  Use when the user provides a YouTube URL (or video ID) and wants the transcript, a faithful summary, key claims with attribution, timestamped notes, or \"what does this video actually say\".  The skill is transcript-first: never substitute metadata, title, description, or search snippets for the spoken content.  Triggers: \"youtube transcript\", \"get the transcript of this video\", \"summarize this youtube video\", \"what did they say in https:\u002F\u002Fyoutube.com\u002F...\", \"key claims from this talk\".","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fyoutube\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":98,"licenseFileUrl":99,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":19},"01M79GX8EXHHYM566BKR7MS778","yeet","Publish local changes to GitHub by confirming scope, committing intentionally, pushing the branch, and opening a draft PR through the GitHub app from this plugin, with `gh` used only as a fallback where connector coverage is insufficient.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fyeet\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fyeet\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":19},"01M79GX2HFJPX84NMRE5VBTYX9","x-post-creator","Create X-ready post threads and co-located story packages from the active conversation or referenced project material. Use when the user says turn this into an X-post, \u002Fx-post, make this into an X thread, or wants plain-language social posts with supporting images saved to docs\u002Fx-posts\u002F[story-name]\u002F.","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fx-post-creator\u002FSKILL.md",[],[],{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":19},"01M79GWXQT4HBT6QME6QSBZJFA","x-api","Search, read, and write X posts through the local X API MCP server (the same backend used by the Codex x-api skill). Use for searching X\u002Fx.com, reading threads and replies, creating lists, staging\u002Fpublishing posts for @alltheputs, finding high-visibility reply targets for research outreach, ingesting public context, or any request that mentions \u002Fx-api or \"search X\".","https:\u002F\u002Fgithub.com\u002Fzfifteen\u002Fskills-catalog\u002Fblob\u002Fmain\u002Fskills\u002Fx-api\u002FSKILL.md",[],[]]