/buildkite:developing-pipelinesfrom buildkite
Creates, modifies, and debugs Buildkite pipeline YAML and pipeline.rb files using official documentation references for current syntax, plugin options, and deprecations.
Ships in buildkite. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Read the matching file under references/ before writing or changing pipeline YAML or pipeline.rb. Training data lags Buildkite's current syntax, plugin options, and deprecations.
When editing pipeline steps that use plugins:
plugins: entries in the stepbuildkite-plugins if no org specified{org}/{plugin}#version formatgithub.com/{org}/{plugin}-buildkite-pluginBuildkite directory (latest):
https://buildkite.com/resources/plugins/{org}/{plugin-name}-buildkite-plugin
GitHub README (version-specific):
https://github.com/{org}/{plugin-name}-buildkite-plugin/tree/{version}
"Is there a plugin for X?"
https://buildkite.com/resources/plugins/Internal plugins:
Search org's GitHub for repos matching *-buildkite-plugin
buildkite-builder generates the pipeline from Ruby. It is in use when both hold:
.buildkite/pipeline.yml references a Docker image containing "buildkite-builder".buildkite/pipeline.rb or .buildkite/pipelines/*/pipeline.rb existsWhen it is, edit the pipeline.rb files and read references/buildkite-builder/ alongside the YAML references.
Before writing the change, read the matching file in references/ for YAML, or in references/buildkite-builder/ for pipeline.rb.
Available references:
step-types.md - Command, trigger, block, wait, input stepsdynamic-pipelines.md - Generating steps programmaticallydependencies.md - Using depends_on, parallel stepsenvironment-variables.md - Setting and using env varsconditionals.md - if/branches for conditional executionartifacts.md - Uploading and downloading build artifactsSee references/index.md for complete list.
Plugin references (see references/plugins/index.md for full list):
plugins/docker.md - Docker container executionplugins/docker-compose.md - Multi-container environmentsplugins/artifacts.md - Artifact upload/downloadplugins/ecr.md - AWS ECR authenticationplugins/cache.md - Dependency cachingbuildkite-builder references (when detected):
buildkite-builder/index.md - Overview and when to usebuildkite-builder/dsl-syntax.md - Core DSL step typesbuildkite-builder/step-attributes.md - Common attributesbuildkite-builder/templates.md - Reusable step templatesbuildkite-builder/extensions.md - Custom DSL and extensionsbuildkite-builder/conditionals.md - Conditional step generationbuildkite-builder/dependencies.md - Step dependenciesbuildkite-builder/artifacts.md - Artifact handlingbuildkite-builder/plugins.md - Plugin usage in DSLbuildkite-builder/environment.md - Environment variablesSee references/buildkite-builder/index.md for complete guide.
Validate before proposing the change. When no validator is installed, give the user the command instead.
# Schema check with the bk CLI, local, no API token
bk pipeline validate --file .buildkite/pipeline.yml
# Or with buildkite-agent, where it is installed
buildkite-agent pipeline upload --dry-run < pipeline.yml
# Or validate a generated pipeline
./generate-pipeline.sh | buildkite-agent pipeline upload --dry-run
For buildkite-builder pipelines:
After proposing pipeline.rb changes:
# Generate YAML locally
docker run --rm \
-v $(pwd)/.buildkite:/workspace/.buildkite \
-e BUILDKITE_BRANCH=main \
-e BUILDKITE_COMMIT=abc123def \
-e BUILDKITE_BUILD_NUMBER=1 \
gusto/buildkite-builder:<tag from .buildkite/pipeline.yml>
# Validate generated YAML
docker run ... | buildkite-agent pipeline upload --dry-run
Note: List any custom ENV variables found in pipeline.rb and suggest setting real values if needed.
For any step with a plugins: block, follow Working with Plugins before changing it.
When user mentions errors, "not generating", "YAML looks wrong", or validation failures with buildkite-builder:
This mode switches from Ruby-first to YAML-aware debugging.
When generating steps programmatically:
# Standard pattern from official docs
.buildkite/pipeline.sh | buildkite-agent pipeline upload
When pipeline fails with validation errors:
README.md (opens in a new tab)references/artifacts.md (opens in a new tab)references/build-meta-data.md (opens in a new tab)references/build-retention.md (opens in a new tab)references/build-timeouts.md (opens in a new tab)references/buildkite-builder/artifacts.md (opens in a new tab)references/buildkite-builder/conditionals.md (opens in a new tab)references/buildkite-builder/dependencies.md (opens in a new tab)references/buildkite-builder/dsl-syntax.md (opens in a new tab)references/buildkite-builder/environment.md (opens in a new tab)references/buildkite-builder/extensions.md (opens in a new tab)references/buildkite-builder/index.md (opens in a new tab)references/buildkite-builder/plugins.md (opens in a new tab)references/buildkite-builder/step-attributes.md (opens in a new tab)references/buildkite-builder/templates.md (opens in a new tab)references/conditionals.md (opens in a new tab)references/defining-steps.md (opens in a new tab)references/dependencies.md (opens in a new tab)references/dynamic-pipelines.md (opens in a new tab)references/environment-variables.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub technicalpickles/pickled-claude-plugins --plugin buildkite2 skills in this plugin
Other plugins' skills for the same job