azure-devops-cli_skill

This skill helps you manage Azure DevOps resources via the Azure CLI extension, enabling streamlined project, pipeline, and repo administration.
  • JavaScript
  • Official

19.4k

GitHub Stars

1

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill github/awesome-copilot --skill azure-devops-cli

  • SKILL.md53.7 KB

Overview

This skill lets you manage Azure DevOps resources from the command line using the Azure CLI with the Azure DevOps extension. It focuses on projects, repos, pipelines, builds, pull requests, work items, artifacts, and service endpoints to streamline CI/CD and automation tasks. Use it to script, automate, and inspect Azure DevOps state from local shells or CI agents.

How this skill works

The skill maps common Azure DevOps operations to az CLI commands and sensible examples for listing, creating, updating, and deleting resources. It explains authentication (interactive or PAT), configuring defaults, and extension management so you can run commands consistently across environments. Commands and patterns cover pipelines, runs, builds, repos, PR workflows, variable groups, artifacts, and administrative tasks.

When to use it

  • Automating CI/CD pipelines from scripts or CI agents
  • Managing repositories and pull requests via scriptable commands
  • Creating, running, and inspecting pipeline runs and build artifacts
  • Managing work items and boards from automation or local CLI
  • Configuring service endpoints, variable groups, and secrets for deployments

Best practices

  • Always configure az devops defaults (organization and project) to avoid long command flags
  • Use az devops login with a scoped PAT for automation; rotate and store PATs securely
  • Prefer --output table for human review and JSON for scripting and parsing
  • Use --yes for idempotent automation but avoid in interactive destructive commands
  • Group related operations into scripts or pipeline tasks to ensure reproducibility

Example use cases

  • Create a new project and repository as part of onboarding automation
  • Import a GitHub repo and create an initial pipeline with az pipelines create
  • List and approve pull requests, add reviewers, and set auto-complete via az repos pr commands
  • Queue a pipeline run with variables and download artifacts for release packaging
  • Manage variable groups and secret variables for multi-environment deployments

FAQ

Use az devops login with a PAT stored in your CI secret store. Configure az devops --defaults for organization and project so commands run without extra flags.

Can I run GitHub-hosted pipelines with az pipelines?

Yes. Use az pipelines create with --repository-type github and the GitHub repo URL. Authenticate the pipeline creation using a connected GitHub service connection or appropriate credentials.

How do I inspect pipeline run artifacts programmatically?

Use az pipelines runs artifact list to discover artifacts, then az pipelines runs artifact download with --run-id and --artifact-name to retrieve files for downstream processing.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational
azure-devops-cli skill by github/awesome-copilot | VeilStrat