Commit, push, monitor Vercel preview deployment, and create PR only after user verifies
git statusgit diff HEADgit branch --show-currentgit log --oneline -10gh pr list --head $(git branch --show-current) --json number,title,url 2>/dev/null || echo "none"gh api repos/$(gh repo view --json owner,name -q '.owner.login + "/" + .name')/deployments --jq 'length' 2>/dev/null || echo "0"Based on the above context, execute the full deployment pipeline:
-u flag: git push -u origin <branch>deployment-monitor agent typegh api repos/{owner}/{repo}/deployments or check Vercel deployment status. If deployment fails, fetch build logs, fix the code, commit, push, and retry (max 3 attempts). If deployment succeeds, extract the Vercel preview URL and share it with the user. Ask them to test the preview to verify their changes work correctly."gh pr create --title "<concise title from commits>" --body "$(cat <<'EOF'
## Summary
<bullet points summarizing changes>
## Test plan
- [x] Vercel preview deployment passes
- [x] Manual verification of changes on preview
Generated with jb-plugin /ship
EOF
)"
gh pr merge <pr-number> --squash --delete-branch
deployment-monitor agent type to monitor the production deployment on mainmain branch, auto-create a feature branch before proceeding:
fix-login-bug, add-pdf-export, update-deployment-monitor)git checkout -b <branch-name>