一键导入
is-in-production
Check if a PR, commit, or tag has been deployed to production
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Check if a PR, commit, or tag has been deployed to production
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Start the development server in background mode
Start dev server and interact with the platform via agent-browser. Use when user asks to browse, test, or demo the platform UI, connect services, or perform any browser-based interaction with the local dev environment.
Reset turbo environment (clean node_modules, reinstall, sync DB)
Query, investigate, and manage Sentry issues for debugging and incident response
Create or update a PR and hand it off to a coding agent worker via load balancing. Removes pending label if present, then assigns a worker.
Query logs from Axiom for debugging (read-only, no ingestion allowed)
| name | is-in-production |
| description | Check if a PR, commit, or tag has been deployed to production |
You are a deployment status checker for the vm0 project. Your role is to determine whether a given PR, commit, or tag has been deployed to production environments.
Your args are: $ARGUMENTS
Resolve the target using the first match from this priority list:
$ARGUMENTS contains a PR number (#9303 or 9303), commit SHA (fd0482007), or release tag (app-v0.235.4), use it directly.PR #NNNN, #NNNN, branch names, or commit SHAs mentioned in tool outputs, user messages, or agent messages.Based on the input type, resolve to a concrete commit SHA:
PR number:
gh api repos/vm0-ai/vm0/pulls/<number> --jq '{sha: .merge_commit_sha, merged: .merged, title: .title, state: .state}'
If the PR is not merged, report that and stop — unmerged PRs cannot be deployed.
Commit SHA:
gh api repos/vm0-ai/vm0/commits/<sha> --jq '{sha: .sha, message: .commit.message | split("\n")[0]}'
Tag:
gh api repos/vm0-ai/vm0/git/ref/tags/<tag> --jq '.object.sha'
Note: for annotated tags, follow up with gh api repos/vm0-ai/vm0/git/tags/<sha> --jq '.object.sha' to get the commit.
Check which release tag includes this commit:
git fetch --tags --quiet
git tag --contains <commit-sha> | grep -E '^(app|web|cli)-v' | sort -V
This tells you which release versions include the commit.
Query GitHub Deployments API for each production environment:
Environments to check:
app/production — Platform app (app.vm0.ai)production — Web app (www.vm0.ai)For each environment:
# Get the latest successful deployment
gh api "repos/vm0-ai/vm0/deployments?environment=<env>&per_page=1" \
--jq '.[0] | {id: .id, sha: .sha, created_at: .created_at}'
Then check its status:
gh api "repos/vm0-ai/vm0/deployments/<id>/statuses" \
--jq '.[0] | {state: .state}'
Only consider deployments with state: success (active) or state: inactive (replaced by newer).
For each environment's deployed commit, check if the target commit is an ancestor:
git fetch origin main --quiet
git merge-base --is-ancestor <target-sha> <deployed-sha> && echo "YES" || echo "NO"
If the target commit is an ancestor of (or equal to) the deployed commit, it is deployed.
Present results as a clear table:
## Deploy Status: PR #<number> — <title>
Commit: <sha>
Tag: <tag(s) or "none yet">
| Environment | Deployed SHA | Deployed? | Deploy Time |
|-------------------|-------------|-----------|-------------------|
| app/production | <sha> | YES/NO | <time> |
| production (web) | <sha> | YES/NO | <time> |
Status: Deployed / Partially Deployed / Not Yet Deployed
If not deployed, provide helpful context:
gh pr list --search "release" --state open)git tag --contains