Use Azure DevOps CLI for ADO work items, backlog filtering, and pull requests.
Use this skill whenever the user asks for Azure DevOps (ADO) operations like Boards, Work Items, Backlog filtering, Repositories, or Repos Pull Requests.
az boards, az repos, az devops) over manual or web instructions.az extension add --name azure-devops
az devops configure --defaults organization=<https://dev.azure.com/org> project=<project>
az login) and, when needed, logged into ADO:
az devops login --organization <https://dev.azure.com/org>
az devops configure --list
az boards work-item show --id <work_item_id> --output json
az boards query --wiql "SELECT [System.Id], [System.Title], [System.State]
FROM WorkItems
WHERE [System.TeamProject] = @project
AND [System.WorkItemType] IN ('User Story','Task','Bug')
ORDER BY [System.ChangedDate] DESC" --output table
az boards query --wiql "SELECT [System.Id], [System.Title], [System.State], [System.AssignedTo]
FROM WorkItems
WHERE [System.TeamProject] = @project
AND [System.WorkItemType] IN ('User Story','Task','Bug')
AND [System.State] <> 'Closed'
AND [System.AssignedTo] = @Me
ORDER BY [System.ChangedDate] DESC" --output table
az repos pr create \
--repository <repo_name_or_id> \
--source-branch <source_branch> \
--target-branch <target_branch> \
--title "<title>" \
--description "<description>"
az repos pr list --repository <repo_name_or_id> --status active --output table