All skills
github avatar

/azure-devops-cli

@4e8726d official
by githubgithub/awesome-copilot40k stars
5,040

Manage Azure DevOps resources via CLI including projects, repos, pipelines, builds, pull requests, work items, artifacts, and service endpoints. Use when working with Azure DevOps, az commands, devops automation, CI/CD, or when user mentions Azure DevOps CLI.

Use this Skill: https://skilld.dev/gh/github/awesome-copilot/azure-devops-cli

This session only. Nothing lands on disk.

referencesvariables-and-agents.md

≈952 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Pipeline Variables, Variable Groups & Agents

Table of Contents


Pipeline Variables

List Variables

az pipelines variable list --pipeline-id {pipeline-id}

Create Variable

# Non-secret variable
az pipelines variable create \
  --name {var-name} \
  --value {var-value} \
  --pipeline-id {pipeline-id}

# Secret variable
az pipelines variable create \
  --name {var-name} \
  --secret true \
  --pipeline-id {pipeline-id}

# Secret with prompt
az pipelines variable create \
  --name {var-name} \
  --secret true \
  --prompt true \
  --pipeline-id {pipeline-id}

Update Variable

az pipelines variable update \
  --name {var-name} \
  --value {new-value} \
  --pipeline-id {pipeline-id}

# Update secret variable
az pipelines variable update \
  --name {var-name} \
  --secret true \
  --value "{new-secret-value}" \
  --pipeline-id {pipeline-id}

Delete Variable

az pipelines variable delete --name {var-name} --pipeline-id {pipeline-id} --yes

Variable Groups

List Variable Groups

az pipelines variable-group list
az pipelines variable-group list --output table

Show Variable Group

az pipelines variable-group show --id {group-id}

Create Variable Group

az pipelines variable-group create \
  --name {group-name} \
  --variables key1=value1 key2=value2 \
  --authorize true

Update Variable Group

az pipelines variable-group update \
  --id {group-id} \
  --name {new-name} \
  --description "Updated description"

Delete Variable Group

az pipelines variable-group delete --id {group-id} --yes

Variable Group Variables

# List variables
az pipelines variable-group variable list --group-id {group-id}

# Create non-secret variable
az pipelines variable-group variable create \
  --group-id {group-id} \
  --name {var-name} \
  --value {var-value}

# Create secret variable (will prompt for value if not provided)
az pipelines variable-group variable create \
  --group-id {group-id} \
  --name {var-name} \
  --secret true

# Create secret with environment variable
export AZURE_DEVOPS_EXT_PIPELINE_VAR_MySecret=secretvalue
az pipelines variable-group variable create \
  --group-id {group-id} \
  --name MySecret \
  --secret true

# Update variable
az pipelines variable-group variable update \
  --group-id {group-id} \
  --name {var-name} \
  --value {new-value} \
  --secret false

# Delete variable
az pipelines variable-group variable delete \
  --group-id {group-id} \
  --name {var-name}

Pipeline Folders

List Folders

az pipelines folder list

Create Folder

az pipelines folder create --path 'folder/subfolder' --description "My folder"

Delete Folder

az pipelines folder delete --path 'folder/subfolder'

Update Folder

az pipelines folder update --path 'old-folder' --new-path 'new-folder'

Agent Pools

List Agent Pools

az pipelines pool list
az pipelines pool list --pool-type automation
az pipelines pool list --pool-type deployment

Show Agent Pool

az pipelines pool show --pool-id {pool-id}

Agent Queues

List Agent Queues

az pipelines queue list
az pipelines queue list --pool-name {pool-name}

Show Agent Queue

az pipelines queue show --id {queue-id}

Agents

List Agents in Pool

az pipelines agent list --pool-id {pool-id}

Show Agent Details

az pipelines agent show --agent-id {agent-id} --pool-id {pool-id}

Source: SKILL.md on GitHub

1 alert14d5 checks · Risk SAFE
  • Gen Agent Trust Hub14d

    The skill provides a comprehensive collection of commands and automation patterns for managing Azure DevOps resources through the Azure CLI. It includes standard installation instructions from trusted vendor sources and best practices for handling long arguments and complex queries. The analysis identified the standard attack surface for indirect prompt injection associated with processing external work items and pull requests.

  • Socket14d

    1 alert: gptAnomaly

  • Snyk14d

    Risk: MEDIUM · 1 issue

  • Runlayer6mo

    2/8 files flagged

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 4e8726d. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 20 hours ago.

Activeupdated 3 months ago
  • azure-devops
  • azure-cli
  • devops-automation
  • ci-cd
  • pipelines
  • repos
  • work-items
  • azure-artifacts
  • bash

README badge

README badge for github/awesome-copilot/azure-devops-cli

Manages Azure DevOps resources via the Azure CLI including projects, repositories, pipelines, builds, pull requests, work items, and service endpoints. Use when automating Azure DevOps workflows, CI/CD configuration, or resource administration through the `az devops` and `az pipelines` command families.

Generated from the current SKILL.md.

Does this skill work with the legacy Azure DevOps URL format?
The skill supports both formats but recommends the modern https://dev.azure.com/{org} URL. Legacy https://{org}.visualstudio.com URLs should be replaced with the new format.
What authentication method does this skill use?
The skill uses PAT (Personal Access Token) authentication via the az devops login command. You provide your token when logging in to your organization.
Does this cover Azure Pipelines, Repos, Boards, and Artifacts?
Yes. The skill includes commands for managing pipelines, builds, releases, repositories, pull requests, work items, iterations, and universal packages across all four services.
Can I set default organization and project to avoid repeating them in commands?
Yes. Use az devops configure --defaults to set default organization and project, which will apply to subsequent commands unless explicitly overridden.
Does this skill include scripting patterns and automation examples?
Yes. The skill includes a workflows-and-patterns reference file covering automation scripts, best practices, error handling, and real-world examples for CI/CD automation.

Generated from the current SKILL.md. These answers refresh after source changes.