skills/azure-devops/azure-devops-repos/SKILL.md
Creates, reviews, and completes Azure Repos pull requests and branch policies via az repos CLI. Use when opening ADO PRs, setting required reviewers, or configuring build validation policies.
npx skillsauth add pkuppens/pkuppens azure-devops-reposInstall 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.
Manages Azure Repos pull requests and branch policies.
main or release branchesUse the same prefixes as the agnostic workflow:
feature/NNN-short-descriptionhotfix/NNN-short-descriptionchore/NNN-short-descriptionLink every commit to a work item with AB#NNN in the message.
az repos pr create \
--source-branch feature/123-hybrid-retrieval \
--target-branch main \
--title "feat: add hybrid retrieval" \
--description "## Summary\n...\n\nRelated work: AB#123"
az repos pr list --status active
az repos pr show --id 42
az repos pr reviewer add --id 42 --reviewers [email protected]
Reviewers vote: approve, approve-with-suggestions, wait-for-author, or reject.
az repos pr update --id 42 --status completed --delete-source-branch true
Use --squash true when the team prefers a single commit on the target branch.
Typical policies on main:
| Policy | Purpose | |--------|---------| | Required reviewers | At least one approval before merge | | Build validation | Azure Pipeline must succeed on the PR | | Comment resolution | All PR comments resolved |
az repos policy list --branch main
az repos policy build create \
--branch main \
--build-definition-id 12 \
--display-name "CI validation" \
--enabled true \
--blocking true
## Summary
[What and why]
## Changes
- ...
## Validation evidence
- [ ] Lint passed locally
- [ ] Tests passed locally
- [ ] Pipeline green on PR
Related work: AB#NNN
docs/workflow/README.mdtools
Creates, queries, updates, and links Azure Boards work items via az boards CLI. Use when filing ADO work items, running WIQL queries, or setting area path, iteration, tags, and assignee.
development
Guides Azure Pipelines YAML structure, build validation on PRs, and staged deployment with environments and approvals. Use when authoring azure-pipelines.yml or configuring CI/CD on Azure DevOps.
tools
Orchestrates Azure DevOps work item, repo, and pipeline workflows using az CLI. Use when working with Azure DevOps, Azure Repos, Azure Boards, Azure Pipelines, or az devops commands.
development
Documents quality tree and quality scenarios; maps to requirements (arc42 §10). Use when defining non-functional goals, scenarios, or acceptance of quality attributes.