Buildkite CI/CD integration. Use when the user needs to check build status, trigger builds, read build logs, debug failures, manage pipelines, or any Buildkite workflow. Triggers include "buildkite", "build", "pipeline", "CI", "deploy", "build log", "build failed".
Resources
2Install
npx skillscat add hjewkes/agent-skills/buildkite Install via the SkillsCat registry.
Buildkite — CI/CD
Setup
The buildkite wrapper auto-detects first run and launches scripts/setup.
Build Operations
# List recent builds for a pipeline
buildkite build list --pipeline SLUG
# View build details
buildkite build view BUILD_NUMBER --pipeline SLUG
# Trigger a new build
buildkite build create --pipeline SLUG --branch main --message "Deploy"
# Rebuild a failed build
buildkite build rebuild BUILD_NUMBER --pipeline SLUG
# Cancel a running build
buildkite build cancel BUILD_NUMBER --pipeline SLUGJob & Log Operations
# List jobs for a build
buildkite job list --build BUILD_NUMBER --pipeline SLUG
# View job log output
buildkite job log JOB_ID
# Download build artifacts
buildkite artifacts download --build BUILD_NUMBER --pipeline SLUGPipeline Operations
# List all pipelines
buildkite pipeline list
# View pipeline configuration
buildkite pipeline view SLUGFailure Debugging Workflow
When a build fails, follow this sequence:
Find the failed build:
buildkite build list --pipeline SLUG --state failedView build details to see which jobs failed:
buildkite build view BUILD_NUMBER --pipeline SLUGGet the failed job's log:
buildkite job log JOB_IDDownload artifacts (test reports, etc.) if available:
buildkite artifacts download --build BUILD_NUMBER --pipeline SLUG
For detailed debugging patterns, load references/build-debugging.md.
Output Conventions
buildkiteoutputs JSON by default — pipe throughjqfor display or extraction.- Use
buildkite apifor REST API endpoints not covered by direct commands. - Example:
buildkite api /v2/organizations/ORG/pipelines | jq '.[].slug'
Reference Files
| Reference | When to Load |
|---|---|
| references/bk-commands.md | Full bk CLI command reference needed |
| references/build-debugging.md | Debugging build failures in depth |
| references/troubleshooting.md | Auth failures, CLI errors, rate limits |