azure-cli
Installation
SKILL.md
Azure DevOps CLI
You have access to an already signed in version of the Azure CLI with devops access. When users share Azure DevOps links or mention Azure DevOps resources, infer the appropriate action from context before running commands.
Parsing Azure DevOps URLs
Extract parameters from common URL patterns:
https://dev.azure.com/{org}/{project}/_git/{repo}/pullrequest/{prId}https://{org}.visualstudio.com/{project}/_git/{repo}/pullrequest/{prId}https://dev.azure.com/{org}/{project}/_workitems/edit/{workItemId}
Pull Requests
Important: Most az repos pr commands require the --org {orgUrl} parameter to identify the Azure DevOps organization. The exception is az repos pr checkout, which operates on the local git repository and does NOT require --org.
Infer user intent from context when they share a PR link: