pr-build-status

dotnet's avatarfrom dotnet

Retrieve Azure DevOps build information for GitHub Pull Requests, including build IDs, stage status, and failed jobs.

⭐23.1kstars🔀1.9kforks📁View on GitHub🕐Updated Jan 10, 2026

When & Why to Use This Skill

This Claude skill streamlines the development workflow by retrieving real-time Azure DevOps build information for GitHub Pull Requests. It enables developers to quickly identify build IDs, monitor stage status, and diagnose failed jobs or test errors directly within the chat interface, significantly reducing the time spent switching between platforms and enhancing CI/CD pipeline visibility.

Use Cases

  • Automated PR Health Checks: Quickly verify the status of all CI/CD checks for a specific GitHub Pull Request to ensure code quality and readiness before merging.
  • Rapid Debugging of Build Failures: Identify and extract specific compilation errors or failed test cases from Azure DevOps logs without manually navigating through complex web UIs.
  • Continuous Integration Monitoring: Track the progress of multi-stage builds and receive detailed reports on which specific jobs or stages failed during the integration process.
  • Developer Productivity: Streamline the feedback loop by allowing developers to query 'what's failing on PR #XXXXX' and receive actionable error details and test results immediately.
namepr-build-status
description"Retrieve Azure DevOps build information for GitHub Pull Requests, including build IDs, stage status, and failed jobs."
authordotnet-maui
version"1.0"
compatibilityRequires GitHub CLI (gh) authenticated with access to dotnet/maui repository.

PR Build Status Skill

Retrieve Azure DevOps build information for GitHub Pull Requests.

Tools Required

This skill uses bash together with pwsh (PowerShell 7+) to run the PowerShell scripts. No file editing or other tools are required.

When to Use

  • User asks about CI/CD status for a PR
  • User asks about failed checks or builds
  • User asks "what's failing on PR #XXXXX"
  • User wants to see test results

Scripts

All scripts are in .github/skills/pr-build-status/scripts/

1. Get Build IDs for a PR

pwsh .github/skills/pr-build-status/scripts/Get-PrBuildIds.ps1 -PrNumber <PR_NUMBER>

2. Get Build Status

pwsh .github/skills/pr-build-status/scripts/Get-BuildInfo.ps1 -BuildId <BUILD_ID>
# For failed jobs only:
pwsh .github/skills/pr-build-status/scripts/Get-BuildInfo.ps1 -BuildId <BUILD_ID> -FailedOnly

3. Get Build Errors and Test Failures

# Get all errors (build errors + test failures)
pwsh .github/skills/pr-build-status/scripts/Get-BuildErrors.ps1 -BuildId <BUILD_ID>

# Get only build/compilation errors
pwsh .github/skills/pr-build-status/scripts/Get-BuildErrors.ps1 -BuildId <BUILD_ID> -ErrorsOnly

# Get only test failures
pwsh .github/skills/pr-build-status/scripts/Get-BuildErrors.ps1 -BuildId <BUILD_ID> -TestsOnly

Workflow

  1. Get build IDs: scripts/Get-PrBuildIds.ps1 -PrNumber XXXXX
  2. For each build, get status: scripts/Get-BuildInfo.ps1 -BuildId YYYYY
  3. For failed builds, get error details: scripts/Get-BuildErrors.ps1 -BuildId YYYYY

Prerequisites

  • gh (GitHub CLI) - authenticated
  • pwsh (PowerShell 7+)