debug-ci

Installation
SKILL.md

Investigate CI failures for a Materialize PR.

Prerequisites

This skill requires both gh (GitHub CLI) and bk (Buildkite CLI) to be installed and authenticated. Before doing anything else, verify both are available by running which gh and which bk. If either tool is missing, stop immediately and tell the user which tool(s) need to be installed and configured. Do not attempt to use the REST API directly or any other workaround — this workflow only works with these CLI tools.

Both gh and bk make network requests that are blocked by the default sandbox. All Bash commands in this workflow must use dangerouslyDisableSandbox: true.

Step 1: Extract PR number

Parse $ARGUMENTS to get the PR number. Handle both formats:

  • Plain number: 35192
  • Full URL: https://github.com/MaterializeInc/materialize/pull/35192

Step 2: Find the build

Use gh to get the PR's branch name and then find the Buildkite build:

Related skills
Installs
1
GitHub Stars
6.3K
First Seen
Apr 3, 2026