plugins/azure-devops/skills/ado-pr/SKILL.md
When users share Azure DevOps pull request links or ask about an Azure DevOps PR, inspect and manage the PR with Azure CLI plus the local PR helper script.
npx skillsauth add scaryrawr/scarypilot ado-prInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill for existing Azure DevOps pull requests.
./scripts/... resolves from this skill directory)../scripts/ado-pr.mts --help.contextStart with the helper script so you have normalized IDs and branch metadata before composing follow-up commands:
./scripts/ado-pr.mts context --id {prId} --detect true
Use these fields directly:
pullRequestId, title, status, isDraftsourceBranch, targetBranchrepositoryId, repositoryNameprojectId, projectNamecreatedBy, urlUse --org {orgUrl} instead of --detect true when auto-detection is unavailable.
list-threadsUse the thread helper instead of hand-building the az devops invoke call each time:
./scripts/ado-pr.mts list-threads --id {prId} --status active --detect true
Use count and threads from the JSON response. Omit --status when you need all threads.
thread-payloadNever hand-write review thread JSON when the helper can do it for you:
./scripts/ado-pr.mts thread-payload \
--content "Your comment" \
--file-path /src/path/to/file.ts \
--line-start 42 \
--line-end 42 \
--out-file /tmp/thread.json
az devops invoke --area git --resource pullRequestThreads \
--route-parameters project={project} repositoryId={repo} pullRequestId={prId} \
--http-method POST --api-version 7.1-preview \
--detect true --in-file /tmp/thread.json
For top-level comments, omit the file and line flags. If you pass --out-file, the script returns { outFile, payload }; otherwise it returns the payload directly.
context.list-threads when you need prior discussion state.thread-payload before posting inline or top-level comments.Show a PR:
az repos pr show --id {prId} --detect true
List PRs:
az repos pr list --detect true --status active --output table
Checkout a PR locally:
az repos pr checkout --id {prId}
Set a vote:
az repos pr set-vote --id {prId} --vote approve --detect true
Update PR status:
az repos pr update --id {prId} --status completed --detect true
List linked work items:
az repos pr work-item list --id {prId} --detect true
Manage reviewers:
az repos pr reviewer list --id {prId} --detect true
az repos pr reviewer add --id {prId} --reviewers {email} --detect true
az repos pr reviewer remove --id {prId} --reviewers {email} --detect true
Check policy status:
az repos pr policy list --id {prId} --detect true --output table
threadContext line ranges as small as possible for file-specific comments.--detect true fails, rerun with an explicit --org value.testing
Manage parallel git worktrees with Worktrunk (`wt`) and enforce disk-fit preflight checks before creating new worktrees.
data-ai
Generate images from text prompts using Ollama's local image generation models.
tools
Create Ghostty windows/tabs/splits and drive terminals with focus/input for multitasking workflows on macOS.
testing
Quickly bootstrap repo-specific Copilot instructions with high signal and low context bloat.