get-pr-review-bundle
Skill0 starsChanged 9 months agoApache-2.0View on GitHub
Fetch a paged review bundle for an Azure DevOps pull request in one call: PR metadata, latest/selected iteration, projected changed files, and filtered PR threads. Designed to stay safe on large PRs with offset/limit pagination and hard caps.
In this repository21 other files it gives its agents.
- accept-prSkill
- approve-with-suggestionsSkill
- check-deprecated-dependenciesSkill
- get-commit-diffsSkill
- get-file-contentSkill
- get-github-advisoriesSkill
- get-multiple-filesSkill
- get-pr-changed-filesSkill
- get-pr-changesSkill
- get-pr-dependency-advisoriesSkill
- get-pr-detailsSkill
- get-pr-diff-line-mapperSkill
- get-pr-iterationsSkill
- get-pr-threadsSkill
- list-projectsSkill
- list-repositoriesSkill
- post-pr-commentSkill
- reject-prSkill
- reset-feedbackSkill
- update-pr-threadSkill
- wait-for-authorSkill
The file
Files
Get PR Review Bundle
Platform Note
- Clean-install path: use the Go command from
.github/tools/skills-go.
Arguments
| # | Name | Required | Description |
| 1 | organization | Yes | Azure DevOps organization |
| 2 | project | Yes | Project name or ID |
| 3 | repositoryId | Yes | Repository name or ID |
| 4 | pullRequestId | Yes | Pull request ID |
| 5 | iterationId | No | Explicit iteration ID. If omitted, latest iteration is used |
| 6 | fileOffset | No | Zero-based changed-file page offset (default: 0) |
| 7 | fileLimit | No | Changed-file page size (default: 100, max: 500) |
| 8 | threadOffset | No | Zero-based thread page offset (default: 0) |
| 9 | threadLimit | No | Thread page size (default: 100, max: 500) |
| 10 | statusFilter | No | Thread status filter (for example: active) |
| 11 | excludeSystem | No | true/false to exclude system threads (default: true) |
| 12 | includeLineMap | No | true/false to include simple line-map estimates for returned file page |
Examples
# Summary-first bundle for a large PR
go run ./.github/tools/skills-go/cmd/skills-go get-pr-review-bundle myorg MyProject MyRepo 42
# Fetch next page of files while keeping thread page at start
go run ./.github/tools/skills-go/cmd/skills-go get-pr-review-bundle myorg MyProject MyRepo 42 "" 100 100 0 100 active true falseOutput
Returns JSON with:
pullRequest: full PR metadataiterationId,sourceBranch,targetBranchsummary: totals andhasMoreflagsfilesandthreadspage objects (offset,limit,total,hasMore,items)nextFileOffset/nextThreadOffsetwhen additional pages existwarningswhen requested limits are capped
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

