home/dot_claude/skills/bk/SKILL.md
Use when checking Buildkite CI/CD builds, investigating failures, viewing job logs, or answering questions about pipeline status.
npx skillsauth add ivy/dotfiles bkInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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
tools
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.
data-ai
Use when the user wants to set, change, or clear git commit co-authors for pair or mob programming.
tools
Use when bootstrapping hk pre-commit hooks for a project.
testing
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me".