What this agent helps you do
A Vercel and GitHub deployment triage agent investigates deployment failures and risky previews with code context. Vercel supplies deployment status, logs, previews, environment, build, and runtime signals, while GitHub supplies pull requests, commits, changed files, checks, and review history.
When to use this workflow
Use it for failed builds, broken previews, release readiness, post-deploy incidents, environment mismatches, or pull requests that need deployment-aware review.
How Vercel and GitHub give the agent context
Connect both plugins and provide the deployment, preview URL, or pull request. Vercel should show what happened during deployment; GitHub should show what changed in the codebase. Keep deployment changes and PR comments approval-based.
Example starter prompt
Compare this Vercel deployment or preview failure with the related GitHub changes. Prepare a triage brief with likely cause, affected files, owner recommendations, rollback or redeploy options, and verification steps.
Suggested workflow steps
Start with Vercel build, runtime, environment, and preview signals. Have the agent inspect GitHub commits, changed files, checks, and review comments, then identify which changes most likely caused the deployment issue.
Expected handoff
Ask for likely cause, affected files, owners, relevant logs, rollback or redeploy options, verification steps, and approval-required actions.