azure-devops-repos

Automate Azure DevOps PR creation, review, and merge workflows with Azure CLI.

Updated Feb 2, 2026
One-click install
npx skills add https://github.com/shellicar/claude-config --skill azure-devops-repos
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: azure-devops-repos
Source: https://github.com/shellicar/claude-config/tree/main/skills/azure-devops-repos
Command: npx skills add https://github.com/shellicar/claude-config --skill azure-devops-repos

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires Azure CLI (az), and includes scripts (resource) components.

What problem does it solve?

This Skill streamlines the management of Azure DevOps PRs by handling pull requests, merge workflows, and branch policies in one place.

Core Features & Use Cases

  • Create and manage PRs with proper descriptions and linked work items.
  • Configure auto-complete and merge policies to ensure consistent merges.
  • Centralize PR governance by applying and auditing branch protection rules.
  • Use the included pr-merge-message.sh to enforce and automate merge commit messages.

Quick Start

Create a PR and link work items, then generate and apply a standardized merge commit message using the provided script. For example:

  • Create PR: az repos pr create --title "Add feature X" --source-branch feature/x --target-branch main --description "$(cat description.md)"
  • Link work items: az repos pr work-item add --id <PR_ID> --work-items <WI_ID1> <WI_ID2>
  • Show merge message: ~/.claude/skills/azure-devops-repos/scripts/pr-merge-message.sh --org <org> --id <PR_ID> --show
  • Set auto-complete with merge message: ~/.claude/skills/azure-devops-repos/scripts/pr-merge-message.sh --org <org> --id <PR_ID> --set-auto-complete

Frequently Asked Questions about azure-devops-repos

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Azure DevOps pull request creation and link work items using the CLI?

You can automate Azure DevOps pull request creation and link work items by using Azure CLI commands to create the PR and then attach work item IDs. This Skill orchestrates those CLI commands to create PRs with proper descriptions and automatically link associated work items.

What is the best way to enforce standardized merge commit messages in Azure DevOps?

To enforce standardized merge commit messages in Azure DevOps, use the included pr-merge-message.sh script. It generates and applies consistent merge commit messages and can set auto-complete on your pull requests to ensure standardized merges.

Does this Azure DevOps PR automation require any specific tools or dependencies?

Yes, this Azure DevOps PR automation requires the Azure CLI (az) to be installed and configured. It relies on the Azure CLI to execute pull request management, work item linking, and branch policy enforcement workflows.

Can I configure auto-complete and branch policies for pull requests programmatically?

Yes, you can configure auto-complete and branch policies programmatically using Azure CLI commands orchestrated by this Skill. It centralizes PR governance by applying branch protection rules and setting auto-complete to ensure consistent merges across projects.

How do I audit and apply branch protection rules across Azure DevOps projects?

You can audit and apply branch protection rules across Azure DevOps projects using Azure CLI commands. This Skill centralizes PR governance by enforcing branch policies and validating merge workflows across your repositories.

Why are my Azure DevOps merge commit messages inconsistent across different pull requests?

Inconsistent Azure DevOps merge commit messages occur when there is no standardized enforcement mechanism. This Skill solves the problem by using the pr-merge-message.sh script to generate, validate, and apply uniform merge commit messages for every pull request.