azure-devops-cli
БесплатноБез исполняемых скриптовНе проверенExpert guidance for Azure DevOps CLI (az devops) - automation, pipelines, repos, boards, and artifacts management. Use when working with Azure DevOps…
от rysweet★ 77 звёзд на GitHubОб этом скилле
Azure DevOps CLI Skill
Quick Start
Installation & Authentication
# Install Azure DevOps CLI extension
az extension add --name azure-devops
# Authenticate (choose one method)
az login # Interactive browser login
az devops login --organization https://dev.azure.com/YOUR_ORG # PAT token login
# Configure defaults (recommended)
az devops configure --defaults organization=https://dev.azure.com/YOUR_ORG project=YOUR_PROJECT
# Verify setup
az devops project list
Configuration Patterns
# Set defaults to avoid repeating --organization and --project
az devops configure --defaults organization=https://dev.azure.com/myorg project=myproject
# List current configuration
az devops configure --list
# Use Git aliases for common commands
az devops configure --defaults use-git-aliases=true
# Common output formats
--output table # Human-readable tables (default)
--output json # JSON for scripting
--output tsv # Tab-separated values
Essential Commands by Group
1. DevOps (Organization & Projects)
# List projects
az devops project list --organization https://dev.azure.com/myorg
# Create project
az devops project create --name "MyProject" --visibility private
# Show project details
az devops project show --project MyProject
# Delete project
az devops project delete --id PROJECT_ID --yes
# Manage users/teams
az devops user list
az devops team list --project MyProject
2. Pipelines (Build & Release)
# List pipelines
az pipelines list --project MyProject
# Run a pipeline
az pipelines run --name "MyPipeline" --branch main
# Show pipeline runs
az pipelines runs list --pipeline-ids 123
# Show run details
az pipelines runs show --id RUN_ID
# Create pipeline from YAML
az pipelines create --name "NewPipeline" --repository myrepo --branch main --yml-path azure-pipelines.yml
3. Boards (Work Items & Sprints)
# List work items
az boards query --wiql "SELECT [System.Id], [System.Title] FROM WorkItems WHERE [System.State] = 'Active'"
# Create work item
az boards work-item create --type "User Story" --title "New Feature" --assigned-to [email protected]
# Update work item
az boards work-item update --id 123 --state "In Progress"
# Show work item
az boards work-item show --id 123
# List iterations/sprints
az boards iteration project list
4. Repos (Git Repositories)
# List repositories
az repos list --project MyProject
# Create repository
az repos create --name "myrepo" --project MyProject
# List pull requests
az repos pr list --repository myrepo --status active
# Create pull request
az repos pr create --repository myrepo --source-branch feature/new --target-branch main --title "New Feature"
# Show PR details
az repos pr show --id PR_ID
5. Artifacts (Package Management)
# List feeds
az artifacts feed list
# Create feed
az artifacts feed create --name "myfeed" --project MyProject
# List packages
az artifacts universal list --feed myfeed --project MyProject
# Publish package
az artifacts universal publish --feed myfeed --name mypackage --version 1.0.0 --path ./dist
# Download package
az artifacts universal download --feed myfeed --name mypackage --version 1.0.0 --path ./download
Common Workflows
Workflow 1: CI/CD Pipeline Automation
# Create pipeline, run it, and monitor
az pipelines create --name "API-Build" --repository myrepo --yml-path ci/azure-pipelines.yml
az pipelines run --name "API-Build" --branch main
az pipelines runs show --id RUN_ID --open # Opens in browser
Workflow 2: Pull Request Review Automation
# List active PRs, show details, add comment
az repos pr list --repository myrepo --status active --output table
az repos pr show --id 456 --open
az repos pr update --id 456 --status approved
Workflow 3: Work Item Batch Creation
# Create multiple work items from template
for title in "Feature A" "Feature B" "Feature C"; do
az boards work-item create --type "User Story" --title "$title" --assigned-to [email protected]
done
Workflow 4: Pipeline Status Dashboard
# Get recent pipeline runs with status
az pipelines runs list --top 10 --query "[].{Name:pipeline.name, Status:status, Result:result, Started:startTime}" --output table
Workflow 5: Repository Clone Automation
# List all repos and clone them
az repos list --query "[].{Name:name, URL:remoteUrl}" --output tsv | while IFS=$'\t' read -r name url; do
git clone "$url" "./$name"
done
Workflow 6: Sprint Planning Helper
# List current sprint work items
az boards query --wiql "SELECT [System.Id], [System.Title], [System.State] FROM WorkItems WHERE [System.IterationPath] = @CurrentIteration" --output table
Workflow 7: Release Gate Checking
# Check if all PRs are approved before release
PENDING=$(az repos pr list --status active --query "length([?status!='approved'])")
i
Установить azure-devops-cli в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл azure-devops-cli?
Expert guidance for Azure DevOps CLI (az devops) - automation, pipelines, repos, boards, and artifacts management. Use when working with Azure DevOps, managing pipelines, creating work items, or when user mentions ADO, builds, releases, or Azure repos.
Как установить скилл azure-devops-cli?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл azure-devops-cli запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub