Deploy Status
Report what git revision is live across production deploy targets and whether
each target matches origin/main.
Workflow
Resolve the helper script:
if [ -f "$HOME/.claude/skills/deploy-status/scripts/deploy-ops.mjs" ]; then DEPLOY_OPS="$HOME/.claude/skills/deploy-status/scripts/deploy-ops.mjs" elif [ -f "skills/deploy-status/scripts/deploy-ops.mjs" ]; then DEPLOY_OPS="skills/deploy-status/scripts/deploy-ops.mjs" else echo "deploy-status helper not found; re-run dotbabel bootstrap or dotbabel init" >&2 exit 2 fiRun the status command from the consuming project root:
node "$DEPLOY_OPS" status $ARGUMENTSPreserve the helper's exit code:
0- every target is in sync withorigin/main1- at least one target is behind, ahead, or otherwise drifted2- target discovery, provider auth, provider parsing, or SHA detection failed
Target Discovery
Discovery is configuration-first only where auto-discovery cannot prove a target. The helper:
- Auto-discovers Vercel from
.vercel/project.json. - Auto-discovers Fly.io from top-level
app = "..."infly.toml. - Merges
.claude/deploy-targets.jsonwhen present. Config entries override matching auto-discovered targets and add non-discoverable platforms.
Example config: examples/deploy-targets.example.json.
Provider References
Load only the provider notes that match discovered targets:
| Provider | Reference |
|---|---|
| Vercel | references/vercel.md |
| Fly.io | references/fly.md |
| AWS Amplify | references/aws-amplify.md |
Rules
- Do not prompt for provider tokens. Use the existing CLI auth state
(
vercel whoami,fly auth whoami). - Do not deploy or roll back from this skill. This skill is read-only except for
git fetch origin main --quiet. - If a provider cannot expose a git SHA, report that target as unknown and exit
2rather than inventing drift data.