Help us improve
Share bugs, ideas, or general feedback.
From interdeploy
Monitor Vercel deploy after push — poll status, diagnose build failures from logs, fix code, commit+push, repeat until success. Use after git push or when a Vercel deploy fails.
npx claudepluginhub mistakeknot/interagency-marketplace --plugin interdeployHow this skill is triggered — by the user, by Claude, or both
Slash command
/interdeploy:deploy-watchThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Monitor the Vercel deployment for the current branch. If it fails, automatically diagnose the build error, fix the code, push, and re-monitor until the deploy succeeds.
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Explores codebases via GitNexus: discover repos, query execution flows, trace processes, inspect symbol callers/callees, and review architecture.
Share bugs, ideas, or general feedback.
Monitor the Vercel deployment for the current branch. If it fails, automatically diagnose the build error, fix the code, push, and re-monitor until the deploy succeeds.
git push when you want to ensure the Vercel deploy passesgit pushgh CLI authenticated (for GitHub Deployments API)npx vercel) for richer build logsDetermine the GitHub repo from the git remote, then find the deployment for HEAD:
# Extract owner/repo from git remote
REMOTE_URL=$(git remote get-url origin 2>/dev/null)
REPO=$(echo "$REMOTE_URL" | sed -E 's|.*github\.com[:/]([^/]+/[^/.]+)(\.git)?$|\1|')
SHA=$(git rev-parse HEAD)
SHORT_SHA="${SHA:0:7}"
BRANCH=$(git branch --show-current)
Find the deployment:
gh api "repos/$REPO/deployments?sha=$SHA&per_page=1" --jq '.[0] | {id, environment, created_at}'
If no deployment exists yet, wait 10 seconds and retry up to 3 times. Vercel typically creates the deployment within seconds of the push.
Poll the deployment status every 15 seconds, up to 10 minutes:
DEPLOY_ID=<from step 1>
gh api "repos/$REPO/deployments/$DEPLOY_ID/statuses" --jq '.[0] | {state, description, target_url}'
States:
pending / in_progress / queued — keep pollingsuccess — report the preview URL and stop. Done!failure / error — go to Step 3Report progress concisely every 2-3 polls: "Deploy in progress... (45s)" — don't flood the conversation.
On failure, get build logs using this priority order:
Option A — Local build reproduction (fastest, try first):
pnpm build 2>&1 | tail -50
If the local build reproduces the error, you have the full error output. Skip to Step 4.
Option B — Vercel CLI (if installed):
The deployment status description field often contains a vercel inspect command:
npx vercel inspect <deployment-url> --logs 2>&1 | tail -80
Option C — GitHub check runs:
gh api "repos/$REPO/commits/$SHA/check-runs" --jq '.check_runs[] | select(.conclusion != "success") | {name, conclusion, output: .output}'
Option D — Vercel deployment page:
Open the target_url from the deployment status — the build logs are visible there. Report the URL to the user if you can't get logs programmatically.
pnpm build locally to verify the fix compiles.git add <fixed-files>
git commit -m "fix: resolve Vercel build error — <brief description>
Co-Authored-By: Claude <tool-use> <noreply@anthropic.com>"
git push
After pushing the fix, go back to Step 1 with the new SHA. Continue the loop.
/vercel:env or the Vercel dashboard.pnpm build locally before pushing.pnpm test if the project has tests. Don't push if tests fail.When the deploy succeeds, report:
Deploy successful!
SHA: <short-sha>
Branch: <branch>
Preview: <target-url>
Fix attempts: <n>
When giving up after max attempts:
Deploy still failing after 3 fix attempts.
SHA: <short-sha>
Last error: <summary>
Suggestion: <what to check manually>