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