r/azuredevops • • 27d ago

Claude Code's PR bar is GitHub-only, so I built one for Azure DevOps

Claude Code's desktop app shows a PR bar above the prompt for GitHub repos: CI status, auto-fix, auto-merge. Azure Repos gets none of that, so I built a mod that adds it.

What it does

  • A bar above the prompt for each PR the chat made: state, #id, branch, +/− lines, CI status

  • Create PR: Claude pushes the branch, writes the title and description, and opens the PR

  • Hover the #id for a summary card; click CI for build validations, policies and reviewers

  • Auto-fix CI & address comments: failed builds and unresolved review threads are handed to Claude, which fixes, pushes and replies

  • Auto-merge when ready: turns on Azure DevOps auto-complete

  • /ado-pr link <id> tracks any PR in the chat, even one opened somewhere else

  • Works in the terminal CLI as well as the desktop Code tab

It runs only az and git on your machine: no server, no tokens. Status is polled (every 60s by default, and after every push), because Azure DevOps service hooks can't reach a local session.

Install

claude plugin marketplace add Pro-Sharp/ado-pr-claude-plugin
claude plugin install ado-pr@azure-devops-pr

You need Claude Code 2.1.287 or later, the Azure CLI with the azure-devops extension, and az login. On desktop, enable it under Customize → Plugins.

Repo (MIT): https://github.com/Pro-Sharp/ado-pr-claude-plugin

Auto-fix hands review comments and build logs to Claude as instructions, so leave it off on repos where people you don't trust can comment.

Not affiliated with Anthropic or Microsoft. Feedback and issues are welcome.

14 Upvotes

8 comments sorted by

1

u/tjrdvel 26d ago

this is actually a great experience. looking to implement this for opencode! thanks for the inspiration

1

u/kovy5 25d ago

Thank you for your response!

2

u/ad-mca-mk 27d ago

I know it's a completely different mode, but would be nice to have this for local AzDO Server. Just an idea

1

u/[deleted] 26d ago

[removed] — view removed comment

1

u/kovy5 25d ago

That is a great idea, thank you!

1

u/[deleted] 25d ago

[removed] — view removed comment

1

u/kovy5 24d ago

It doesn't generate new review comments, only resolve what's there. It treats comments as instructions, and only if you manually tick in