ワンクリックで
build-debugging
Analyzes failed Buildkite builds to identify root causes and provide fixes.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Analyzes failed Buildkite builds to identify root causes and provide fixes.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Diagnoses Buildkite agent issues like stuck jobs and queue mismatches.
Shows recent Buildkite build status for a pipeline with pass/fail visibility.
Triggers new Buildkite builds with branch/commit control and safety confirmations.
Unblocks Buildkite builds waiting for manual approval.
Retrieves and displays Buildkite job logs. For debugging failures, use build-debugging instead.
Helps write and improve Buildkite pipeline YAML configurations.
| name | build-debugging |
| description | Analyzes failed Buildkite builds to identify root causes and provide fixes. |
Analyze failed Buildkite builds to identify root causes and provide actionable fixes.
/buildkite:debug| Tool | Purpose |
|---|---|
get_build | Fetch build details including all jobs and their states |
read_logs | Get full log output for a specific job |
search_logs | Search for patterns within job logs |
tail_logs | Show last N log entries |
get_build_test_engine_runs | Get Test Engine results for the build |
get_failed_executions | Get details of failed tests |
list_artifacts_for_build | List uploaded artifacts |
get_artifact | Download a specific artifact |
list_annotations | List build annotations |
Parse build information from $ARGUMENTS or the user's message:
| Input Format | Example |
|---|---|
| Full URL | https://buildkite.com/org/pipeline/builds/123 |
| Build number | 123 |
| Pipeline + build | my-pipeline#123 or my-pipeline 123 |
| Description | "the latest failed build on main" |
If no build specified, ask the user which build to debug.
Fetch the build with buildkite_get_build
Identify failed jobs in the jobs array
state: "failed" or state: "timed_out"Read logs with buildkite_read_logs for failed jobs
Check test results if applicable
buildkite_get_build_test_engine_runs for Test Engine databuildkite_get_failed_test_executions for failure detailsReview artifacts for additional context
| Code | Meaning | Action |
|---|---|---|
| 1 | General error | Check command output |
| 127 | Command not found | Missing dependency or PATH issue |
| 137 | OOM killed (128+9) | Increase memory or optimize |
| 143 | SIGTERM (128+15) | Timeout or cancelled |
timeout_in_minutesUser: Why did build 456 fail?
1. Fetch build 456 with buildkite_get_build
2. Find failed job: "Run Tests" with exit code 1
3. Read logs, find: "Error: Cannot find module 'lodash'"
4. Respond with root cause (missing dependency) and fix (add to package.json)