Prompt file imported from 89jobrien/minibox (
.claude/commands/ci-watch.md). Fill in{{arguments}}before use. Copyright stays with the author.
Run CI watch for the current or specified branch.
-
Run
cargo xtask ci-watch(pass--branch <name>if provided in{{arguments}}) -
If xtask is unavailable, fallback — aggregate all workflows for the HEAD commit:
BRANCH=$(git branch --show-current) gh run list --branch "$BRANCH" --limit 15 \ --json databaseId,headSha,workflowName,status,conclusionFilter to runs matching the latest
headSha, report status for each workflow, and watch any that haven't completed.
Output includes: repo, branch, all workflows for the HEAD commit, per-job results with timing. Exit non-zero if any workflow concluded with failure.
