Agent skill
investigating-pull-request
Shows the CI status for a single GitHub pull request. Displays PR metadata (title, author, fork, branch) and renders Azure Pipelines build timeline trees for each pipeline run. Use when a user provides a PR number or URL and wants to check its CI status or diagnose failures.
Install this agent skill to your Project
npx add-skill https://github.com/lbussell/agent-skills/tree/main/skills/investigating-pull-request
SKILL.md
Usage
# By PR number (auto-detects repo from 'gh repo set-default --view')
dotnet scripts/GetPullRequestStatus.cs 123
# By PR number with explicit repo
dotnet scripts/GetPullRequestStatus.cs 123 --repo owner/repo
# Show all tasks, not just failing ones
dotnet scripts/GetPullRequestStatus.cs 123 --show-all
The script auto-detects the GitHub repository via gh repo set-default --view when --repo is not provided. It outputs PR metadata followed by a build timeline tree for each Azure Pipelines run. Non-Azure checks (GitHub Actions, etc.) are listed separately at the end.
To dig deeper into a specific failing build, use the investigating-pipeline skill with the build ID shown in the output.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
create-sub-agent-worktree
Spawn a Copilot CLI agent in its own git worktree and tmux window. Creates a new branch via worktrunk (`wt`), opens a tmux window in the target session, and launches `copilot -i` with a prompt. Use when the user asks to run a task in parallel, hand off work to another agent, or start a background coding task in a separate worktree.
triage-pull-requests
Triage open pull requests in a repository into actionable categories: ready to merge, needs review, needs action, stale, waiting. Use for daily PR triage to quickly identify what needs attention.
triage-followup
Produce a follow-up document from a .NET containers triage meeting. Takes a VTT transcript and correlates it with the user's recent GitHub activity to produce a markdown document with concrete to-dos and links. Use after a triage meeting when the user has a .vtt transcript file.
property-testing-cscheck
Write property-based tests in C# using CsCheck. Covers generator composition, property selection (round-trip, invariant, model-based, metamorphic), parallel linearizability testing, performance comparison, classification, and configuration. Use when writing, reviewing, or improving property-based tests in a .NET project that uses CsCheck.
triage-pipelines
List all failing and warning Azure Pipelines for daily triage. Checks preconfigured pipeline folders and reports any with failed or warning builds. Use for daily pipeline health checks.
investigating-pipeline
Diagnoses a single Azure Pipelines build. Shows the build timeline tree with stages, jobs, and task results, and retrieves task logs for debugging failures. Use when a user provides a build ID or Azure DevOps build URL and wants to understand what failed and why.
Didn't find tool you were looking for?