az-clilisted
Install: claude install-skill lttr/claude-marketplace
# Azure DevOps CLI
## Overview
Manage Azure DevOps resources using the `az` CLI with the `azure-devops` extension. Covers repositories, pull requests, pipelines, boards, and work items.
## Prerequisites
```bash
# Install azure-devops extension (requires az cli 2.30+)
az extension add --name azure-devops
# Authenticate
az login
# Set defaults (recommended)
az devops configure --defaults organization=https://dev.azure.com/YOUR_ORG project=YOUR_PROJECT
```
## Most-Used Commands
### My Pull Requests
```bash
# List PRs I created
az repos pr list --creator "$(az account show --query user.name -o tsv)"
# List PRs assigned to me for review
az repos pr list --reviewer "$(az account show --query user.name -o tsv)"
# Show PR details
az repos pr show --id <pr-id>
# Checkout PR locally
az repos pr checkout --id <pr-id>
```
### My Work Items
```bash
# List work items assigned to me
az boards query --wiql "SELECT [System.Id], [System.Title], [System.State] FROM WorkItems WHERE [System.AssignedTo] = @Me AND [System.State] <> 'Closed' ORDER BY [System.ChangedDate] DESC"
# Show work item details
az boards work-item show --id <work-item-id>
# Create work item
az boards work-item create --title "Task title" --type "Task"
# Update work item state
az boards work-item update --id <id> --state "In Progress"
```
### Pipelines
```bash
# List pipelines
az pipelines list
# List recent runs
az pipelines runs list --top 10
# Run a pipeline
az pipelines run --name "pipeline-name"
# Ru