一键导入
bk
Use when checking Buildkite CI/CD builds, investigating failures, viewing job logs, or answering questions about pipeline status.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when checking Buildkite CI/CD builds, investigating failures, viewing job logs, or answering questions about pipeline status.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Write a handoff brief summarizing the current conversation so a fresh agent can pick up the work. Writes to a file if given, otherwise copies to the clipboard.
Use when bootstrapping hk pre-commit hooks for a project.
Use when adding, updating, troubleshooting, or managing mise tool dependencies. Supplements /install with mise-specific context about backends, lockfiles, and the github-first policy.
Add a tool pattern to the global Claude Code permissions allow list in bin/sync-claude-settings
Use when labeling GitHub issues or triaging the backlog. Applies the project's label taxonomy from docs/labels.md.
Morning update routine: merge Renovate PRs, rebase local work, apply chezmoi changes
| name | bk |
| description | Use when checking Buildkite CI/CD builds, investigating failures, viewing job logs, or answering questions about pipeline status. |
| argument-hint | [build URL | build number | 'latest' | pipeline question] |
| allowed-tools | ["Glob","Read","Grep","Bash(bk build view:*)","Bash(bk build list:*)","Bash(bk build watch:*)","Bash(bk build download:*)","Bash(bk job list:*)","Bash(bk job log:*)","Bash(bk pipeline list:*)","Bash(bk pipeline view:*)","Bash(bk pipeline validate:*)","Bash(bk artifacts list:*)","Bash(bk artifacts download:*)","Bash(bk whoami:*)","Bash(bk config list:*)","Bash(bk config get:*)"] |
Investigate Buildkite builds, diagnose failures, and answer questions about pipeline status.
$ARGUMENTS
bk <command> --help first.bk CLI uses -p for pipeline and -b for branch/build-number. Always check --help for the specific command.--no-timestamps with bk job log for cleaner output.-o json when you need structured data for analysis.Determine what the user is asking about:
https://buildkite.com/org/pipeline/builds/123) → extract org, pipeline slug, build numberbk build view without a number (resolves to current branch)bk build list or bk job list with appropriate filtersIf not specified, infer from the current git repo. The bk CLI auto-detects pipeline when inside a repo.
If pipeline is ambiguous or bk can't detect it, use -p <pipeline-slug>.
For build failures:
bk build view <number> -o json — get build state and job listfailed, non-zero exit_status)bk job log <job-id> -p <pipeline> -b <build-number> --no-timestamps — get failure logsexit_status, error, failed, or ErrorFor general status:
bk build list -p <pipeline> — recent buildsbk build view — latest build on current branchbk job list -p <pipeline> --state failed — recent failuresWhen analyzing failures:
-1 = agent lost, 255 = forced agent shutdown, 1 = command failure, 17 = docker-compose plugin failurefailed to solve: messagesplugin <name> command hook exited with statusProvide a concise summary:
/bk 91 → investigate build 91
/bk https://buildkite.com/your-org/my-pipe/builds/42 → investigate from URL
/bk latest → check latest build on current branch
/bk why did this fail → latest build, find failures
/bk list failed builds → recent failures for current pipeline